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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x51f437
sub esp, 0xd0
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
call fcn.005195c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
jmp 0x51ec8e
mov ebp, dword [esp + 0x5c]
lea edx, [ebp + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
cmp edx, ebp
jge 0x51ecc0
mov dword [esp + 0x5c], edx
mov eax, dword [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00520900
movzx eax, byte [esp + 8]
test al, al
je 0x51ebd3
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
inc esi
mov edi, dword [esp + 0x2c]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xe8]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jge 0x51ee8f
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + eax*4]
mov ebp, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp edx, ebp
jae 0x51f430
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0xa0], ecx
xor edx, edx
jmp 0x51ebf7
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.0051dd80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x51ed0b
mov edx, dword [esp + 0xbc]
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
jmp 0x51ec3c
mov dword [esp + 0xb4], eax
mov dword [esp + 0x58], ecx
lea eax, [0x60fe20]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00437b80
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
lea ebx, [0x60fe20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x18], edi
call fcn.0040ef20
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jae 0x51f429
mov edx, dword [0x7db370]
mov ebx, dword [esp + 0x8c]
lea edi, [ebx + eax*4]
test edx, edx
jne 0x51ee7a
mov edx, dword [esp + 0xa0]
mov dword [ebx + eax*4], edx
mov edx, dword [esp + 0x68]
lea ebp, [edx + 1]
mov esi, dword [esp + 0x64]
cmp ebp, esi
jg 0x51ee2b
mov edi, dword [esp + 0xbc]
lea edx, [edx + edx*2]
mov dword [edi + edx*4 + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + edx*4 + 8], ecx
lea ecx, [edi + edx*4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x51ee13
mov dword [edi + edx*4], ebx
mov eax, ebp
mov ecx, esi
mov edx, edi
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x58]
jmp 0x51ec3c
mov ecx, edi
mov edi, dword [esp + 0xb0]
mov edx, eax
mov eax, ebx
call fcn.0044b680
mov eax, edx
mov edi, ecx
jmp 0x51edfd
lea eax, [0x5d0120]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00437c50
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x8c]
jmp 0x51edd7
mov edx, eax
mov eax, dword [esp + 0xa0]
call fcn.0044b680
mov eax, edx
jmp 0x51edc1
mov eax, dword [esi + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
call fcn.005195c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x84], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xac], ebp
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
jmp 0x51efb6
mov eax, dword [esp + 0x5c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
cmp ebx, ebp
jge 0x51efeb
mov dword [esp + 0x5c], ebx
mov eax, dword [edi + ebx*4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00520900
movzx eax, byte [esp + 8]
test al, al
je 0x51eef7
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
inc esi
mov edi, dword [esp + 0x30]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0xe8]
mov eax, dword [esp + 0x6c]
cmp eax, edx
jge 0x51f30e
mov ecx, dword [esi + 8]
mov ebp, dword [ebx + eax*4]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp ebp, ebx
jae 0x51f422
mov dword [esp + 0x44], ebp
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x9c], ecx
xor ebx, ebx
jmp 0x51ef1f
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
call fcn.0051dd80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x51f036
mov edx, dword [esp + 0xbc]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x51ef64
mov dword [esp + 0x54], eax
mov dword [esp + 0xa8], ecx
lea eax, [0x5e0e20]
mov dword [esp], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.0040c780
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x51f17a
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x60], ebp
mov esi, dword [esp + 0x68]
lea edi, [esi + ebx]
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x64]
cmp edi, ecx
ja 0x51f117
cmp edi, ecx
ja 0x51f414
cmp esi, edi
ja 0x51f414
mov dword [esp + 0x68], ecx
lea ebp, [esi + esi*2]
sub ecx, esi
mov esi, ecx
neg ecx
shl ebp, 2
sar ecx, 0x1f
and ebp, ecx
mov ecx, dword [esp + 0xbc]
add ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea ebp, [0x5d0120]
mov dword [esp], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.0040ef20
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
jmp 0x51ef64
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xa4], eax
lea eax, [0x5d0120]
mov dword [esp], eax
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
call fcn.00437c50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xa4]
jmp 0x51f0a4
lea eax, [0x60fe20]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
lea edx, [ecx + 1]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00437b80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x88], edx
lea ebx, [0x60fe20]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x18], edi
call fcn.0040ef20
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jae 0x51f41b
mov edx, dword [0x7db370]
mov ebx, dword [esp + 0x88]
lea edi, [ebx + eax*4]
test edx, edx
jne 0x51f2fb
mov edx, dword [esp + 0x9c]
mov dword [ebx + eax*4], edx
mov dword [esp], edx
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x14], ecx
call fcn.0051eb20
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xb8], ebp
lea esi, [0x5e0e20]
mov dword [esp], esi
mov edi, dword [esp + 0xd8]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 8], edi
call fcn.0040c8e0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x50]
mov dword [edi + 8], ecx
mov edx, dword [0x7db370]
test edx, edx
jne 0x51f2e2
mov edx, dword [esp + 0x98]
mov dword [edi], edx
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
jmp 0x51f086
mov edx, eax
mov eax, dword [esp + 0x98]
call fcn.0044b680
mov eax, edx
mov edx, dword [esp + 0x98]
jmp 0x51f2c7
mov eax, dword [esp + 0x9c]
call fcn.0044b680
mov edx, eax
jmp 0x51f225
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x51f404
mov edx, 0
mov ebx, 0
jne 0x51f32a
test ebx, ebx
je 0x51f35f
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], edx
add esp, 0xd0
ret
mov edx, dword [esp + 0x48]
test edx, edx
je 0x51f3f2
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ecx
lea eax, [0x65f9d0]
mov dword [esp], eax
lea eax, [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.00407420
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
jmp 0x51f32a
mov ecx, ebp
mov ebx, dword [esp + 0xb4]
mov edx, dword [esp + 0x58]
jmp 0x51f379
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x60]
jmp 0x51f324
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.0051eb20