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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x48]
cmp eax, dword [ecx + 8]
jbe 0x52c117
sub esp, 0xc8
mov eax, dword [esp + 0x128]
test eax, eax
je 0x52b58f
mov ecx, dword [eax]
jmp 0x52b591
xor ecx, ecx
mov dword [esp + 0x4c], ecx
lea eax, [0x5f0dc0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
lea edi, [esp + 0x98]
xor eax, eax
call fcn.00463a84
lea eax, [0x5f2460]
mov dword [esp], eax
mov ecx, dword [esp + 0x128]
mov dword [esp + 4], ecx
lea edx, [esp + 0x98]
mov dword [esp + 8], edx
call fcn.0040da30
jmp 0x52b613
lea eax, [esp + 0x98]
mov dword [esp], eax
call fcn.0040dc60
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x52b7ff
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x78], ecx
mov ebx, dword [esp + 0xfc]
mov dword [esp + 0x4c], ebx
xor ebp, ebp
jmp 0x52c0cc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
jl 0x52b604
mov ecx, dword [0x7b73d0]
lea ebx, [0x7b73d0]
cmp dword [ebx + 4], edx
jne 0x52b69c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b604
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b73d0]
mov ecx, dword [0x7b7408]
lea ebp, [0x7b7408]
cmp dword [ebp + 4], edx
jne 0x52b6de
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b604
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b73d0]
lea ebp, [0x7b7408]
mov ecx, dword [0x7b73f8]
lea esi, [0x7b73f8]
cmp dword [esi + 4], edx
jne 0x52b726
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b604
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b73d0]
lea ebp, [0x7b7408]
lea esi, [0x7b73f8]
mov ecx, dword [0x7b73a0]
lea esi, [0x7b73a0]
cmp dword [esi + 4], edx
jne 0x52b76e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b604
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b73d0]
lea ebp, [0x7b7408]
lea esi, [0x7b73a0]
mov ecx, dword [esp + 0x90]
inc ecx
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x94]
cmp ebp, ecx
jae 0x52b7d2
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b73d0]
mov dword [esp + 0x90], ecx
lea ebp, [esi + ecx*8 - 4]
mov dword [ebp], edx
lea edi, [esi + ecx*8 - 8]
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x52b7f5
mov dword [edi], eax
jmp 0x52b604
call fcn.00463860
jmp 0x52b604
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409770
mov eax, dword [esp + 0xc]
lea ecx, [0x675340]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00490210
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x52b863
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x52b863
mov dword [esp], eax
mov byte [esp + 4], 0x20
call fcn.004a68b0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x52c130]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], ecx
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00490050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
cmp ecx, eax
jle 0x52b905
jbe 0x52c0c4
lea edx, [edx + eax*8]
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov ebp, dword [0x7b73a8]
cmp dword [0x7b73ac], ebx
je 0x52b8e4
xor ecx, ecx
jmp 0x52b907
mov dword [esp + 0x44], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x44]
jmp 0x52b907
xor ecx, ecx
test cl, cl
je 0x52ba81
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jbe 0x52c0bf
lea ecx, [edx + eax*8 + 4]
mov dword [ecx], 0
lea edi, [edx + eax*8]
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x52b944
mov dword [edi], 0
jmp 0x52b94b
xor eax, eax
call fcn.00463860
lea eax, [0x5ed040]
mov dword [esp], eax
call fcn.0040bdb0
mov edi, dword [esp + 4]
mov eax, dword [0x7b73a8]
mov ecx, dword [0x7b73ac]
mov dword [edi + 4], ecx
mov ecx, dword [0x7e34c0]
test ecx, ecx
jne 0x52b97a
mov dword [edi], eax
jmp 0x52b97f
call fcn.00463860
mov eax, dword [esp + 0x90]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x52b995
mov edx, 1
jmp 0x52b9cd
mov dword [esp + 0x4c], eax
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
lea ecx, [0x5f0dc0]
mov dword [esp + 0x10], ecx
call fcn.0044a320
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x78], edi
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
lea esi, [0x5f0dc0]
mov dword [esp], esi
sub eax, ebx
sub edx, eax
dec edx
neg edx
lea esi, [eax + 1]
shl esi, 3
sar edx, 0x1f
and esi, edx
lea edx, [edi + esi]
mov dword [esp + 4], edx
sub ecx, eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004109e0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x94], ecx
lea ecx, [0x5f0dc0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x28]
xor ebp, ebp
xor esi, esi
jmp 0x52c009
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x4c], ecx
xor edx, edx
jmp 0x52baa6
lea edx, [ecx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
jge 0x52be68
mov dword [esp + 0x30], edx
lea ebx, [eax + edx*8]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x34], ebp
mov ebx, dword [ebx]
mov dword [esp + 0x5c], ebx
mov esi, dword [0x7b73a8]
lea edi, [0x7b73a8]
cmp dword [edi + 4], ebp
jne 0x52bb5e
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
je 0x52bb44
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x52bb0f
movzx eax, byte [esp + 0xd4]
mov byte [esp], al
call fcn.0052d3e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x120]
test ecx, ecx
jne 0x52bb36
mov dword [esp + 0x58], eax
movzx eax, byte [esp + 0xd4]
mov byte [esp], al
call fcn.0052d500
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
mov esi, eax
mov edi, ecx
jmp 0x52bba8
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
lea edi, [0x7b73a8]
mov esi, dword [esp + 0x114]
test esi, esi
jne 0x52bb97
movzx eax, byte [esp + 0xd4]
mov byte [esp], al
call fcn.0052d240
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
lea edi, [0x7b73a8]
mov edi, dword [esp + 0x118]
test edi, edi
jne 0x52bba8
lea edi, [0x6343d8]
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], edi
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.004096f0
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
lea ebx, [0x5f0dc0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a63a0
lea eax, [0x5f2460]
mov dword [esp], eax
mov ecx, dword [esp + 0x128]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.0040f7c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x52bcc5
mov ebx, dword [ecx + 8]
cmp ebx, 0x778cdb8
jne 0x52bc5f
lea ebx, [0x5f0dc0]
cmp ecx, ebx
jne 0x52bc57
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax]
mov dword [esp + 0x68], edx
xor eax, eax
jmp 0x52be71
lea ebx, [0x5fdc40]
jmp 0x52bcc5
cmp ebx, 0x42d28209
jne 0x52bcbf
lea ebx, [0x5fdc40]
cmp ecx, ebx
jne 0x52bcc5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004096f0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
lea ebx, [0x5fdc40]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a63a0
jmp 0x52be37
lea ebx, [0x5fdc40]
mov edx, dword [0x7b6f78]
mov ebx, dword [edx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test ebp, ebp
je 0x52bda1
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
movzx eax, byte [esp + 0xd4]
lea ecx, [0x5f0dc0]
mov dword [esp], ecx
lea edx, [0x674338]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov byte [esp + 0xc], al
call fcn.0052c460
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
test edx, edx
je 0x52bd52
mov esi, dword [edx + 4]
jmp 0x52bd54
mov esi, edx
mov dword [esp + 0x7c], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], edx
lea edx, [0x674914]
mov dword [esp], edx
mov ebx, dword [esp + 0x12c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004ce0c0
jmp 0x52be37
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00409770
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
lea ebx, [0x5eab60]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004096f0
mov eax, dword [esp + 8]
lea ecx, [0x5f0dc0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x674914]
mov dword [esp], eax
mov edx, dword [esp + 0x12c]
mov dword [esp + 4], edx
lea ebx, [esp + 0x7c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ce240
mov eax, dword [esp + 0x90]
dec eax
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jge 0x52ba9b
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov byte [esp + 4], 0x20
call fcn.004a68b0
mov ecx, dword [esp + 0x30]
jmp 0x52ba9b
add esp, 0xc8
ret
mov eax, ebp
cmp eax, ecx
jge 0x52bfb4
movzx ebp, byte [edx + eax]
cmp ebp, 0x80
jge 0x52be8c
lea ebp, [eax + 1]
cmp eax, ecx
jmp 0x52beb8
mov dword [esp + 0x2c], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045c3a0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
mov edx, dword [esp + 0x68]
lea ebx, [0x5f0dc0]
jae 0x52bffd
movzx esi, byte [edx + eax]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
jb 0x52bee5
xchg esi, eax
cmp al, 0x7e
xchg esi, eax
ja 0x52bee5
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x52bee5
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
je 0x52bee5
xchg esi, eax
cmp al, 0x22
xchg esi, eax
jne 0x52be6f
lea eax, [0x5f0f80]
mov dword [esp], eax
mov dword [esp + 4], 0
lea edx, [ecx + ecx*2]
mov ebx, edx
shr edx, 0x1f
add edx, ebx
sar edx, 1
mov dword [esp + 0x48], edx
mov dword [esp + 8], edx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], 0x22
mov byte [esp + 0x16], 0
call fcn.004b7e50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044dff0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004096f0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
lea ebx, [0x5f0dc0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a63a0
jmp 0x52be37
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004096f0
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
lea ebx, [0x5f0dc0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a63a0
jmp 0x52be37
call fcn.004638e0
inc ebp
mov edx, dword [esp + 0x4c]
mov ecx, edi
cmp ebp, edx
jge 0x52c0a5
mov edi, ecx
lea ecx, [ecx + ebp*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x52c002
mov dword [esp + 0x48], ebp
inc esi
cmp ebx, esi
jae 0x52c06e
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f0dc0]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
lea ebp, [eax + esi*8 - 4]
mov dword [ebp], edx
lea edx, [eax + esi*8 - 8]
mov ebp, dword [0x7e34c0]
test ebp, ebp
jne 0x52c087
mov dword [edx], ecx
jmp 0x52c09c
mov dword [esp + 0x50], eax
mov ebp, edi
mov edi, edx
mov eax, ecx
call fcn.00463860
mov eax, dword [esp + 0x50]
mov edi, ebp
mov ebp, dword [esp + 0x48]
jmp 0x52c002
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
jmp 0x52ba81
call fcn.004638e0
call fcn.004638e0
inc ebp
mov ecx, edi
cmp ebp, ebx
jge 0x52b65e
lea esi, [ecx + ebp*8]
mov edi, ecx
mov ecx, dword [esi]
cmp dword [esi + 4], edx
jne 0x52c0c9
mov dword [esp + 0x48], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52b64c
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
jmp 0x52c0c9
call fcn.00462450
jmp fcn.0052b560