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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x74]
push esi
mov ecx, dword [edi + 0x1c]
push ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
mov ebp, dword [ecx + 8]
sub ebp, dword [ecx]
mov dword [esp + 0x18], eax
imul eax, dword [edi + 0x18], 0x98
mov ebx, dword [eax + ecx - 0x90]
sub ebx, dword [eax + ecx - 0x98]
mov dword [esp + 0x20], ebx
call fcn.0052b400
add esp, 8
cmp eax, 0xfffffffa
ja 0x529e09
add eax, 5
cmp eax, 0xfffffff
ja 0x529e09
shl eax, 4
push eax
call fcn.0050bb50
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x529e09
sub esi, 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], esi
je 0x529dea
mov eax, dword [esp + 0x10]
nop dword [eax]
mov ecx, dword [esp + 0x24]
mov edx, ebp
mov edi, dword [edi + 0x24]
mov esi, ebp
mov dword [esp + 0x20], ecx
add ecx, 0x98
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0xa0]
mov ecx, dword [ecx]
sub eax, ecx
mov ebp, dword [ebp + 0xa4]
sub ebp, dword [ebx + 0x9c]
mov dword [esp + 0x14], eax
sub eax, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x34], eax
and ecx, 0x80000001
jns 0x529b6a
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x10]
xor ebp, ebp
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebp
cmp edx, 3
jbe 0x529c50
mov esi, dword [esp + 0x14]
mov eax, ebx
shl eax, 4
mov dword [esp + 0x2c], eax
jmp 0x529bb4
mov ebx, dword [esp + 0x18]
sub edx, ebp
lea eax, [esp + 0x30]
push edx
push ebx
push edi
push eax
call fcn.0052c7a0
lea eax, [esp + 0x40]
push eax
call fcn.0052c500
add esp, 0x14
xor edx, edx
test esi, esi
je 0x529c2d
mov ecx, dword [esp + 0x30]
lea eax, [ebx + ebx*2]
lea esi, [edi + eax*4]
add ecx, 8
mov eax, dword [esp + 0x18]
lea ebx, [edi + ebx*8]
shl eax, 2
mov dword [esp + 0x1c], eax
lea ebp, [eax + edi]
mov eax, dword [ecx - 8]
lea ebp, [ebp + 4]
mov dword [edi + edx*4], eax
lea ebx, [ebx + 4]
mov eax, dword [ecx - 4]
lea esi, [esi + 4]
mov dword [ebp - 4], eax
lea ecx, [ecx + 0x10]
mov eax, dword [ecx - 0x10]
inc edx
mov dword [ebx - 4], eax
mov eax, dword [ecx - 0xc]
mov dword [esi - 4], eax
cmp edx, dword [esp + 0x14]
jb 0x529bf4
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
jmp 0x529c34
shl ebx, 2
mov dword [esp + 0x1c], ebx
add edi, dword [esp + 0x2c]
add ebp, 4
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], ebp
lea eax, [ebp + 3]
cmp eax, edx
jb 0x529bb0
jmp 0x529c57
shl ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebp, edx
jae 0x529e00
sub edx, ebp
lea eax, [esp + 0x30]
mov ebp, dword [esp + 0x18]
push edx
push ebp
push edi
push eax
mov dword [esp + 0x38], edx
call fcn.0052c7a0
lea eax, [esp + 0x40]
push eax
call fcn.0052c500
mov ecx, dword [esp + 0x28]
add esp, 0x14
xor esi, esi
test ecx, ecx
je 0x529cd9
mov edx, dword [esp + 0x30]
lea eax, [ebx + edi]
mov dword [esp + 0x2c], eax
add edx, 4
mov ebx, eax
nop dword [eax]
mov eax, dword [esp + 0x28]
sub eax, 1
je 0x529cc4
sub eax, 1
je 0x529cc0
sub eax, 1
jne 0x529cca
mov eax, dword [edx + 4]
lea ecx, [esi + ebp*2]
mov dword [edi + ecx*4], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [ebx], eax
mov eax, dword [edx - 4]
mov dword [edi + esi*4], eax
inc esi
add edx, 0x10
add ebx, 4
cmp esi, ecx
jb 0x529ca0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, edx
mov edx, dword [esp + 0x58]
sub ecx, edx
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 0x9c]
and eax, 0x80000001
jns 0x529cff
dec eax
or eax, 0xfffffffe
inc eax
mov esi, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov esi, dword [esi + 0x24]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ecx
cmp eax, 3
jbe 0x529d7c
lea edi, [eax - 4]
shr edi, 2
inc edi
push 4
push ebp
lea eax, [esp + 0x58]
push esi
push eax
call fcn.0052ca50
lea eax, [esp + 0x60]
push eax
call fcn.0052c500
mov edx, dword [esp + 0x24]
add esp, 0x14
test edx, edx
je 0x529d70
mov eax, dword [esp + 0x30]
mov ecx, esi
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x10]
movups xmmword [ecx], xmm0
add ecx, ebx
sub edx, 1
jne 0x529d60
add esi, 0x10
sub edi, 1
jne 0x529d32
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 3
je 0x529dcf
push edi
push ebp
lea eax, [esp + 0x58]
push esi
push eax
call fcn.0052ca50
lea eax, [esp + 0x60]
push eax
call fcn.0052c500
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x529dd3
lea ecx, [edi*4]
mov ebp, eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
push ecx
push edi
push esi
call fcn.00434c20
mov ecx, dword [esp + 0x38]
add esp, 0xc
add edi, 0x10
add esi, ebx
sub ebp, 1
jne 0x529db6
mov eax, dword [esp + 0x10]
sub dword [esp + 0x78], 1
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
jne 0x529b10
mov eax, dword [esp + 0x30]
push eax
call fcn.0050bb30
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ebp, dword [esp + 0x18]
jmp 0x529cdd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret