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

Disassembly:
sub esp, 0x44
mov eax, dword [0x586220]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x68]
test ebx, ebx
je 0x529af1
push ebp
xor ebp, ebp
mov byte [esp + 0xe], 0
push esi
test eax, eax
je 0x5298ec
mov esi, dword [esp + 0x64]
mov byte [esp + 0x12], 1
test esi, esi
je 0x5298e7
cmp esi, 4
jb 0x5298e7
push esi
push ebp
push eax
call fcn.00535f30
mov ebp, esi
add esp, 0xc
shr ebp, 2
test ebp, ebp
jne 0x5298ec
mov byte [esp + 0x12], 0
mov dword [ebx], 0
test edi, edi
je 0x5298fc
mov dword [edi], 0
call fcn.0052e230
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x529ad7
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], 0x48
test ecx, ecx
mov dword [esp + 0x14], 1
mov al, 1
mov dword [esp + 0x2c], 0
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
xor ecx, ecx
mov byte [esp + 0x13], al
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0x12], cl
je 0x529976
cmp byte [esp + 0x68], cl
jne 0x529976
call fcn.0052e580
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x529972
mov ecx, 0xfffffffd
xor al, al
mov dword [esp + 0x14], ecx
jmp 0x52997b
mov al, byte [esp + 0x13]
mov ecx, 1
mov dword [esp + 0x4c], ebx
test al, al
je 0x529a9e
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call edx
test eax, eax
jne 0x529a89
cmp byte [esp + 0x68], al
je 0x5299de
cmp byte [esp + 0x12], al
je 0x5299d7
cmp esi, ebp
jae 0x5299cf
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [ecx + esi*4], eax
test edi, edi
je 0x5299c8
add dword [edi], 4
mov edx, dword [esp + 0x18]
inc esi
jmp 0x529987
mov dword [esp + 0x14], 2
mov edx, dword [esp + 0x18]
inc esi
jmp 0x529987
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x529a71
cmp byte [esp + 0x12], 0
je 0x529a71
cmp esi, ebp
jae 0x529a69
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0
push ecx
push 0x1c
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0
push ecx
push 0
push dword [esp + 0x3c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x44], xmm0
movq qword [esp + 0x54], xmm0
call eax
test eax, eax
jne 0x529a71
cmp dword [esp + 0x4c], eax
je 0x529a71
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [ecx + esi*4], eax
test edi, edi
je 0x529a48
add dword [edi], 4
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
jmp 0x529a71
mov dword [esp + 0x14], 2
test ebx, ebx
je 0x529a7b
push ebx
call fcn.0052d2c0
mov ebx, dword [esp + 0x2c]
inc esi
mov edx, dword [esp + 0x18]
jmp 0x529987
test ebx, ebx
je 0x529a9a
cmp byte [esp + 0x68], 0
jne 0x529a9a
push ebx
call fcn.0052d2c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [eax], esi
test esi, esi
jne 0x529ac0
lea eax, [esi - 4]
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00535482
add esp, 0x44
ret 0x1c
pop esi
pop ebp
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00535482
add esp, 0x44
ret 0x1c
pop esi
pop ebp
pop edi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00535482
add esp, 0x44
ret 0x1c
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
pop edi
pop ebx
xor ecx, esp
call fcn.00535482
add esp, 0x44
ret 0x1c