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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x51e194
sub esp, 0xb8
mov eax, 0
mov dword [esp + 0xb4], eax
mov byte [esp + 0x33], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x527950]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x4c], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0046e100
nop
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
lea ecx, [esp + 0x33]
mov dword [esp + 4], ecx
call fcn.00405f60
movzx eax, byte [esp + 8]
test al, al
je 0x51e181
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [0x51e1a0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x33], 1
call fcn.0048c430
lea edi, [esp + 0x50]
lea esi, [esp]
call fcn.00464b3e
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.00464b3e
mov dword [esp + 0x18], 0xfffffffe
mov dword [esp + 0x14], 0xd5fa0e00
call fcn.0048b990
lea edi, [esp + 0xa0]
lea esi, [esp + 0x1c]
call fcn.00464b3e
mov eax, dword [esp + 0xbc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
lea edi, [esp + 0x8c]
call fcn.00464b3e
lea edi, [esp]
lea esi, [esp + 0x8c]
call fcn.00464b3e
lea edi, [esp + 0x14]
lea esi, [esp + 0xa0]
call fcn.00464b3e
call fcn.0048a660
movzx eax, byte [esp + 0x28]
test al, al
jne 0x51e16a
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51e02b
mov edi, dword [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.00464b3e
jmp 0x51e049
lea eax, [0x7b0ba0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00411480
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046465b
lea ecx, [0x7bde03]
mov dword [esp], ecx
mov dword [esp + 4], 0x12
call fcn.004a4590
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x51e08f
mov eax, dword [edx + 0x14]
mov dword [esp], ebx
call eax
lea edi, [esp + 0x64]
lea esi, [esp + 4]
call fcn.00464b3e
mov eax, dword [esp + 0xbc]
mov esi, dword [eax + 0x2c]
test byte [esi], al
lea edi, [esp + 0x78]
call fcn.00464b3e
lea edi, [esp]
lea esi, [esp + 0x64]
call fcn.00464b3e
lea edi, [esp + 0x14]
lea esi, [esp + 0x78]
call fcn.00464b3e
call fcn.0048a8a0
movzx eax, byte [esp + 0x28]
test al, al
jne 0x51e153
lea eax, [0x7bde03]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0051e220
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xbc]
lea edx, [ecx + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp], edx
call fcn.0046dc50
mov eax, dword [0xaab020]
test eax, eax
jne 0x51e11d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xbc]
mov dword [ecx + 0x2c], eax
jmp 0x51e130
mov ecx, dword [esp + 0xbc]
lea edi, [ecx + 0x2c]
mov eax, dword [esp + 0x34]
call fcn.004643b0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0046dfd0
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xb4]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
add esp, 0xb8
ret
call fcn.00462fa0
jmp fcn.0051dec0