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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x529a62
sub esp, 0xfc
mov eax, dword [esp + 0x11c]
cmp eax, 1
jle 0x529a49
mov ecx, dword [esp + 0x10c]
mov ecx, dword [ecx]
test ecx, 1
je 0x529195
mov ecx, dword [esp + 0x124]
cmp ecx, 1
je 0x52912c
lea eax, [ecx + 0x1f]
shr eax, 5
mov dword [esp + 0x7c], eax
mov dword [esp], eax
call fcn.00527320
mov eax, dword [esp + 4]
mov dword [esp + 0x9c], eax
mov ecx, dword [eax]
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x3c], ebx
lea edi, [esp + 0xbc]
mov ebp, eax
xor eax, eax
call fcn.0045f760
xor eax, eax
jmp 0x5291f4
mov eax, dword [esp + 0x108]
cmp eax, 1
jl 0x529148
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x108]
jmp 0x52916f
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 1
mov dword [esp + 0x130], ecx
add esp, 0xfc
ret
mov eax, dword [esp + 0x100]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 0
mov eax, dword [esp + 0x108]
mov dword [esp + 0x130], eax
add esp, 0xfc
ret
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00527320
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp + ecx*4 + 0xbc], eax
lea eax, [ecx + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x9c]
cmp eax, 0x10
jl 0x5291c3
mov ecx, dword [esp + 0xbc]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov eax, ebp
mov ebp, dword [0xa1782c]
mov dword [esp + 0x54], ebp
mov edi, edx
mov edx, dword [0xa17828]
cmp ebp, esi
jle 0x5292b0
mov dword [esp + 0xa8], edx
cmp ebp, 1
jne 0x529271
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, 1
mov esi, 1
jmp 0x5292b0
lea eax, [0x67e160]
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.00447740
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
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 0x5292ba
mov ebx, ebp
cmp ecx, edx
je 0x5292fa
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0xa4], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045fe60
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0xbc]
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x529315
mov dword [edx], ecx
jmp 0x52931e
mov edi, edx
mov eax, ecx
call fcn.0045f670
mov eax, dword [esp + 0xc0]
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 + 0x10c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x114]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x18], ebx
call fcn.00527a60
mov edi, dword [esp + 0xc0]
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 [0xa43e50]
test ecx, ecx
jne 0x529390
mov dword [edi], eax
jmp 0x529395
call fcn.0045f670
mov eax, 2
jmp 0x5293a3
mov edx, dword [esp + 0x68]
lea eax, [edx + 2]
cmp eax, 0x10
jge 0x52955a
mov dword [esp + 0x68], eax
mov ecx, dword [esp + eax*4 + 0xbc]
mov dword [esp + 0xb0], ecx
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
mov eax, dword [esp + eax*4 + 0xbc]
mov ebx, dword [esp + edx*4 + 0xc0]
mov dword [esp + 0xac], ebx
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call fcn.00526c90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x52942f
mov dword [edi], eax
jmp 0x529434
call fcn.0045f670
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x529482
mov dword [edi], eax
jmp 0x529487
call fcn.0045f670
mov ebx, dword [esp + 0xac]
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 + 0x10c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x114]
mov dword [esp + 0x20], edx
call fcn.00525f20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xac]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x5294fa
mov dword [edi], eax
jmp 0x5294ff
call fcn.0045f670
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
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 ecx, dword [0xa43e50]
test ecx, ecx
jne 0x529550
mov dword [edi], eax
jmp 0x52939c
call fcn.0045f670
jmp 0x52939c
mov edx, dword [esp + 0x124]
lea ecx, [edx - 1]
test ecx, 0x1f
je 0x529576
mov ebx, 1
shl ebx, cl
dec ebx
jmp 0x52957b
mov ebx, 0xffffffff
mov ecx, dword [esp + 0x11c]
dec ecx
lea ebp, [edx - 2]
shr ebp, 5
cmp ebp, ecx
jge 0x529591
mov eax, ebp
jmp 0x529595
mov eax, ebp
mov ebp, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x58], ebx
nop
mov ecx, dword [esp + 0x108]
cmp ecx, 1
jl 0x5295b3
mov esi, dword [esp + 0x100]
jmp 0x5295f3
mov dword [esp + 0x64], ebp
lea eax, [0x67e160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00447740
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x124]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
mov esi, eax
mov ecx, 1
mov eax, dword [esp + 0x7c]
mov dword [esi], 1
mov edi, dword [esp + 0x118]
mov dword [esp + 0x90], eax
xor eax, eax
mov byte [esp + 0x33], al
mov eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
jmp 0x529645
dec ebp
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
test ebp, ebp
jl 0x529677
mov edx, dword [edi + ebp*4]
cmp ebp, eax
jne 0x529652
and edx, ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
jmp 0x529839
mov dword [esp + 0x48], ecx
mov dword [esp + 0x98], esi
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x9c]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 8], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5296ac
mov eax, dword [esp + 0xa0]
mov dword [edi], eax
jmp 0x5296b8
mov eax, dword [esp + 0xa0]
call fcn.0045f670
lea eax, [0xa1dbe0]
mov dword [esp], eax
lea ecx, [0x6b4d00]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00466bc0
xor eax, eax
jmp 0x529704
mov dword [esp + 0x60], eax
mov ecx, dword [esp + eax*4 + 0xbc]
lea edx, [0xa1dbe0]
mov dword [esp], edx
lea ebx, [0x6b4d00]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00466bc0
mov eax, dword [esp + 0x60]
inc eax
cmp eax, 0x10
jl 0x5296d8
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x40]
jmp 0x529717
dec ecx
test ecx, ecx
jle 0x529723
mov edx, dword [eax + ecx*4 - 4]
test edx, edx
je 0x529716
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x130], eax
add esp, 0xfc
ret
mov dword [esp + 0x78], eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0x70], ecx
shr edx, 0x1c
mov edx, dword [esp + edx*4 + 0xbc]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
mov ebx, dword [esp + 0xa0]
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], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
call fcn.00525f20
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
mov eax, dword [esp + 0x5c]
add eax, 4
mov edx, dword [esp + 0x50]
shl edx, 4
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x118]
mov dword [esp + 0x5c], eax
mov ebp, 1
xchg ebp, eax
mov byte [esp + 0x33], al
xchg ebp, eax
mov edi, dword [esp + 0x70]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x7c]
mov ecx, ebx
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x118]
mov ebx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
cmp ebx, 0x20
jge 0x52961f
mov dword [esp + 0x50], edx
movzx eax, byte [esp + 0x33]
test al, al
jne 0x52985c
mov eax, dword [esp + 0x78]
jmp 0x529743
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0xa0]
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], esi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00526c90
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], 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 + 0xb8]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00526c90
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0xa0]
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.00526c90
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00526c90
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 + 0x124]
mov dword [esp + 0x18], eax
call fcn.00527a60
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
jmp 0x529743
lea eax, [0x67e720]
mov dword [esp], eax
lea eax, [0x894f60]
mov dword [esp + 4], eax
call fcn.00433690
nop
call fcn.0045e260
jmp fcn.00529090