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

Disassembly:
push 0xffffffffffffffff
push 0x653fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x54], edi
mov ecx, dword [edi + 0x20]
push ecx
call dword [fcn.0065f4d0]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
sub eax, ecx
sub ebx, edx
mov dword [esp + 0x2c], eax
xor esi, esi
lea ebp, [esp + 0x58]
mov edx, dword [0x82678c]
push esi
push 0x6bad00
push 0x69b178
push edx
mov ecx, 0x898828
call fcn.00513370
mov dword [ebp], eax
inc esi
add ebp, 4
cmp esi, 7
jl 0x528da5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa4]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push esi
mov ecx, 0x898828
mov dword [esp + 0x50], ebx
call fcn.005115e0
cmp dword [edi + 0x50], 1
jl 0x5291ac
push 0x11
call dword [fcn.0065e0d8]
push eax
call fcn.00644566
mov edx, dword [esi]
mov ebp, eax
push ebp
mov ecx, esi
mov dword [esp + 0x50], ebp
call dword [edx + 0x30]
push 0x6bacfc
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], eax
call fcn.00643d2c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x44]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [fcn.0065e0bc]
lea ecx, [esp + 0x20]
call fcn.00643d26
mov ecx, dword [edi + 0x50]
mov eax, ebx
lea edx, [ecx + ecx]
sub eax, edx
add eax, 2
cdq
idiv ecx
mov edx, dword [edi + 0x48]
cmp eax, edx
mov dword [esp + 0x24], eax
jg 0x528e7f
mov dword [esp + 0x24], edx
mov eax, edx
mov edx, dword [edi + 0x4c]
cmp eax, edx
jl 0x528e8a
mov dword [esp + 0x24], edx
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x28], ebx
jle 0x529199
mov ebp, dword [esp + 0x70]
lea eax, [edi + 0x60]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x54]
mov edx, dword [esi]
cmp ecx, eax
mov eax, dword [esp + 0x60]
je 0x528eb8
mov eax, dword [esp + 0x64]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x54]
lea eax, [ebx + ecx]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
jne 0x52908c
push 1
push 0
push 0x848484
push 0
push eax
lea edx, [ebx + 1]
push 0
push edx
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 1
inc eax
push 0
push 0x8d8d8d
push eax
push ecx
add edx, 2
push eax
push edx
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 1
push 0
dec eax
push 0x848484
push eax
mov eax, dword [esp + 0x20]
inc ecx
push eax
push ecx
push eax
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push 1
push 0
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
dec ecx
push 0x969696
push ecx
inc edx
push eax
push edx
push eax
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 1
dec eax
push 0
push 0xd7d7d7
dec ecx
push eax
push ecx
inc edx
push eax
push edx
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 1
add eax, 0xfffffffe
push 0
push 0xfafafa
push eax
add ecx, 0xfffffffe
mov edx, dword [esp + 0x20]
push ecx
inc edx
push eax
push edx
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push 0
add ecx, 0xfffffffe
add eax, 0xfffffffe
push 0xf1f1f1
push ecx
add edx, 2
push eax
push edx
push eax
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
dec eax
push 1
push 0
dec ecx
push 0xd6d6d6
push ecx
push eax
push edx
push eax
push esi
mov ecx, 0x898828
call fcn.00512ec0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, 2
add ecx, 2
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x88], ecx
push 0
push eax
lea ecx, [esp + 0x8c]
push ebp
add edx, 0xfffffffe
add edi, 0xfffffffe
push ecx
push esi
mov ecx, 0x898828
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edi
call fcn.005115e0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x529129
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x44]
push edx
call fcn.0064408c
test eax, eax
je 0x5290a1
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x14]
push eax
push ecx
call dword [0x65f570]
mov dword [esp + 0x44], 0x661578
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], 0
call fcn.0064406e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
push 1
mov dword [esp + 0x44], ecx
push 1
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0x54], 0x6602dc
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
call fcn.00644080
mov eax, dword [esp + 0x6c]
push 0
push ebp
lea ecx, [esp + 0x3c]
push eax
push ecx
push esi
mov ecx, 0x898828
call fcn.005115e0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push edx
call fcn.00643d2c
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push 0x25
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0xac], 1
call dword [edx + 0x70]
lea ecx, [esp + 0x30]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00643d26
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc ecx
lea eax, [edx + 2]
mov edx, dword [esp + 0x20]
add ebx, eax
mov eax, dword [edi + 0x50]
add edx, 0x32
cmp ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
jl 0x528ea3
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, ebp
call fcn.0064406e
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 4