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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov esi, dword [ecx + 0x28]
mov dword [esp], ecx
test esi, esi
je 0x530999
cmp esi, 0x3ffffff
ja 0x530dfa
mov edi, esi
shl edi, 5
js 0x530dfa
push 8
pop ecx
mov edx, edi
call fcn.005077e6
test eax, eax
jne 0x53099c
push 8
pop ecx
mov edx, edi
call fcn.0062d0a0
push 8
pop eax
mov edx, dword [esp]
mov ebx, esi
lea ecx, [edx + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x24]
mov dword [edx + 0x20], esi
mov dword [edx + 0x24], eax
mov eax, esi
and dword [edx + 0x28], 0
shl eax, 5
mov dword [esp + 4], eax
lea edi, [eax + ecx - 0x20]
mov dword [esp + 0x14], ecx
cmp ebx, 2
jb 0x530a68
mov ecx, dword [esp + 0x14]
dec ebx
mov edx, esi
movsd xmm0, qword [ecx + 0x18]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [edi + 0x10]
movsd xmm1, qword [edi + 0x18]
movsd xmm2, qword [edi]
movsd xmm3, qword [edi + 8]
movsd qword [ecx], xmm2
movsd qword [ecx + 0x18], xmm1
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 8], xmm3
movsd xmm0, qword [esp + 0x38]
movsd qword [edi + 0x18], xmm0
movsd xmm0, qword [esp + 0x30]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
push ebx
call fcn.005282c9
pop eax
add edi, 0xffffffe0
jmp 0x5309cd
mov eax, dword [esp]
mov ebx, dword [esp + 4]
xor edi, edi
xor edx, edx
mov dword [esp + 0xc], 0
and dword [eax + 0x2c], 0
mov eax, dword [esp + 0x14]
lea ecx, [ebx + eax]
lea esi, [ebx + eax - 0x20]
neg ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
test ebx, ebx
je 0x530b6b
mov eax, dword [esi + 0x10]
mov dword [esp + 4], ebx
mov ebx, dword [esi + 0x14]
mov dword [esp + 0xc], edx
mov edx, ecx
mov dword [esp + 8], eax
sub edx, eax
mov eax, edi
sbb eax, ebx
mov eax, dword [esi + 8]
cmovb ecx, dword [esp + 8]
cmovb edi, ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ecx
mov ecx, 0
cmovb edx, ecx
mov ecx, esi
cmp eax, edx
jbe 0x530ae7
call fcn.00530475
cmp byte [esi + 0x1c], 0
je 0x530b4e
mov byte [esi + 0x1c], 1
mov ebx, dword [esi + 8]
jmp 0x530b07
call fcn.00489f6a
mov dword [esi], 0x767054
mov dword [esi + 4], 0x7b0e68
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov byte [esi + 0x1c], 1
xor ebx, ebx
mov byte [esp + 8], 1
mov dword [esi + 0x18], ebx
mov eax, dword [esp]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov edx, 0
mov eax, dword [eax + 0x2c]
add ecx, ebx
adc edi, 0
add eax, ebx
cmp byte [esp + 8], 0
cmovne ebx, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
add esi, 0xffffffe0
add edx, ebx
mov ebx, dword [esp]
mov dword [ebx + 0x2c], eax
mov ebx, dword [esp + 4]
add ebx, 0x20
jmp 0x530a92
mov ebx, dword [esi + 8]
xor edx, edx
imul eax, ebx, 6
push 5
pop ecx
div ecx
cmp eax, dword [esi + 0x18]
setae byte [esp + 8]
setae byte [esi + 0x1c]
jae 0x530b0c
jmp 0x530b0f
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x30], ecx
lea ecx, [esp + 0x68]
call fcn.00530dff
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x5d]
xor ebx, ebx
mov dword [esp], 0
cmp edx, dword [esp + 0x14]
je 0x530d75
mov eax, dword [edx - 8]
lea esi, [edx - 0x20]
mov dword [esp + 0x90], eax
movsd xmm0, qword [edx - 0x10]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [edx - 0x20]
movsd xmm1, qword [edx - 0x18]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
mov cl, byte [edx - 1]
mov al, byte [edx - 4]
mov byte [esp + 0x12], cl
cmp al, 2
movzx ecx, word [edx - 3]
mov word [esp + 0x10], cx
je 0x530d77
movsd xmm0, qword [esp + 0x88]
mov ecx, dword [esp + 0x90]
movsd xmm1, qword [esp + 0x80]
mov edx, edi
mov ah, byte [esp + 0x12]
movzx edx, word [esp + 0x10]
test al, al
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0x78]
mov dword [esp + 0x58], ecx
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
mov byte [esp + 0x5c], al
mov byte [edi + 2], ah
mov word [edi], dx
je 0x530c91
cmp dword [esp + 0x48], 0
je 0x530c81
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x58]
movsd xmm2, qword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x20], xmm2
movsd qword [esp + 0x28], xmm1
call fcn.00528632
mov edx, esi
jmp 0x530b8f
lea ecx, [esp + 0x40]
call fcn.00489f6a
mov edx, esi
jmp 0x530b8f
mov eax, dword [esp + 0x50]
mov edx, ebx
mov edx, dword [esp]
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
add ecx, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
adc edx, 0
xor ecx, dword [esp + 4]
xor edx, eax
or edx, ecx
jne 0x530cd0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp]
jmp 0x530d46
cmp dword [esp + 8], 0
mov ecx, dword [esp + 4]
je 0x530d46
lea ecx, [esp + 0x20]
lea edx, [esp + 0x68]
call fcn.00455aef
lea ecx, [esp + 0x94]
lea edx, [esp + 0x20]
call fcn.00530e41
movsd xmm0, qword [esp + 0x94]
movsd xmm1, qword [esp + 0x9c]
mov ecx, dword [esp]
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x20]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], 1
call fcn.00528632
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x68]
push dword [esp + 0x48]
mov ebx, eax
call fcn.00530eaf
pop eax
lea ecx, [esp + 0x40]
call fcn.00489f6a
mov dword [esp], ebx
mov ebx, dword [esp + 4]
mov edx, esi
jmp 0x530b8f
mov esi, edx
mov edi, dword [esp + 0x14]
sub esi, edi
mov ecx, edi
shr esi, 5
mov edx, esi
call fcn.00528739
mov ecx, dword [esp + 0x64]
mov edx, edi
call fcn.005240e9
cmp dword [esp + 0x6c], 0
je 0x530de9
lea esi, [esp + 0x20]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.00455aef
lea edi, [esp + 0x40]
mov edx, esi
mov ecx, edi
call fcn.00530e41
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, dword [esp]
mov eax, dword [edi + 8]
lea edx, [esp + 0x20]
movsd qword [esi], xmm0
movsd qword [esi + 8], xmm1
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], 1
call fcn.00528632
lea ecx, [esp + 0x68]
call fcn.00455d6a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004535c0