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

Disassembly:
mov eax, 0xc0
call fcn.005650a0
mov eax, dword [0x80100c]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
push ebx
push ebp
mov ebp, dword [esp + 0xe8]
push esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xf0]
push edi
xor ebx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xfc]
mov edi, esi
lea eax, [esp + 0x74]
shr edi, 3
push eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 2
call fcn.004ab460
add esp, 4
cmp dword [esp + 0x18], ebx
jne 0x52902d
cmp esi, 0xa0
jne 0x529015
call fcn.004a4ff0
jmp 0x529029
cmp esi, 0xe0
jne 0x529024
call fcn.004a5050
jmp 0x529029
call fcn.004a5060
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004d36b0
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x30], eax
cmp dword [ecx + 0xc], ebx
je 0x529055
cmp dword [ecx + 0x10], ebx
je 0x529055
cmp dword [esp + 0xec], ebx
jl 0x5290ce
mov esi, dword [esp + 0xe8]
cmp esi, ebx
jne 0x529069
mov esi, eax
mov dword [esp + 0xe8], esi
push 0x1c5
push 0x78463c
push esi
call fcn.004a26d0
add esp, 0xc
mov dword [esp + 0x10], eax
cmp ebp, ebx
je 0x52908a
mov dword [esp + 0x2c], ebp
jmp 0x5290a1
push 0x1ca
push 0x78463c
push esi
call fcn.004a26d0
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x10], ebx
je 0x529822
cmp dword [esp + 0x2c], ebx
je 0x529811
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
je 0x5290ce
mov edx, dword [esp + 0x10]
push esi
push eax
push edx
call fcn.005645b0
add esp, 0xc
call fcn.004e0b20
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x529811
call fcn.004fed10
mov dword [esp + 0x40], eax
test eax, eax
je 0x529811
mov esi, dword [esp + 0x14]
push esi
call fcn.004e0bb0
push esi
call fcn.004e0c40
mov ebp, eax
push esi
mov dword [esp + 0x44], ebp
call fcn.004e0c40
push esi
mov dword [esp + 0x64], eax
call fcn.004e0c40
push esi
mov dword [esp + 0x60], eax
call fcn.004e0c40
push esi
mov dword [esp + 0x7c], eax
call fcn.004e0c40
push esi
mov dword [esp + 0x78], eax
call fcn.004e0c40
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xc]
add esp, 0x1c
test eax, eax
je 0x529181
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x529181
mov ebx, dword [esp + 0xec]
mov esi, eax
mov dword [esp + 0x28], ecx
test ebx, ebx
jl 0x529566
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.005645b0
add esp, 0xc
jmp 0x529566
push esi
call fcn.004e0c40
push esi
mov dword [esp + 0x78], eax
call fcn.004e0c40
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x529811
mov eax, dword [esp + 0xd8]
dec eax
push eax
call fcn.004a86f0
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.004e81d0
add esp, 0xc
test eax, eax
je 0x529811
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0xe8]
push ecx
push 0
push edx
call fcn.00530870
inc dword [esp + 0x50]
add esp, 0xc
test eax, eax
je 0x529811
test ebp, ebp
jne 0x52920d
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.0049d040
add esp, 8
test eax, eax
jle 0x529811
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push 0
push ecx
push 0
lea edx, [esp + 0x98]
push edx
push esi
push eax
call fcn.004ab960
add esp, 0x18
test eax, eax
je 0x529811
cmp ebx, edi
jle 0x529245
mov ecx, ebx
sub ecx, edi
lea esi, [esp + ecx + 0x8c]
jmp 0x52924c
lea esi, [esp + 0x8c]
cmp ebx, edi
jge 0x529267
mov edx, edi
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x90]
push 0
push eax
call fcn.00563860
add esp, 0xc
mov ecx, dword [esp + 0x28]
or byte [esi], 0x80
or byte [esi + edi - 1], 1
push ecx
push edi
push esi
call fcn.004a8b20
add esp, 0xc
test eax, eax
je 0x529811
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
xor edx, edx
test ebp, ebp
setne dl
push esi
push edx
push eax
push 0x40
push ecx
call fcn.00530cd0
add esp, 0x14
test eax, eax
jg 0x5292de
jne 0x529811
test ebp, ebp
je 0x5291cc
push 0x219
push 0x78463c
push 0x71
push 0x7e
push 0xa
mov dword [esp + 0x48], 0
call fcn.0049ca60
add esp, 0x14
jmp 0x529811
mov eax, dword [esp + 0x58]
test eax, eax
je 0x5292fc
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call fcn.005645b0
add esp, 0xc
push 0
push 2
push esi
call fcn.00530870
add esp, 0xc
test eax, eax
je 0x529811
push 0
mov edx, esi
push 3
push edx
call fcn.00530870
add esp, 0xc
test eax, eax
je 0x529811
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0xd8]
add esi, esi
add esi, esi
xor ecx, ecx
add esi, esi
dec eax
xor edx, edx
div esi
mov dword [esp + 0x3c], ecx
mov ebx, eax
test ecx, ecx
je 0x529362
mov eax, dword [esp + 0x24]
push ecx
push 0
push eax
call fcn.00530870
add esp, 0xc
test eax, eax
je 0x529811
mov ecx, dword [esp + 0x4c]
push 0
push ecx
call fcn.004a8ac0
add esp, 8
xor esi, esi
test ebx, ebx
jl 0x529432
mov ebp, dword [esp + 0xe8]
dec ebp
xor edi, edi
mov eax, ebp
test eax, eax
jl 0x52939b
mov ecx, dword [esp + 0x10]
nop
add byte [eax + ecx], 1
jne 0x52939b
sub eax, 1
jns 0x529390
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xe8]
push 0
push edx
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x98]
push eax
push ecx
push edx
call fcn.004ab960
add esp, 0x18
test eax, eax
je 0x529811
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.004a8b20
add esp, 0xc
test eax, eax
je 0x529811
mov eax, dword [esp + 0x38]
push edi
push eax
push eax
call fcn.004e81d0
add esp, 0xc
test eax, eax
je 0x529811
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x50]
push eax
push eax
call fcn.004e2660
add esp, 0xc
test eax, eax
je 0x529811
mov eax, dword [esp + 0x30]
add eax, eax
add eax, eax
add eax, eax
inc esi
add edi, eax
cmp esi, ebx
jle 0x529385
mov eax, dword [esp + 0xd8]
mov esi, dword [esp + 0x4c]
dec eax
push eax
push esi
call fcn.004a8f20
add esp, 8
test eax, eax
je 0x529811
push esi
mov esi, dword [esp + 0x68]
push esi
call fcn.004a8a10
add esp, 8
test eax, eax
je 0x529811
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push esi
call fcn.004e2660
add esp, 0xc
test eax, eax
je 0x529811
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
push edx
push ebp
call fcn.004e8080
add esp, 8
test eax, eax
je 0x529811
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x5c]
push eax
push ebp
push esi
push edi
push 0
call fcn.00508090
add esp, 0x14
test eax, eax
je 0x529811
call fcn.004a86f0
push eax
push edi
push ebp
call fcn.004e2590
add esp, 0xc
test eax, eax
je 0x529811
push ebp
push esi
mov esi, dword [esp + 0x78]
push esi
call fcn.004e2590
add esp, 0xc
test eax, eax
je 0x529811
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call fcn.004a8db0
add esp, 8
test eax, eax
jl 0x529517
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push edi
push 1
push edx
push 0x40
push esi
call fcn.00530cd0
add esp, 0x14
test eax, eax
jg 0x52954a
jne 0x529811
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xd8]
inc ecx
lea edx, [eax*4]
cmp ecx, edx
mov dword [esp + 0x3c], ecx
jl 0x529346
cmp dword [esp + 0x50], 0
jne 0x5297d3
mov edi, dword [esp + 0x6c]
jmp 0x5291c4
push 1
push 2
push edi
call fcn.00530870
add esp, 0xc
test eax, eax
je 0x529811
mov ebx, dword [esp + 0xec]
call fcn.004a86f0
mov edi, dword [esp + 0x1c]
push eax
push esi
push edi
call fcn.004e2590
add esp, 0xc
test eax, eax
je 0x529811
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
push 0
push ebp
call fcn.00508090
add esp, 0x14
test eax, eax
je 0x529811
test ebx, ebx
jge 0x5295b9
push 2
push edi
call fcn.004a8ac0
add esp, 8
test eax, eax
je 0x529811
jmp 0x5295c1
mov dword [esp + 0x20], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
push edx
push esi
push eax
call fcn.004fea20
add esp, 0xc
test eax, eax
je 0x529811
mov edi, dword [esp + 0x54]
test ebx, ebx
jl 0x5296c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, eax
push 0
mov byte [esp + 0x92], al
push edx
lea eax, [esp + 0x7c]
shr ecx, 8
push eax
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], cl
call fcn.004ab4b0
add esp, 0xc
test eax, eax
je 0x529811
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.004ab660
add esp, 0xc
test eax, eax
je 0x529811
push 4
lea ecx, [esp + 0x78]
push 0x784638
push ecx
call fcn.004ab660
add esp, 0xc
test eax, eax
je 0x529811
push 3
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.004ab660
add esp, 0xc
test eax, eax
je 0x529811
push 0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.004ab670
add esp, 0xc
test eax, eax
je 0x529811
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.004a8b20
add esp, 0xc
test eax, eax
je 0x529811
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push esi
push ebp
push edx
push edi
call fcn.004fb510
add esp, 0x18
test eax, eax
je 0x529811
cmp dword [edi + 4], 1
jne 0x529730
mov eax, dword [edi]
cmp dword [eax], 1
jne 0x529730
cmp dword [edi + 0xc], 0
jne 0x529730
test ebx, ebx
jge 0x529715
call fcn.004a86f0
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call fcn.004e2660
add esp, 0xc
test eax, eax
je 0x529811
inc dword [esp + 0x20]
test ebx, ebx
jl 0x5296c0
cmp dword [esp + 0x20], 0xffff
jbe 0x5295e0
jmp 0x529811
mov ecx, dword [esp + 0x24]
push 1
push 3
push ecx
call fcn.00530870
add esp, 0xc
test eax, eax
je 0x529811
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], 1
cmp esi, eax
je 0x529775
test eax, eax
je 0x529769
push eax
call fcn.004a8820
add esp, 4
push esi
call fcn.004a9250
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x28]
cmp esi, eax
je 0x529799
test eax, eax
je 0x52978d
push eax
call fcn.004a8820
add esp, 4
push esi
call fcn.004a9250
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x5297a9
push eax
call fcn.004a8820
add esp, 4
mov edx, dword [esp + 0x54]
push edx
call fcn.004a9250
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
je 0x5297c9
cmp dword [edi + 0x10], 0
je 0x5297c9
test eax, eax
jne 0x5297f5
mov dword [esp + 0x34], 0xffffffff
jmp 0x529811
push 0x272
push 0x78463c
push 0x70
push 0x7e
push 0xa
mov dword [esp + 0x48], 0
call fcn.0049ca60
add esp, 0x14
jmp 0x529811
mov eax, dword [esp + 0x60]
test eax, eax
je 0x529803
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x529811
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x529822
push eax
call fcn.004a28d0
add esp, 4
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x58], eax
je 0x529835
push eax
call fcn.004a28d0
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x52984c
push esi
call fcn.004e0c00
push esi
call fcn.004e0b80
add esp, 8
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x529861
push eax
call fcn.004fe9e0
add esp, 4
lea eax, [esp + 0x64]
push eax
call fcn.004ab6f0
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x28]
add esp, 4
xor ecx, esp
call fcn.005635df
add esp, 0xc0
ret