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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
push edi
lea eax, [esp + 0xb0]
mov esi, ecx
xor edx, edx
mov dword [esp + 0x34], esi
push eax
mov dword [esp + 0x10], edx
call fcn.00421a20
xor edi, edi
mov dword [esp + 0x24], edi
nop dword [eax]
imul eax, edi, 0x58
movups xmm0, xmmword [eax + esi + 0x160]
movups xmm1, xmmword [eax + esi + 0x150]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax + esi + 0x170]
movaps xmmword [esp + 0x50], xmm1
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + esi + 0x180]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax + esi + 0x190]
movups xmmword [esp + 0x90], xmm0
movq xmm0, qword [eax + esi + 0x1a0]
movd eax, xmm1
movq qword [esp + 0xa0], xmm0
test eax, eax
je 0x424077
cmp dword [esp + 0x54], 0
je 0x424077
push dword [esp + 0x68]
mov ecx, dword [0x531eb4]
lea eax, [esp + 0x3c]
push eax
call fcn.00408d50
test eax, eax
je 0x424073
push dword [esp + 0x68]
mov ecx, dword [0x531eb4]
call fcn.00409170
cmp dword [esp + 0x6c], eax
jne 0x424073
push 1
mov ecx, esi
call fcn.004210a0
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
shl eax, 0x10
sub edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x5c]
shl eax, 0x10
mov dword [esp + 0x30], edx
sub edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x84]
call fcn.0041fe90
cdq
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x90]
push esi
cdq
push edi
push edx
push eax
call fcn.004ebdb0
shrd eax, edx, 0x10
push esi
add eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
cdq
push edi
push edx
push eax
call fcn.004ebdb0
mov ecx, dword [esp + 0x14]
shrd eax, edx, 0x10
mov edx, dword [esp + 0x88]
add eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
call fcn.0041fe90
mov ecx, eax
mov eax, dword [esp + 0x98]
imul ecx
mov ecx, dword [esp + 0x14]
shrd eax, edx, 0x10
mov edx, dword [esp + 0x8c]
add eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0041fe90
mov ecx, dword [esp + 0x7c]
movsd xmm3, qword [0x519008]
movaps xmm2, xmm3
movaps xmm1, xmm3
movd xmm4, eax
mov eax, dword [esp + 0x9c]
movd xmm0, ecx
add eax, ecx
cvtdq2pd xmm0, xmm0
mov ecx, dword [esp + 0x80]
cvtdq2pd xmm4, xmm4
divsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm4, qword [0x518df0]
divsd xmm1, xmm0
movaps xmm0, xmm3
subsd xmm1, xmm2
mulsd xmm1, xmm4
addsd xmm1, xmm2
movaps xmm2, xmm3
divsd xmm0, xmm1
cvttsd2si edx, xmm0
movd xmm0, ecx
mov dword [esp + 0x14], edx
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + 0xa0]
movaps xmm1, xmm3
add eax, ecx
cmp dword [esp + 0x24], 0
divsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
subsd xmm1, xmm2
mulsd xmm1, xmm4
addsd xmm1, xmm2
divsd xmm3, xmm1
cvttsd2si eax, xmm3
mov dword [esp + 0x18], eax
jne 0x423f75
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x40], eax
jb 0x423f3b
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0x44], eax
jb 0x423f3b
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
sub edi, ecx
test di, di
jne 0x423f3f
mov esi, dword [esp + 0x30]
sub esi, edx
test si, si
jne 0x423f3f
test edi, edi
jg 0x423f3f
test esi, esi
jg 0x423f3f
mov eax, dword [esp + 0x40]
sar edi, 0x10
add eax, edi
cmp eax, dword [esp + 0xb8]
jb 0x423f3f
mov eax, dword [esp + 0x44]
sar esi, 0x10
add eax, esi
cmp eax, dword [esp + 0xbc]
mov eax, dword [esp + 8]
jb 0x423f43
test eax, eax
jne 0x423f43
cmp dword [esp + 0x14], 0x10000
jne 0x423f43
cmp dword [esp + 0x18], 0x10000
jne 0x423f43
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0040b270
push dword [esp + 0x64]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x3c]
push 5
push eax
mov eax, dword [ebp + 0xc]
sub esi, dword [eax + 4]
sub edi, dword [eax]
push esi
mov edx, edi
call fcn.0040b1a0
mov esi, dword [esp + 0x44]
mov edx, 1
mov edi, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp 0x424077
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
push 1
push dword [esp + 0xa8]
push dword [esp + 0x6c]
push dword [esp + 0x24]
push dword [esp + 0x24]
push eax
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x54]
push ecx
mov ecx, dword [ebp + 8]
push eax
push dword [esp + 0x40]
call fcn.0041ba80
jmp 0x42405d
mov esi, dword [esp + 0x60]
test esi, esi
je 0x42402a
cmp esi, 1
je 0x42402a
cmp esi, 0x20
je 0x42402a
mov ecx, dword [ebp + 0xc]
push dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
sub edx, dword [ecx]
lea ecx, [esp + 0xcc]
push eax
inc edx
call fcn.00409b30
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 1
push dword [esp + 0xb0]
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x5c]
push ecx
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0xf8]
call fcn.0041ba80
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xf8]
push 1
push dword [esp + 0x98]
push esi
call fcn.0040b760
push dword [esp + 0x104]
call fcn.004ccfc8
mov esi, dword [esp + 0x74]
mov edx, 1
mov edi, dword [esp + 0x64]
add esp, 0x40
mov dword [esp + 0xc], edx
jmp 0x424077
mov ecx, dword [esp + 0xc]
push 1
push dword [esp + 0xa8]
push dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push eax
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x54]
push ecx
mov ecx, dword [ebp + 8]
push eax
push dword [esp + 0x40]
call fcn.0041a3f0
mov esi, dword [esp + 0x5c]
mov edx, 1
mov edi, dword [esp + 0x4c]
add esp, 0x28
mov dword [esp + 0xc], edx
jmp 0x424077
mov edx, dword [esp + 0xc]
test edi, edi
jne 0x424090
test edx, edx
jne 0x424090
mov ecx, dword [ebp + 8]
call fcn.0040b270
mov edx, 1
mov dword [esp + 0xc], edx
inc edi
mov dword [esp + 0x24], edi
cmp edi, 8
jb 0x423c50
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 8