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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x52b4f8
sub esp, 0xf8
mov edx, dword [esp + 0x118]
cmp edx, 1
jle 0x52b4df
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jbe 0x52b4d6
mov eax, dword [esp + 0x108]
mov eax, dword [eax]
test eax, 1
je 0x52ab93
mov eax, dword [esp + 0x120]
cmp eax, 1
je 0x52ab2a
lea ecx, [eax + 0x1f]
shr ecx, 5
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
call fcn.00528c00
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [eax]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ebx
lea edi, [esp + 0xb8]
mov ebp, eax
xor eax, eax
call fcn.00463910
xor eax, eax
jmp 0x52abda
mov eax, dword [esp + 0x104]
cmp eax, 1
jl 0x52ab46
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x104]
jmp 0x52ab6d
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0
mov eax, dword [esp + 0x104]
mov dword [esp + 0x12c], eax
add esp, 0xf8
ret
mov dword [esp + ecx*4 + 0xb8], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x98]
cmp eax, 0x10
jge 0x52ac01
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00528c00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
cmp ecx, 0x10
jb 0x52abc1
jmp 0x52b4ca
mov ecx, dword [esp + 0xb8]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov eax, ebp
mov ebp, dword [0x868734]
mov dword [esp + 0x54], ebp
mov edi, edx
mov edx, dword [0x868730]
cmp esi, ebp
jge 0x52acb8
mov dword [esp + 0xa4], edx
cmp ebp, 1
jne 0x52ac79
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, 1
mov esi, 1
jmp 0x52acb8
lea eax, [0x638160]
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.0044a8a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
jg 0x52acc2
mov ebx, ebp
cmp ecx, edx
je 0x52ad02
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00464010
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0xb8]
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x52ad1d
mov dword [edx], ecx
jmp 0x52ad26
mov edi, edx
mov eax, ecx
call fcn.00463680
mov eax, dword [esp + 0xbc]
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 + 0x108]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x18], ebx
call fcn.00529410
mov edi, dword [esp + 0xbc]
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 [0x893c80]
test ecx, ecx
jne 0x52ad98
mov dword [edi], eax
jmp 0x52ad9d
call fcn.00463680
mov eax, 2
jmp 0x52adab
mov edx, dword [esp + 0x74]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x52af81
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp eax, 0x10
jae 0x52b4c0
mov ebx, dword [esp + eax*4 + 0xb8]
cmp edx, 0x10
jae 0x52b4b4
mov ebp, dword [esp + edx*4 + 0xb8]
lea eax, [edx + 1]
cmp eax, 0x10
jae 0x52b4aa
mov dword [esp + 0x74], edx
mov dword [esp + 0xac], ebp
mov eax, dword [esp + edx*4 + 0xbc]
mov dword [esp + 0xa8], 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.00528430
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x52ae56
mov dword [edi], eax
jmp 0x52ae5b
call fcn.00463680
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x52aea9
mov dword [edi], eax
jmp 0x52aeae
call fcn.00463680
mov ebx, dword [esp + 0xa8]
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 + 0x108]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 0x20], edx
call fcn.00527360
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0x893c80]
test ebx, ebx
jne 0x52af21
mov dword [edi], eax
jmp 0x52af26
call fcn.00463680
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x52af77
mov dword [edi], eax
jmp 0x52ada4
call fcn.00463680
jmp 0x52ada4
mov edx, dword [esp + 0x120]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x52af9d
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x52afa2
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x118]
lea ebp, [ecx - 1]
lea esi, [edx - 2]
shr esi, 5
cmp esi, ebp
jge 0x52afba
mov eax, esi
jmp 0x52afbe
mov eax, esi
mov esi, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], ebx
nop
mov ebp, dword [esp + 0x104]
cmp ebp, 1
jl 0x52afdc
mov edi, dword [esp + 0xfc]
jmp 0x52b023
mov dword [esp + 0x64], esi
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, eax
mov ebp, 1
mov eax, dword [esp + 0x78]
mov dword [edi], 1
mov dword [esp + 0x8c], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
jmp 0x52b071
dec esi
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
test esi, esi
jl 0x52b0ac
cmp ecx, esi
jbe 0x52b4a3
mov edx, dword [esp + 0x114]
mov edx, dword [edx + esi*4]
cmp esi, eax
jne 0x52b08d
and edx, ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
jmp 0x52b293
mov dword [esp + 0x94], edi
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x52b0e1
mov eax, dword [esp + 0x9c]
mov dword [edx], eax
jmp 0x52b0ef
mov eax, dword [esp + 0x9c]
mov edi, edx
call fcn.00463680
lea eax, [0x86e540]
mov dword [esp], eax
lea ecx, [0x669900]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046d090
xor eax, eax
jmp 0x52b13b
mov dword [esp + 0x60], eax
mov ecx, dword [esp + eax*4 + 0xb8]
lea edx, [0x86e540]
mov dword [esp], edx
lea ebx, [0x669900]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0046d090
mov eax, dword [esp + 0x60]
inc eax
cmp eax, 0x10
jge 0x52b144
jb 0x52b10f
jmp 0x52b19a
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
mov eax, ecx
jmp 0x52b155
mov ecx, ebp
test ecx, ecx
jle 0x52b168
lea ebp, [ecx - 1]
cmp eax, ebp
jbe 0x52b191
mov esi, dword [ebx + ecx*4 - 4]
test esi, esi
je 0x52b153
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x52b18c
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], edx
add esp, 0xf8
ret
call fcn.00463740
mov ecx, eax
mov eax, ebp
call fcn.00463700
mov ecx, 0x10
call fcn.00463700
mov dword [esp + 0x74], ebp
mov dword [esp + 0xb0], edi
mov dword [esp + 0x6c], eax
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xb8]
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
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.00527360
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov eax, dword [esp + 0x5c]
add eax, 4
mov edx, dword [esp + 0x50]
shl edx, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov ebx, 1
mov byte [esp + 0x33], bl
mov esi, dword [esp + 0x74]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x118]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
cmp ebx, 0x20
jge 0x52b048
mov dword [esp + 0x50], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x52b2b6
mov eax, dword [esp + 0x74]
jmp 0x52b1a4
mov dword [esp + 0x70], ebp
mov dword [esp + 0xb4], edi
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
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.00528430
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb4]
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.00528430
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb0], 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 + 0x9c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00528430
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xb0]
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.00528430
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 + 0x120]
mov dword [esp + 0x18], eax
call fcn.00529410
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
jmp 0x52b1a4
mov eax, esi
call fcn.00463700
mov ecx, 0x10
call fcn.00463700
mov eax, edx
mov ecx, 0x10
call fcn.00463700
mov ecx, 0x10
call fcn.00463700
mov eax, ecx
mov ecx, 0x10
call fcn.00463700
xor eax, eax
mov ecx, eax
call fcn.00463700
lea eax, [0x638660]
mov dword [esp], eax
lea eax, [0x6cef78]
mov dword [esp + 4], eax
call fcn.00435bb0
nop
call fcn.00462270
jmp fcn.0052aa80