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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
mov ebx, dword [ebp + 8]
mov esi, edx
xorps xmm0, xmm0
lea eax, [esp + 0x90]
lea edi, [esp + 0x40]
mov dword [esp + 4], ecx
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
mov ecx, edi
push 0x30
push eax
call fcn.004252a4
add esp, 8
cmp byte [edi], 4
je 0x420260
mov eax, dword [esp + 0x40]
cmp al, 4
jne 0x42031b
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
movaps xmm0, xmmword [esp + 0xb0]
movaps xmm1, xmmword [esp + 0xa0]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp + 0x10], eax
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ecx
mov ecx, 0x18
mul ecx
jno 0x4202df
mov eax, dword [esp + 4]
mov ebx, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 8
mov dword [eax + 0x44], 0x80000000
jmp 0x42038c
mov dword [esp + 0xc], edi
lea edi, [esp + 0x40]
mov edx, esi
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004205da
add esp, 8
cmp dword [edi], 0
je 0x420331
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov ebx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 0x44], 0x80000000
jmp 0x42038c
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 0x44], 0x80000000
jmp 0x42039c
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
cmp edi, 0xfffffff
ja 0x420361
mov ecx, 0xa
mov eax, ebx
mul ecx
jo 0x420361
shl edi, 4
add eax, edi
jae 0x4203b1
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 8
mov dword [eax + 0x44], 0x80000000
mov ebx, dword [ebp + 8]
cmp dword [esp + 0x20], 0
je 0x42038c
mov ecx, dword [esp + 0x24]
call fcn.00425a4f
cmp dword [esp + 0x14], 0
je 0x42039c
mov ecx, dword [esp + 0x18]
call fcn.00425a4f
cmp dword [ebx], 0
je 0x4203a9
mov ecx, dword [ebx + 4]
call fcn.00425a4f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 8]
mov ebx, dword [ebp + 8]
add ecx, eax
jae 0x4203d6
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 8
mov dword [eax + 0x44], 0x80000000
jmp 0x42037c
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, ecx
lea edi, [esp + 0x40]
mov edx, esi
mov ecx, edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004205da
add esp, 8
cmp dword [edi], 0
je 0x420418
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 0x44], 0x80000000
jmp 0x42037c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
call fcn.0042585d
mov eax, 0xaaaaaaab
mul dword [esp + 0x1c]
shr edx, 1
and edx, 0xfffffff8
lea ebx, [edx + edx*2]
cmp ebx, 0x18
jae 0x4204f0
mov ebx, dword [ebp + 0xc]
lea esi, [esp + 0xf0]
mov ecx, esi
call fcn.004286d8
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xe0]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi - 8], xmm1
movsd qword [esi - 0x10], xmm0
call fcn.0042066b
movsd xmm1, qword [esp + 0x38]
lea esi, [esp + 0x40]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x30]
movaps xmm2, xmmword [esp + 0xc0]
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [esp + 0x20]
mov dword [edx + 0x4c], ecx
movsd qword [esi + 0x20], xmm0
movaps xmmword [esi], xmm2
mov ecx, 0xc
mov edi, edx
movsd qword [edx + 0x44], xmm1
movaps xmm1, xmmword [esp + 0xd0]
movaps xmmword [esi + 0x10], xmm1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x30], ebx
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x38], edi
mov dword [edx + 0x3c], esi
mov dword [edx + 0x40], eax
je 0x4203a9
mov ecx, dword [esp + 0x18]
jmp 0x4203a4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
movsd xmm0, qword [esi + 0x10]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [esi + 8]
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, ecx
shr eax, 8
add eax, dword [esp + 8]
jb 0x42057b
movzx edx, cl
add edx, eax
jb 0x42057b
cmp edx, dword [esp + 0x10]
ja 0x42057b
mov ecx, dword [esp + 0x2c]
sub edx, eax
add ebx, 0xffffffe8
add ecx, eax
call fcn.00428bd5
mov edi, edx
mov edx, eax
lea eax, [esp + 0x78]
lea ecx, [esp + 0x30]
push eax
push edi
call fcn.004206b4
add esp, 8
add esi, 0x18
cmp ebx, 0x18
jae 0x420504
jmp 0x42043f
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], 0
mov dword [eax], 8
mov dword [eax + 0x44], 0x80000000
call fcn.00425819
jmp 0x420379