Function at 0x532960
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 0x53346d
sub esp, 0x138
mov edx, dword [esp + 0x158]
cmp edx, 1
jg 0x5329ba
lea edi, [esp + 0xb8]
lea esi, [0x5d21cd]
call fcn.004526fa
lea edi, [esp + 0x9c]
lea esi, [0x5d223d]
call fcn.004526fa
xor eax, eax
jmp 0x53340a
mov ebx, dword [esp + 0x14c]
test ebx, ebx
jbe 0x5333ef
mov eax, dword [esp + 0x148]
mov eax, dword [eax]
test eax, 1
je 0x532a9e
mov eax, dword [esp + 0x160]
cmp eax, 1
je 0x532a34
lea ecx, [eax + 0x1f]
shr ecx, 5
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00530ac0
mov eax, dword [esp + 4]
mov dword [esp + 0xe0], eax
mov ecx, dword [eax]
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x48], ebx
lea edi, [esp + 0xf8]
mov ebp, eax
xor eax, eax
call fcn.00452220
xor eax, eax
jmp 0x532ae5
nop
mov eax, dword [esp + 0x144]
cmp eax, 1
jl 0x532a51
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x144]
jmp 0x532a78
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, 1
mov dword [eax], 1
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], 1
mov dword [esp + 0x16c], ecx
add esp, 0x138
ret
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], 0
mov eax, dword [esp + 0x144]
mov dword [esp + 0x16c], eax
add esp, 0x138
ret
mov dword [esp + ecx*4 + 0xf8], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xe0]
cmp eax, 0x10
jge 0x532b0c
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00530ac0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x532acc
jmp 0x5333e3
mov ecx, dword [esp + 0xf8]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov eax, ebp
mov ebp, dword [0x6acb5c]
mov dword [esp + 0x68], ebp
mov edi, edx
mov edx, dword [0x6acb58]
cmp ebp, esi
jle 0x532bc3
mov dword [esp + 0xec], edx
cmp ebp, 1
jne 0x532b84
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f090
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebp, 1
mov esi, 1
jmp 0x532bc3
lea eax, [0x5b0460]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0043f090
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
cmp ebp, ebx
jg 0x532bcd
mov ebx, ebp
cmp ecx, edx
je 0x532c0d
mov dword [esp + 0x64], esi
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00452920
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0xf8]
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov ebx, dword [0x6d6280]
test ebx, ebx
jne 0x532c28
mov dword [edx], ecx
jmp 0x532c31
mov edi, edx
mov eax, ecx
call fcn.00452020
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x150]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x160]
mov dword [esp + 0x18], ebx
call fcn.005312d0
mov edi, dword [esp + 0xfc]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x532ca3
mov dword [edi], eax
jmp 0x532ca8
call fcn.00452020
mov eax, 2
jmp 0x532cb6
mov edx, dword [esp + 0x74]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x532e8c
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, 0x10
jae 0x5333d9
mov ebx, dword [esp + eax*4 + 0xf8]
cmp edx, 0x10
jae 0x5333cd
mov ebp, dword [esp + edx*4 + 0xf8]
lea eax, [edx + 1]
cmp eax, 0x10
jae 0x5333c3
mov dword [esp + 0x74], edx
mov dword [esp + 0xdc], ebp
mov eax, dword [esp + edx*4 + 0xfc]
mov dword [esp + 0xe4], eax
mov ecx, dword [ebp]
mov esi, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.005302f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xdc]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x6d6280]
test ebx, ebx
jne 0x532d61
mov dword [edi], eax
jmp 0x532d66
call fcn.00452020
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xdc]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x6d6280]
test ebx, ebx
jne 0x532db4
mov dword [edi], eax
jmp 0x532db9
call fcn.00452020
mov ebx, dword [esp + 0xe4]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x148]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x150]
mov dword [esp + 0x20], edx
call fcn.0052f220
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xe4]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x6d6280]
test ebx, ebx
jne 0x532e2c
mov dword [edi], eax
jmp 0x532e31
call fcn.00452020
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xe4]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x532e82
mov dword [edi], eax
jmp 0x532caf
call fcn.00452020
jmp 0x532caf
mov edx, dword [esp + 0x160]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x532ea8
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x532ead
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x158]
lea ebp, [ecx - 1]
lea esi, [edx - 2]
shr esi, 5
cmp esi, ebp
jge 0x532ec5
mov eax, esi
jmp 0x532ec9
mov eax, esi
mov esi, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], ebx
nop
mov ebp, dword [esp + 0x144]
cmp ebp, 1
jl 0x532ee7
mov edi, dword [esp + 0x13c]
jmp 0x532f2e
mov dword [esp + 0x3c], esi
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 + 0x158]
mov edx, dword [esp + 0x160]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov edi, eax
mov ebp, 1
mov eax, dword [esp + 0x78]
mov dword [edi], 1
mov dword [esp + 0x94], eax
mov eax, 1
mov dword [esp + 0x58], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x94]
jmp 0x532f7c
dec esi
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x160]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
test esi, esi
jl 0x532fc5
cmp ecx, esi
jbe 0x5333bc
mov edx, dword [esp + 0x154]
mov edx, dword [edx + esi*4]
cmp esi, eax
jne 0x532f98
and edx, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
jmp 0x5331ac
mov dword [esp + 0xd4], edi
mov dword [esp + 0x60], ebp
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xe0]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x532ffa
mov eax, dword [esp + 0xd8]
mov dword [edx], eax
jmp 0x533008
mov eax, dword [esp + 0xd8]
mov edi, edx
call fcn.00452020
lea eax, [0x6b0c30]
mov dword [esp], eax
lea ecx, [0x5cbda0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00458e20
xor eax, eax
jmp 0x533054
mov dword [esp + 0x38], eax
mov ecx, dword [esp + eax*4 + 0xf8]
lea edx, [0x6b0c30]
mov dword [esp], edx
lea ebx, [0x5cbda0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00458e20
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 0x10
jge 0x53305d
jb 0x533028
jmp 0x5330b3
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0xd4]
mov eax, ecx
jmp 0x53306e
mov ecx, ebp
test ecx, ecx
jle 0x533081
lea ebp, [ecx - 1]
cmp eax, ebp
jbe 0x5330aa
mov esi, dword [ebx + ecx*4 - 4]
test esi, esi
je 0x53306c
mov edx, dword [esp + 0x60]
cmp ecx, edx
ja 0x5330a5
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
add esp, 0x138
ret
call fcn.004520e0
mov ecx, eax
mov eax, ebp
call fcn.004520a0
mov ecx, 0x10
call fcn.004520a0
mov dword [esp + 0xf0], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], ebp
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xf8]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [esp + 0xd8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
call fcn.0052f220
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
add ecx, 4
mov edx, dword [esp + 0x54]
shl edx, 4
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
mov ebx, 1
mov byte [esp + 0x33], bl
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xf0]
mov dword [esp + 0xd8], esi
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x50]
cmp ebx, 0x20
jge 0x532f53
mov dword [esp + 0x54], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x5331cf
mov eax, dword [esp + 0x74]
jmp 0x5330bd
mov dword [esp + 0x70], ebp
mov dword [esp + 0xf4], edi
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.005302f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0xf4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005302f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xd8]
mov dword [esp], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005302f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.005302f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
call fcn.005312d0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
jmp 0x5330bd
mov eax, esi
call fcn.004520a0
mov ecx, 0x10
call fcn.004520a0
mov eax, edx
mov ecx, 0x10
call fcn.004520a0
mov ecx, 0x10
call fcn.004520a0
mov eax, ecx
mov ecx, 0x10
call fcn.004520a0
xor eax, eax
mov ecx, eax
call fcn.004520a0
movzx ebx, byte [esp + eax + 0x9c]
xor ebx, edx
mov byte [esp + eax + 0x9c], bl
inc eax
cmp eax, 0x1c
jge 0x533423
movzx edx, byte [esp + eax + 0xb8]
jb 0x5333f8
mov ecx, 0x1c
call fcn.004520a0
mov dword [esp], 0
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
call fcn.00441fd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408340
mov eax, dword [esp + 8]
lea ecx, [0x5b08e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042e870
nop
call fcn.00450c10
jmp fcn.00532960