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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x52ca5e
sub esp, 0x138
mov byte [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
nop
mov eax, dword [esp + 0x148]
lea ecx, [esp + 0xe8]
cmp eax, ecx
je 0x52bf56
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jg 0x52be68
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x52bef5
mov dword [esp + 0x74], ecx
mov dword [esp + 0xa0], edx
cmp ecx, 1
jne 0x52beba
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xa0]
mov ebx, 1
mov ebp, eax
mov esi, 1
mov eax, dword [esp + 0x148]
jmp 0x52bef5
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 8], edx
call fcn.0043f090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xa0]
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x148]
cmp ebx, ecx
jg 0x52befb
mov ecx, ebx
cmp ebp, edx
je 0x52bf37
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x94], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00452920
mov eax, dword [esp + 0x148]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x68]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xec], ebp
movzx ecx, byte [eax]
mov byte [esp + 0xe8], cl
mov byte [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
nop
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0xd8]
cmp ecx, edx
je 0x52c0b6
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
jg 0x52bfb3
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x52c04e
mov dword [esp + 0x70], edx
mov dword [esp + 0x9c], ebx
cmp edx, 1
jne 0x52c00c
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x9c]
mov ebp, 1
mov esi, eax
mov edi, 1
mov eax, dword [esp + 0x148]
jmp 0x52c04e
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 8], ecx
call fcn.0043f090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x9c]
mov ebp, edx
mov esi, eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x148]
cmp ebp, edx
jg 0x52c054
mov edx, ebp
cmp esi, ebx
je 0x52c097
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x90], esi
mov dword [esp + 0x64], edi
mov dword [esp], esi
mov dword [esp + 4], ebx
shl edx, 2
mov dword [esp + 8], edx
call fcn.00452920
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x64]
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe4], edi
mov dword [esp + 0xdc], esi
movzx edx, byte [ecx]
mov byte [esp + 0xd8], dl
mov byte [esp + 0xd8], 0
mov edx, dword [esp + 0x140]
test edx, edx
je 0x52c0d7
mov ebx, dword [esp + 0x144]
mov ebp, 1
jmp 0x52c0e7
mov ebx, dword [esp + 0x144]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x2c], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x52c0f9
xor esi, esi
xor edi, edi
jmp 0x52c177
mov byte [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00529d20
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov esi, eax
lea edi, [esp + 0xb8]
mov dword [esp + 0xac], esi
mov dword [esp + 0xb4], edi
mov byte [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov byte [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov byte [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0xe4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.0052e0f0
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x52c295
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0xd8]
lea edx, [esp + 0xe8]
mov ebx, dword [esp + 0xac]
jmp 0x52c2b1
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xe8]
lea edx, [esp + 0xd8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb0], edx
jmp 0x52c2eb
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [edx + 8]
cmp ebp, 1
jle 0x52c487
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0052b580
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
movzx ebx, byte [esp + 0x18]
mov ebp, dword [esp + 8]
test eax, eax
je 0x52c416
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edx
mov byte [esp + 0x2e], bl
mov esi, dword [esp + 0xa8]
mov dword [esp], esi
mov edi, dword [esp + 0xb0]
mov dword [esp + 4], edi
lea esi, [esp + 0x128]
mov dword [esp + 8], esi
lea esi, [esp + 0x118]
mov dword [esp + 0xc], esi
lea esi, [esp + 0x108]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xf8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov byte [esp + 0x28], bl
call fcn.0052b780
movzx eax, byte [esp + 0x2c]
test al, al
je 0x52c2cf
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
lea edx, [esp + 0x128]
mov dword [esp + 8], edx
lea ebx, [esp + 0x118]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x108]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xf8]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x2e]
xchg edi, eax
mov byte [esp + 0x28], al
xchg edi, eax
call fcn.0052b780
movzx eax, byte [esp + 0x2c]
jmp 0x52c2cf
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x128]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0x118]
mov dword [esp + 0x14], esi
lea edi, [esp + 0x108]
mov dword [esp + 0x18], edi
lea edi, [esp + 0xf8]
mov dword [esp + 0x1c], edi
movzx edi, byte [esp + 0x2c]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.0052ba30
movzx eax, byte [esp + 0x2c]
jmp 0x52c2cf
test ebp, ebp
je 0x52c558
cmp dword [ecx + 8], 1
jle 0x52c4fc
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x128]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x118]
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0x108]
mov dword [esp + 0x18], ebp
lea esi, [esp + 0xf8]
mov dword [esp + 0x1c], esi
movzx edi, byte [esp + 0x2c]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.0052ba30
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
test ebp, ebp
je 0x52c558
mov ebp, dword [ecx + 8]
mov edi, ebx
mov ebx, dword [ecx + 4]
test ebp, ebp
jbe 0x52ca54
mov ebx, dword [ebx]
mov ebp, dword [esi]
movzx esi, byte [esp + 0x2c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x52c81e
mov esi, 1
xor esi, esi
mov dword [esp + 0x58], esi
mov esi, 1
mov dword [esp + 0x4c], esi
xor esi, esi
mov dword [esp + 0x78], esi
mov esi, 1
xchg esi, eax
mov byte [esp + 0x2d], al
xchg esi, eax
mov esi, 1
jmp 0x52c8af
mov ebx, dword [esp + 0x148]
movzx ebp, byte [ebx]
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov esi, dword [esp + 0x144]
test esi, esi
je 0x52c771
mov edi, ecx
mov ecx, dword [esp + 0x14c]
cmp ecx, esi
jne 0x52c6e2
nop
cmp ecx, edx
je 0x52c6e4
mov ebp, dword [edx + 0xc]
mov ebx, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0x6c], esi
mov ecx, dword [ecx + 4]
cmp ebp, esi
jge 0x52c644
mov dword [esp + 0x98], ecx
cmp esi, 1
jne 0x52c5ff
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
mov esi, 1
mov ebp, 1
jmp 0x52c644
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 8], eax
call fcn.0043f090
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x6c]
cmp esi, ebp
jg 0x52c652
mov ebp, esi
cmp ebx, ecx
je 0x52c694
mov dword [esp + 0x30], esi
mov dword [esp + 0x8c], ebx
mov dword [esp], ebx
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00452920
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xa8]
mov dword [edx + 8], esi
mov ecx, dword [esp + 0x34]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x52c6ad
mov dword [edx + 4], ebx
jmp 0x52c6c1
lea ecx, [edx + 4]
mov ebp, edi
mov edi, ecx
mov esi, eax
mov eax, ebx
call fcn.00452020
mov eax, esi
mov edi, ebp
mov ecx, dword [esp + 0x14c]
movzx ecx, byte [ecx]
mov byte [edx], cl
mov ebx, dword [esp + 0x148]
movzx ebp, byte [esp + 0x2f]
mov esi, dword [esp + 0x144]
jmp 0x52c6e4
mov edx, ecx
mov dword [esp + 0xb0], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0052a250
movzx eax, byte [esp + 0x2f]
test al, al
je 0x52c715
mov ecx, dword [esp + 0x144]
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
jmp 0x52c71c
mov ecx, dword [esp + 0x144]
mov dword [esp], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0052a010
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.0052a510
mov eax, dword [esp + 0x140]
test eax, eax
mov ecx, dword [esp + 0xa8]
mov edx, eax
movzx ebp, byte [esp + 0x2f]
mov eax, dword [esp + 0xac]
jmp 0x52c77a
mov edx, dword [esp + 0x140]
test edx, edx
je 0x52c7c6
mov ebx, dword [eax + 4]
movzx esi, byte [eax]
mov edi, ecx
mov ecx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
xchg esi, eax
mov byte [edx], al
xchg esi, eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebp
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x52c7a3
mov dword [edx + 4], ebx
jmp 0x52c7b3
lea ecx, [edx + 4]
mov eax, ebx
mov ebx, edi
mov edi, ecx
call fcn.00452020
mov edi, ebx
movzx ecx, byte [esp + 0x2f]
test cl, cl
je 0x52c7c8
movzx ecx, byte [edx]
xor ecx, 1
mov byte [edx], cl
jmp 0x52c7c8
mov edi, ecx
mov eax, dword [edi + 4]
movzx ecx, byte [edi]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov ebp, dword [esp + 0x13c]
mov byte [ebp], cl
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x52c7f3
mov dword [ebp + 4], eax
jmp 0x52c7fb
lea edi, [ebp + 4]
call fcn.00452020
mov dword [esp + 0x150], ebp
add esp, 0x138
ret
mov esi, eax
mov eax, ebx
xor edx, edx
div ebp
mov eax, esi
mov ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0xb0]
test ebp, ebp
jne 0x52c809
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 4]
test ebp, ebp
jbe 0x52c833
mov dword [esi], ebx
jmp 0x52c558
xor eax, eax
mov ecx, eax
call fcn.004520a0
mov eax, ebx
xor edx, edx
div ebp
mov edx, eax
mov eax, ebx
mov ebx, edx
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 0x58]
imul edx, ebx
add edx, esi
mov esi, edx
mov edx, dword [esp + 0x4c]
imul ebx, edx
mov edx, dword [esp + 0x78]
add edx, ebx
mov ebx, edx
movzx edx, byte [esp + 0x2d]
xor edx, 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov byte [esp + 0x2d], dl
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x4c], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x84]
mov ebp, esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x84]
test ebp, ebp
jne 0x52c83c
mov dword [esp + 0x80], ebx
mov ebp, dword [esp + 0x104]
mov edx, dword [esp + 0xfc]
test esi, esi
jne 0x52c8d0
xor esi, esi
jmp 0x52c928
nop
cmp ebp, 1
jge 0x52c921
mov dword [esp + 0x7c], esi
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0xa4]
mov ebp, 1
mov dword [edx], esi
mov esi, 1
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], ebp
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x114]
mov ebp, dword [esp + 0x10c]
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x52c957
xor esi, esi
jmp 0x52c9ac
nop
cmp edx, 1
jge 0x52c9a4
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0xa4]
mov edx, 1
mov dword [ebp], esi
mov esi, 1
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], edx
mov dword [esp + 0x10c], ebp
movzx ecx, byte [esp + 0x2d]
mov edx, ecx
xor ecx, 1
mov byte [esp + 0xf8], cl
mov byte [esp + 0x108], dl
lea ecx, [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0052a250
lea eax, [esp + 0x108]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0052a250
mov eax, dword [esp + 0xac]
mov dword [esp], eax
lea ecx, [esp + 0xf8]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x108]
mov dword [esp + 8], ecx
call fcn.00529dd0
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x80]
jmp 0x52c822
xor eax, eax
mov ecx, eax
call fcn.004520a0
nop
call fcn.00450c10
jmp fcn.0052bdf0