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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x501f8c
sub esp, 0x108
mov eax, dword [esp + 0x10c]
test byte [eax], al
movzx ecx, byte [eax + 0x104b]
test cl, cl
je 0x501f24
movzx ecx, byte [eax + 0x104c]
test cl, cl
je 0x501c16
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x64], edx
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x60], ebx
mov ebp, dword [ecx + 0x38]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.004c0550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x10c]
mov edx, dword [ecx + 0x102c]
mov dword [esp], eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
call fcn.004fe1e0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x10c]
mov edi, edx
xor edx, edx
mov dword [esp + 0x44], edx
mov edx, edi
jmp 0x501b76
inc edx
neg edx
mov byte [ebp + ebx], dl
add ebx, 4
mov edx, dword [esp + 0x34]
lea ebp, [edx + 1]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x60]
cmp ebp, ecx
jge 0x501b58
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebx
mov ebx, dword [esi + 0x1034]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esi + 0x1030]
sub edx, edi
imul edx, dword [esi + 0x103c]
mov edi, dword [esp + 0x64]
sub ebp, edi
add edx, ebp
mov ebp, dword [esp + 0x5c]
cmp ebp, edx
jbe 0x501f82
mov ebp, dword [esp + 0x78]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp]
movzx edx, byte [edx + ebx]
mov ebx, dword [esp + 0x4c]
cmp edi, ebx
ja 0x501ae3
jmp 0x501f79
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [esp + 0x44]
add ebx, ebp
inc edx
mov ebp, dword [esp + 0x78]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x78]
cmp edx, eax
jge 0x501b8a
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x44]
add ebx, 3
jmp 0x501b04
lea eax, [0x64c720]
mov dword [esp], eax
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x501c09
mov dword [edi], ecx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ebx
lea eax, [0x6ca670]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x108
ret
mov edx, eax
mov eax, ecx
call fcn.0045ace0
mov eax, edx
jmp 0x501bba
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x64], edx
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x60], ebx
mov ebp, dword [ecx + 0x38]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.004c1e10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045af80
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 0x102c]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 0x102c]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 0x102c]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 0x1030]
mov edx, dword [eax + 0x1034]
mov ebx, dword [eax + 0x1038]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov ecx, dword [eax + 0x103c]
mov dword [esp + 0xc4], ecx
lea edi, [esp + 0xc8]
lea esi, [esp + 0x88]
call fcn.0045b400
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
xor esi, esi
lea edi, [esp + 0xc8]
jmp 0x501e74
inc edx
neg edx
mov byte [ebx + esi], dl
add esi, 4
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x30], edx
movzx edx, byte [esp + 0x27]
mov edi, dword [esp + 0x30]
cmp ebp, edi
jle 0x501deb
mov ebp, dword [esp + 0x64]
sub edi, ebp
test dl, dl
je 0x501de7
mov dword [esp + 0x40], edi
shr edi, 0x1f
mov edx, dword [esp + 0x40]
add edx, edi
sar edx, 1
mov edi, dword [esp + 0x54]
imul ebx, edi
add edx, ebx
mov ebx, dword [esp + 0x58]
cmp edx, ebx
jae 0x501f64
mov ebx, dword [esp + 0x7c]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x80]
movzx edx, byte [edx + ebp]
cmp esi, edi
jb 0x501d69
jmp 0x501f5b
mov edx, edi
jmp 0x501db5
mov ebx, dword [esp + 0x7c]
mov esi, dword [ebx + 0xc]
mov edi, dword [esp + 0x48]
add esi, edi
mov edi, dword [esp + 0x2c]
inc edi
mov ebx, edi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x80]
cmp ecx, ebx
jle 0x501e4e
mov dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x60]
sub ebx, edi
test dl, dl
je 0x501e2f
mov dword [esp + 0x3c], ebx
shr ebx, 0x1f
mov edi, dword [esp + 0x3c]
add ebx, edi
sar ebx, 1
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x48]
add esi, edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
jmp 0x501d94
lea edx, [esi + 1]
cmp edx, 4
jge 0x501eda
mov ebx, dword [esp + 0x84]
lea edi, [ebx + 0x10]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ebp, esi
mov esi, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x84], edi
mov edx, dword [edi + 4]
mov dword [esp + 0x58], edx
mov edx, dword [edi]
mov edi, dword [edi + 0xc]
cmp esi, 4
jae 0x501f6d
mov dword [esp + 0x54], edi
mov dword [esp + 0x80], edx
lea edx, [esi + esi*2]
lea edi, [eax + edx*4 + 0x1050]
mov ebp, dword [eax + 0x1050]
cmp dword [edi], ebp
je 0x501f0f
mov edx, 1
mov dword [esp + 0x38], esi
mov byte [esp + 0x27], dl
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
jmp 0x501e0e
lea eax, [0x6ca670]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x108
ret
lea ebp, [eax + edx*4 + 0x1054]
mov edi, dword [eax + 0x1054]
cmp dword [ebp], edi
setne dl
jmp 0x501eb4
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea eax, [0x6c8ab0]
mov dword [esp + 0x118], eax
lea eax, [0x6c4de8]
mov dword [esp + 0x11c], eax
add esp, 0x108
ret
mov eax, esi
mov ecx, edi
call fcn.0045ad60
mov eax, edx
mov ecx, ebx
call fcn.0045ad60
mov eax, esi
mov ecx, 4
call fcn.0045ad60
mov eax, ebx
mov ecx, edi
call fcn.0045ad60
mov eax, edx
mov ecx, ebp
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.005019f0