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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [edi + 8], 9
jne 0x101249b8
lea eax, [edi + 9]
lea ecx, [0x103853e1]
push 0x27
push ecx
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10124a3b
xorps xmm0, xmm0
mov eax, 5
xor ecx, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x17], 0
movaps xmmword [esp], xmm0
movsd xmm1, qword [esp + 8]
mov dword [ebx + 0x10], 0x101
mov dword [ebx + 0xc], 0x10df786
mov dword [ebx + 8], 0x48862a09
mov byte [ebx + 0x14], cl
movsd xmm0, qword [esp]
movsd xmm2, qword [esp + 0x10]
mov ecx, dword [esp + 0x1f]
movsd qword [ebx + 0x1d], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [ebx + 0x15], xmm0
movsd qword [ebx + 0x25], xmm2
movsd qword [ebx + 0x2d], xmm1
mov dword [ebx + 0x34], ecx
mov dword [ebx + 4], eax
mov dword [ebx], 2
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [edi + 0x3c]
cmp cl, 0x17
jne 0x10124a4d
mov eax, 2
mov cl, 0x17
jmp 0x101249de
mov eax, 4
cmp cl, 4
jne 0x10124bb8
mov ecx, dword [edi + 0x38]
or ecx, dword [edi + 0x34]
jne 0x101249de
mov eax, esp
push dword [edi + 4]
push dword [edi]
push eax
call fcn.10097a20
add esp, 0xc
mov edx, dword [esp]
cmp edx, 8
jne 0x10124bbd
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x98]
push dword [esp + 8]
call fcn.10124030
add esp, 4
mov edx, edi
lea ecx, [esp + 0xc8]
push esi
call fcn.10124030
add esp, 4
movsd xmm1, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xb0]
movsd xmm0, qword [esp + 0xc0]
movsd xmm3, qword [esp + 0x98]
movsd qword [esp + 0x118], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [esp + 0x110], xmm2
movsd xmm2, qword [esp + 0xf0]
movsd qword [esp + 0x120], xmm0
movsd qword [esp + 0xf8], xmm3
movsd qword [esp + 0x108], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 0x90], xmm2
movsd xmm2, qword [esp + 0xe0]
movsd qword [esp + 0x100], xmm1
movsd xmm1, qword [esp + 0xe8]
movsd qword [esp + 0x80], xmm2
movsd xmm2, qword [esp + 0xc8]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [esp + 0xd8]
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [esp + 0xd0]
movsd qword [esp + 0x70], xmm1
lea eax, [esp + 0x68]
lea ecx, [esp + 0xf8]
push 0x1000
push eax
push ecx
lea eax, [esp + 0xc]
push eax
call fcn.10124cd0
add esp, 0x10
cmp dword [esp], 2
jne 0x10124c74
mov dword [ebx + 4], 4
jmp 0x10124a2b
jmp 0x101249de
mov esi, dword [esp + 0x34]
movsd xmm2, qword [esp + 0x2c]
movsd xmm4, qword [esp + 0x24]
movsd xmm3, qword [esp + 0x1c]
mov ecx, dword [esp + 4]
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0x10]
movsd xmm1, qword [esp + 0x14]
cmp edx, 4
mov dword [esp + 0x80], esi
mov esi, 4
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x70], xmm4
movsd qword [esp + 0x68], xmm3
jne 0x10124c3a
mov edx, dword [esp + 0x80]
movsd xmm2, qword [esp + 0x78]
movsd xmm4, qword [esp + 0x68]
movsd xmm3, qword [esp + 0x70]
mov esi, ecx
mov dword [esp + 0x18], edx
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm3
movsd qword [esp], xmm4
mov dword [ebx + 4], esi
movlps qword [ebx + 8], xmm0
mov dword [ebx + 0x10], eax
movlps qword [ebx + 0x14], xmm1
movsd xmm1, qword [esp + 8]
movsd xmm2, qword [esp]
mov eax, dword [esp + 0x18]
movsd qword [ebx + 0x24], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [ebx + 0x1c], xmm2
mov dword [ebx + 0x34], eax
movsd qword [ebx + 0x2c], xmm1
jmp 0x10124a2b
mov esi, esp
mov ecx, 0x18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x10124a31