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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
movsd xmm1, qword [eax + 0x48]
mov edx, dword [ecx + 8]
movsd xmm2, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x40]
movsd xmm3, qword [eax]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [ecx]
mov dword [esp + 0x98], edx
movsd qword [esp + 0x30], xmm0
mov ebx, dword [esp + 0x34]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [eax + 0x20]
movsd qword [esp + 0x50], xmm3
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [eax + 0x30]
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [eax + 0x28]
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [eax + 0x38]
mov eax, dword [esp + 0x3c]
cmp ebx, eax
movsd qword [esp + 0x88], xmm1
mov dword [esp + 0x4c], eax
je 0x414540
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x94]
movsd xmm0, qword [esp + 0x50]
mov edi, dword [esp + 0x70]
add ebx, 0xc
mov dword [esp + 0x48], eax
movzx eax, byte [esp + 0x64]
imul ecx, edx, 0x58
movaps xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [esp + 0x78]
mov dword [esp + 0xc], edi
mov byte [esp + 0x13], al
movzx eax, byte [esp + 0x74]
movaps xmmword [esp + 0xc0], xmm0
mov byte [esp + 0x12], al
mov eax, dword [esp + 0x98]
lea esi, [ecx + eax + 0x55]
movzx eax, byte [esp + 0x88]
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x11], al
movzx eax, byte [esp + 0x89]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [ebx - 0xc]
test ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], eax
mov eax, dword [ebx - 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x2c], eax
mov eax, 1
je 0x4143fe
js 0x4145ee
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push dword [esp + 0x1c]
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4145c4
push dword [esp + 0x18]
push dword [esp + 0x4c]
mov dword [esp + 0x28], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0xc], 0
je 0x414442
js 0x4145cb
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push dword [esp + 0x10]
call fcn.00409a80
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4145cf
push dword [esp + 0xc]
push dword [esp + 0x48]
push dword [esp + 0x24]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
sub eax, 1
jb 0x4145a3
push eax
mov edi, dword [esp + 0x28]
push edi
lea eax, [esp + 0xb8]
push eax
call fcn.0048e920
add esp, 0xc
movsd xmm0, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
movsd qword [esp + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0xd0]
movsd qword [esp + 0xa8], xmm1
movlps qword [esi - 0x55], xmm0
mov dword [esi - 0x4d], ecx
mov dword [esi - 0x49], eax
movzx eax, byte [esp + 0x13]
mov dword [esi - 0x45], ecx
mov byte [esi - 0x41], al
mov eax, dword [esp + 0xc]
mov dword [esi - 0x3d], eax
mov dword [esi - 0x39], edx
mov dword [esi - 0x35], eax
movzx eax, byte [esp + 0x12]
movzx edx, byte [esp + 0x11]
mov byte [esi - 0x31], al
mov eax, dword [esp + 0x28]
movsd xmm1, qword [esp + 0xa8]
movsd xmm0, qword [esp + 0xa0]
movsd qword [esi - 0x25], xmm1
movaps xmm1, xmmword [esp + 0xc0]
movsd qword [esi - 0x2d], xmm0
movups xmmword [esi - 0x1d], xmm1
mov dword [esi - 0xd], eax
mov eax, dword [esp + 0x2c]
mov dword [esi - 9], edi
mov dword [esi - 5], eax
mov byte [esi - 1], dl
movzx edx, byte [esp + 0x10]
lea eax, [ebx - 0xc]
add ebx, 0xc
add eax, 0xc
mov byte [esi], dl
mov edx, dword [esp + 0x14]
add esi, 0x58
inc edx
cmp eax, dword [esp + 0x4c]
jne 0x4143b0
jmp 0x414547
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov dword [eax], edx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x414567
push 1
push eax
push dword [esp + 0x64]
call main
add esp, 0xc
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41457e
push 1
push eax
push dword [esp + 0x74]
call main
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41459b
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x38]
call main
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x94], ecx
push 0x5711d4
push 0
push eax
call fcn.004df620
add esp, 0xc
jmp 0x414608
mov eax, 1
jmp 0x4145f0
xor eax, eax
jmp 0x4145d4
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
push dword [esp + 0xc]
push eax
call fcn.004ce340
add esp, 8
jmp 0x414608
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], ecx
push dword [esp + 0x18]
push eax
call fcn.004ce340
add esp, 8
ud2