Function at 0x51bc90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51bf31
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x660f94]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x60f355]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.00514a50
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
jmp 0x51bde1
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x660f94]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x60f355]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.00514a50
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x40]
cmp ebp, 2
jge 0x51bf2a
test esi, esi
je 0x51be09
mov ebp, dword [esi + 0xc]
test ebp, ebp
jne 0x51bf23
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0051bf40
movzx eax, byte [esp + 0xc]
test al, al
je 0x51bec6
mov eax, 1
test al, al
je 0x51be4c
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x51bd45
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0050dc10
jmp 0x51bd45
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x51beae
lea eax, [0x5e4820]
mov dword [esp], eax
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov dword [esp + 0x58], edi
mov eax, dword [0x7a0970]
test eax, eax
jne 0x51bea3
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.0051c2b0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x50]
call fcn.0045de10
jmp 0x51be7a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
lea eax, [0x65ea28]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x51bf19
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
lea esi, [0x65eb90]
cmp esi, ebp
jne 0x51beee
mov ebp, dword [edx + 8]
mov edx, dword [edx + 0xc]
test ebp, ebp
je 0x51bf11
lea edi, [0x5f4e00]
cmp dword [ebp + 4], edi
jne 0x51bf0d
cmp dword [edx], 0x20000003
sete dl
mov eax, edx
jmp 0x51be2b
xor edx, edx
jmp 0x51bf06
lea edi, [0x5f4e00]
jmp 0x51bf0d
mov ebx, dword [esp + 0x54]
mov edx, ebx
mov ebp, ecx
jmp 0x51bede
xor eax, eax
jmp 0x51be2b
xor eax, eax
jmp 0x51be2b
call fcn.0045c8b0
jmp fcn.0051bc90