Function at 0x52b570
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 0x52c127
sub esp, 0xc8
mov eax, dword [esp + 0x128]
test eax, eax
je 0x52b59f
mov ecx, dword [eax]
jmp 0x52b5a1
xor ecx, ecx
mov dword [esp + 0x4c], ecx
lea eax, [0x5f0d80]
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, [0x5f2420]
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 0x52b623
lea eax, [esp + 0x98]
mov dword [esp], eax
call fcn.0040dc60
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x52b80f
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 0x52c0dc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
jl 0x52b614
mov ecx, dword [0x7b66b0]
lea ebx, [0x7b66b0]
cmp dword [ebx + 4], edx
jne 0x52b6ac
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 0x52b614
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b66b0]
mov ecx, dword [0x7b66e8]
lea ebp, [0x7b66e8]
cmp dword [ebp + 4], edx
jne 0x52b6ee
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 0x52b614
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b66b0]
lea ebp, [0x7b66e8]
mov ecx, dword [0x7b66d8]
lea esi, [0x7b66d8]
cmp dword [esi + 4], edx
jne 0x52b736
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 0x52b614
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b66b0]
lea ebp, [0x7b66e8]
lea esi, [0x7b66d8]
mov ecx, dword [0x7b6680]
lea esi, [0x7b6680]
cmp dword [esi + 4], edx
jne 0x52b77e
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 0x52b614
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
lea ebx, [0x7b66b0]
lea ebp, [0x7b66e8]
lea esi, [0x7b6680]
mov ecx, dword [esp + 0x90]
inc ecx
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x94]
cmp ebp, ecx
jae 0x52b7e2
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5f0d80]
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, [0x7b66b0]
mov dword [esp + 0x90], ecx
lea ebp, [esi + ecx*8 - 4]
mov dword [ebp], edx
lea edi, [esi + ecx*8 - 8]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x52b805
mov dword [edi], eax
jmp 0x52b614
call fcn.00463860
jmp 0x52b614
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, [0x674e20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00490220
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x52b873
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x52b873
mov dword [esp], eax
mov byte [esp + 4], 0x20
call fcn.004a68c0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x52c140]
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.00490060
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
cmp ecx, eax
jle 0x52b915
jbe 0x52c0d4
lea edx, [edx + eax*8]
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov ebp, dword [0x7b6688]
cmp dword [0x7b668c], ebx
je 0x52b8f4
xor ecx, ecx
jmp 0x52b917
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 0x52b917
xor ecx, ecx
test cl, cl
je 0x52ba91
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jbe 0x52c0cf
lea ecx, [edx + eax*8 + 4]
mov dword [ecx], 0
lea edi, [edx + eax*8]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x52b954
mov dword [edi], 0
jmp 0x52b95b
xor eax, eax
call fcn.00463860
lea eax, [0x5ed040]
mov dword [esp], eax
call fcn.0040bdb0
mov edi, dword [esp + 4]
mov eax, dword [0x7b6688]
mov ecx, dword [0x7b668c]
mov dword [edi + 4], ecx
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x52b98a
mov dword [edi], eax
jmp 0x52b98f
call fcn.00463860
mov eax, dword [esp + 0x90]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x52b9a5
mov edx, 1
jmp 0x52b9dd
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, [0x5f0d80]
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, [0x5f0d80]
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, [0x5f0d80]
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 0x52c019
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x4c], ecx
xor edx, edx
jmp 0x52bab6
lea edx, [ecx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
jge 0x52be78
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 [0x7b6688]
lea edi, [0x7b6688]
cmp dword [edi + 4], ebp
jne 0x52bb6e
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 0x52bb54
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x52bb1f
movzx eax, byte [esp + 0xd4]
mov byte [esp], al
call fcn.0052d3d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x120]
test ecx, ecx
jne 0x52bb46
mov dword [esp + 0x58], eax
movzx eax, byte [esp + 0xd4]
mov byte [esp], al
call fcn.0052d4f0
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 0x52bbb8
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, [0x7b6688]
mov esi, dword [esp + 0x114]
test esi, esi
jne 0x52bba7
movzx eax, byte [esp + 0xd4]
mov byte [esp], al
call fcn.0052d230
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, [0x7b6688]
mov edi, dword [esp + 0x118]
test edi, edi
jne 0x52bbb8
lea edi, [0x6342f8]
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, [0x5f0d80]
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.004a63b0
lea eax, [0x5f2420]
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 0x52bcd5
mov ebx, dword [ecx + 8]
cmp ebx, 0x778cdb8
jne 0x52bc6f
lea ebx, [0x5f0d80]
cmp ecx, ebx
jne 0x52bc67
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax]
mov dword [esp + 0x68], edx
xor eax, eax
jmp 0x52be81
lea ebx, [0x5fdc00]
jmp 0x52bcd5
cmp ebx, 0x42d28209
jne 0x52bccf
lea ebx, [0x5fdc00]
cmp ecx, ebx
jne 0x52bcd5
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, [0x5fdc00]
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.004a63b0
jmp 0x52be47
lea ebx, [0x5fdc00]
mov edx, dword [0x7b6258]
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 0x52bdb1
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
movzx eax, byte [esp + 0xd4]
lea ecx, [0x5f0d80]
mov dword [esp], ecx
lea edx, [0x673e14]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov byte [esp + 0xc], al
call fcn.0052c470
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 0x52bd62
mov esi, dword [edx + 4]
jmp 0x52bd64
mov esi, edx
mov dword [esp + 0x7c], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], edx
lea edx, [0x6743f4]
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.004ce0d0
jmp 0x52be47
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, [0x5eab40]
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, [0x5f0d80]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x6743f4]
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.004ce250
mov eax, dword [esp + 0x90]
dec eax
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jge 0x52baab
mov eax, dword [esp + 0x12c]
mov dword [esp], eax
mov byte [esp + 4], 0x20
call fcn.004a68c0
mov ecx, dword [esp + 0x30]
jmp 0x52baab
add esp, 0xc8
ret
mov eax, ebp
cmp eax, ecx
jge 0x52bfc4
movzx ebp, byte [edx + eax]
cmp ebp, 0x80
jge 0x52be9c
lea ebp, [eax + 1]
cmp eax, ecx
jmp 0x52bec8
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, [0x5f0d80]
jae 0x52c00d
movzx esi, byte [edx + eax]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
jb 0x52bef5
xchg esi, eax
cmp al, 0x7e
xchg esi, eax
ja 0x52bef5
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x52bef5
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
je 0x52bef5
xchg esi, eax
cmp al, 0x22
xchg esi, eax
jne 0x52be7f
lea eax, [0x5f0f40]
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.004b7e60
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, [0x5f0d80]
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.004a63b0
jmp 0x52be47
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, [0x5f0d80]
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.004a63b0
jmp 0x52be47
call fcn.004638e0
inc ebp
mov edx, dword [esp + 0x4c]
mov ecx, edi
cmp ebp, edx
jge 0x52c0b5
mov edi, ecx
lea ecx, [ecx + ebp*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x52c012
mov dword [esp + 0x48], ebp
inc esi
cmp ebx, esi
jae 0x52c07e
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, [0x5f0d80]
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 [0x7e2780]
test ebp, ebp
jne 0x52c097
mov dword [edx], ecx
jmp 0x52c0ac
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 0x52c012
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebx
jmp 0x52ba91
call fcn.004638e0
call fcn.004638e0
inc ebp
mov ecx, edi
cmp ebp, ebx
jge 0x52b66e
lea esi, [ecx + ebp*8]
mov edi, ecx
mov ecx, dword [esi]
cmp dword [esi + 4], edx
jne 0x52c0d9
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 0x52b65c
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 0x52c0d9
call fcn.00462450
jmp fcn.0052b570