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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1024dbe1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
mov eax, dword [0x102fef40]
push ebx
push esi
xor eax, ebp
push edi
mov dword [esp + 0x204], eax
mov esi, ecx
call dword [0x102760bc]
mov ecx, eax
mov eax, dword [esi + 0x210]
mov edx, ecx
sub edx, eax
cmp ecx, eax
mov eax, 0x10624dd3
jae 0x528f59
dec edx
mul edx
mov eax, dword [esi + 0x134]
shr edx, 6
mov dword [esi + 0x210], ecx
mov ecx, 0x14
mov dword [esp + 0x68], edx
lea edx, [eax + 6]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], ecx
add eax, 0x1a
lea ecx, [esp + 0x150]
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], eax
call fcn.0049e9e9
mov ecx, dword [esi + 0x130]
lea eax, [esp + 0x150]
xor ebx, ebx
push eax
mov dword [esp + 0x218], ebx
call fcn.00500fb9
lea ecx, [esp + 0x150]
call fcn.0049ece9
test eax, eax
je 0x529008
lea ecx, [esp + 0x150]
call fcn.0049ece9
cmp eax, 3
je 0x529008
lea ecx, [esp + 0x150]
call fcn.0049ece9
cmp eax, 1
je 0x528ffe
lea ecx, [esp + 0x150]
call fcn.0049ece9
cmp eax, 8
je 0x528ffe
mov dword [esp + 0x60], 5
jmp 0x52900c
mov dword [esp + 0x60], 1
jmp 0x52900c
mov dword [esp + 0x60], ebx
push 0x10283230
lea ecx, [esp + 0x138]
mov dword [esp + 0x68], ebx
call dword [0x1027639c]
push ebx
push ebx
lea edx, [esp + 0x13c]
lea ecx, [esi + 0x214]
push edx
mov byte [esp + 0x220], 1
mov dword [esp + 0x58], ecx
call fcn.005268d9
mov esi, eax
lea ecx, [esp + 0x134]
mov dword [esp + 0xc], esi
mov byte [esp + 0x214], bl
call dword [0x102763d4]
cmp esi, ebx
je 0x529400
mov eax, esi
shl eax, 5
push eax
mov dword [esp + 0x70], esi
call fcn.0049cb4a
mov edi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x20], ebx
jbe 0x529379
lea esi, [edi + 0x10]
mov dword [esp + 0x1c], esi
jmp 0x52909a
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x11c]
push edx
call fcn.004863a9
add esp, 8
mov ecx, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x21c], 2
call fcn.00527e59
lea ecx, [esp + 0x118]
mov byte [esp + 0x214], 4
call dword [0x102763d4]
push 0x102768f0
lea ecx, [esp + 0xc8]
call dword [0x1027639c]
push 0x10283228
lea ecx, [esp + 0xe4]
mov byte [esp + 0x218], 5
call dword [0x1027639c]
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x220], 6
call fcn.00526949
lea ecx, [esp + 0xe0]
mov byte [esp + 0x214], 9
call dword [0x102763d4]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x214], 8
call dword [0x102763d4]
push 0x10281bf0
lea ecx, [esp + 0x90]
call dword [0x1027639c]
cmp dword [esp + 0x14], ebx
mov byte [esp + 0x214], 0xa
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
je 0x5291bb
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x78]
call fcn.0048a439
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea edi, [esp + 0x40]
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
push edi
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jl 0x5291bb
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
jmp 0x5291c1
xor eax, eax
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x8c]
mov dword [esi - 8], eax
mov byte [esp + 0x214], 8
call dword [0x102763d4]
push 0x1028321c
lea ecx, [esp + 0x100]
call dword [0x1027639c]
cmp dword [esp + 0x14], ebx
mov byte [esp + 0x214], 0xb
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x529239
lea edx, [esp + 0xfc]
push edx
lea ecx, [esp + 0x80]
call fcn.0048a439
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea edi, [esp + 0x30]
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
push edi
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jl 0x529239
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jmp 0x52923d
xor eax, eax
xor ecx, ecx
mov dword [esi + 4], ecx
lea ecx, [esp + 0xfc]
mov dword [esi], eax
mov byte [esp + 0x214], 8
call dword [0x102763d4]
push 0x10283214
lea ecx, [esp + 0xac]
call dword [0x1027639c]
cmp dword [esp + 0x14], ebx
mov byte [esp + 0x214], 0xc
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x5292bb
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x88]
call fcn.0048a439
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea edi, [esp + 0x38]
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
push edi
push eax
push ecx
call dword [edx + 0x18]
test eax, eax
jl 0x5292bb
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
jmp 0x5292c1
xor eax, eax
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0xa8]
mov word [esi + 8], ax
mov byte [esp + 0x214], 8
call dword [0x102763d4]
mov eax, dword [esp + 0x148]
push eax
mov dword [esi - 0x10], eax
call fcn.0049cb4a
mov ecx, dword [esp + 0x150]
add esp, 4
cmp ecx, 0x10
mov dword [esi - 0xc], eax
mov esi, dword [esp + 0x138]
jae 0x52930a
lea esi, [esp + 0x138]
mov ecx, dword [esp + 0x148]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
mov byte [esp + 0x214], 4
call dword [0x102763d4]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x214], bl
mov dword [esp + 0x10], 0x10280490
je 0x529353
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
inc eax
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jb 0x529096
mov edi, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [0x1031202c]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x1027786c
push eax
mov byte [esp + 0x220], 0xd
call dword [edx + 0x28]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x5293c6
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
cmp dword [esp + 0xc], ebx
je 0x5293c6
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [edx + 0xc]
cmp esi, ebx
jbe 0x5293e2
add edi, 4
mov eax, dword [edi]
push eax
call fcn.0049cc83
add esp, 4
add edi, 0x20
dec esi
jne 0x5293cd
mov edi, dword [esp + 0x24]
push edi
call fcn.0049cc83
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x214], bl
je 0x529400
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x150]
mov dword [esp + 0x214], 0xffffffff
call fcn.0049abcc
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x204]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049cbf9
mov esp, ebp
pop ebp
ret