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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5208dd
sub esp, 0xac
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004de4d0
mov eax, dword [esp + 8]
test eax, eax
jg 0x52087a
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x52085f
xor ecx, ecx
test ecx, ecx
je 0x520833
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x520505
mov ecx, dword [esp + 0xbc]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x48], edx
mov esi, dword [eax + 0x18]
test esi, esi
je 0x5204c3
lea eax, [0x653340]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
test ebx, ebx
jbe 0x5208d3
mov ecx, dword [ebp]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004de7c0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
cmp ebx, 1
jbe 0x5208c7
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004de7c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004ddd00
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5204a8
xor ecx, ecx
test ecx, ecx
jge 0x520260
mov edx, dword [esp + 0xb8]
mov ecx, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
test ecx, ecx
jbe 0x5208c0
mov ecx, dword [ebx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ddac0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004ddf40
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
test ecx, ecx
jbe 0x5208b9
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004de2c0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, 1
jbe 0x5208af
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004ddf40
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.004ddac0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
test ecx, ecx
jle 0x520409
mov dword [esp + 0x24], ecx
xor ebx, ebx
jmp 0x52031b
mov ebp, dword [esp + 0x54]
lea edx, [ebp + 0xc]
mov ebx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x54], edx
mov ebp, dword [edx + 4]
mov dword [esp + 0x50], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x4c], esi
mov edi, dword [edx]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
lea ebp, [ebx + 2]
cmp edx, ebp
jbe 0x5208a6
mov dword [esp + 0x20], ebx
mov eax, dword [esi + ebx*4 + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.004de7c0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.004ddd00
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
call fcn.004ddf40
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.004de2c0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x52048d
xor ecx, ecx
test ecx, ecx
jl 0x520470
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
call fcn.004ddf40
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.004ddac0
mov eax, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x52030b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x520439
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc8], eax
add esp, 0xac
ret
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ddf40
mov eax, dword [esp + 0xb8]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004de2c0
mov eax, dword [esp + 0x50]
jmp 0x520415
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.004ddac0
mov eax, dword [esp + 0x38]
jmp 0x5203cc
movzx ecx, byte [eax]
test cl, cl
je 0x52049e
mov ecx, 0xffffffff
jmp 0x5203c4
mov ecx, 1
jmp 0x5203c4
movzx edx, byte [eax]
test dl, dl
je 0x5204b9
mov ecx, 0xffffffff
jmp 0x520235
mov ecx, 1
jmp 0x520235
lea eax, [0x653340]
mov dword [esp], eax
call fcn.0040c800
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004de7c0
mov eax, dword [esp + 0x10]
jmp 0x52040d
mov dword [esp], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.004f6a90
mov byte [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0051c280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x520813
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x28], eax
mov dword [esp], ecx
mov eax, dword [0x7cc09c]
mov dword [esp + 4], eax
call fcn.004de4d0
mov eax, dword [esp + 8]
test eax, eax
jne 0x52080a
mov eax, dword [0x7cc098]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx]
lea ebx, [esp + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004e0450
mov eax, dword [esp + 0xc]
test eax, eax
je 0x520541
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 4]
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea edx, [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
call fcn.004dd910
mov eax, dword [esp + 0xc]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx]
lea ebx, [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004de7c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
cmp ecx, edx
je 0x520713
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
test ebx, ebx
jg 0x52076e
mov esi, ebx
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ebx, esi
cmp esi, ebx
jge 0x520767
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
cmp edi, ebp
je 0x5206ed
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045d2c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xbc]
movzx eax, byte [eax]
mov byte [esp + 0x6c], al
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004ddf40
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004de2c0
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x9c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x58]
jmp 0x520142
mov esi, ebx
jmp 0x5206ce
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebx
cmp ebx, 1
jne 0x5207cb
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00444130
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebx, 1
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
jmp 0x5206c6
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
call fcn.00444130
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x6c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebx, esi
jmp 0x5206c6
mov eax, dword [esp + 0x40]
jmp 0x5205ac
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
add esp, 0xac
ret
mov eax, dword [0x7ccc48]
mov ecx, dword [0x7ccc4c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xac
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x520870
mov ecx, 0xffffffff
jmp 0x52011e
mov ecx, 1
jmp 0x52011e
mov eax, dword [0x7ccc48]
mov ecx, dword [0x7ccc4c]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xac
ret
mov eax, ebp
mov ecx, edx
call fcn.0045c9a0
mov eax, 1
call fcn.0045c9a0
xor eax, eax
call fcn.0045c9a0
xor eax, eax
call fcn.0045c9a0
mov eax, 1
mov ecx, ebx
call fcn.0045c9a0
xor eax, eax
mov ecx, ebx
call fcn.0045c9a0
nop
call fcn.0045b380
jmp fcn.005200c0