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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x520470
sub esp, 0xa4
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [esp + 0xb0]
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5200cb
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x52009a
mov edx, dword [ecx + 8]
test edx, edx
je 0x52009a
mov byte [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea edx, [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00521e20
mov eax, dword [esp + 0xc]
test eax, eax
je 0x520088
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xb0]
jmp 0x5200cb
mov dword [esp + 0xb8], 0
add esp, 0xa4
ret
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.0051f0d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb8], eax
add esp, 0xa4
ret
mov esi, dword [ebp + 8]
mov dword [esp + 0x48], esi
mov edi, dword [ebp + 4]
mov dword [esp + 0x70], edi
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x52030f
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edx
mov ebp, dword [esp + 0xa8]
cmp eax, ebp
je 0x52013e
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 4]
test esi, esi
je 0x5202e2
test ebx, ebx
je 0x5202e2
lea esi, [edi + esi*4 - 4]
lea edx, [edx + ebx*4 - 4]
cmp edx, esi
jne 0x5202e2
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x70]
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea esi, [esp + 0x84]
cmp eax, esi
je 0x5202d9
mov dword [esp + 0x74], ecx
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
test esi, esi
jg 0x5201a3
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
jmp 0x52026b
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], edi
cmp esi, 1
jne 0x520214
lea eax, [0x68d1c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b3e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x78]
mov ecx, 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], eax
mov edx, 1
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
jmp 0x52026b
lea eax, [0x68d1c0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.0044b3e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x44], esi
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x44]
cmp ebx, esi
jg 0x520275
mov esi, ebx
mov edx, dword [esp + 0x6c]
cmp edx, edi
je 0x5202aa
mov dword [esp], edx
mov dword [esp + 4], edi
shl esi, 2
mov dword [esp + 8], esi
call fcn.00463840
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], edx
movzx eax, byte [eax]
mov byte [esp + 0x84], al
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x84]
jmp 0x5202ee
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x48]
mov eax, edi
mov edi, dword [esp + 0x70]
jmp 0x52031f
xor eax, eax
xor eax, eax
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x2c], ebx
call fcn.005269f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
lea edi, [ebx + 4]
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5203a6
mov dword [ebx + 4], ecx
jmp 0x5203b1
mov edx, eax
mov eax, ecx
call fcn.00462ed0
mov eax, edx
test eax, eax
je 0x5203db
mov eax, dword [esp + 0xac]
movzx eax, byte [eax]
test al, al
je 0x5203db
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5203db
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
test eax, 1
setne al
jmp 0x5203dd
xor eax, eax
mov byte [ebx], al
test al, al
je 0x520462
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x520462
mov dword [esp + 0x80], edi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x7c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
call fcn.005235e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x91eb10]
test ecx, ecx
jne 0x520453
mov dword [ebx + 4], eax
jmp 0x52045f
mov edi, dword [esp + 0x80]
call fcn.00462ed0
mov byte [ebx], 0
mov dword [esp + 0xb8], ebx
add esp, 0xa4
ret
call fcn.00461ac0
jmp fcn.0051ffd0