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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov esi, esp
mov dword [esi + 0x1b8], ebp
mov dword [esi + 0x1bc], esp
mov dword [esi + 0x1c8], 0xffffffff
mov dword [esi + 0x1c4], 0x1001b850
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x38]
mov eax, dword fs:[0]
mov dword [esi + 0x1c0], eax
lea eax, [esi + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x1c], al
lea eax, [esi + 0x18]
push eax
push ebx
call fcn.10047c60
add esp, 8
cmp dword [esi + 0x38], 0
je 0x100122ed
mov eax, dword [esi + 0x3c]
mov dword [edi + 4], eax
mov byte [edi], 6
jmp 0x10012883
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100124e2
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov dword [esi + 0xbc], eax
mov byte [esi + 0xf], 1
mov dword [esi + 0x1c8], 0
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], edx
push 0
call fcn.1016f860
add esp, 4
test eax, eax
je 0x100128cd
movdqu xmm1, xmmword [eax]
movd edx, xmm1
pshufd xmm0, xmm1, 0x55
movdqa xmmword [esi + 0x20], xmm1
add edx, 1
movd ecx, xmm0
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [esi + 0xf], 1
call fcn.1012fbc0
movaps xmm0, xmmword [esi + 0x20]
mov dword [esi + 0x1c8], 5
lea ecx, [esi + 0xc8]
movups xmmword [esi + 0x78], xmm0
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0xc4]
movq xmm0, qword [esi + 0xbc]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 8
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xb0], eax
lea eax, [esi + 0x18]
movq qword [esi + 0xa8], xmm0
push eax
push ecx
call fcn.10047f80
add esp, 8
cmp byte [esi + 0xc8], 6
lea edx, [esi + 0x38]
jne 0x10012559
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xac]
mov byte [ecx], 6
test eax, eax
je 0x10012417
push 1
push eax
push dword [esi + 0xa8]
call fcn.100985c0
add esp, 0xc
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x10012443
mov edx, dword [esi + 0x88]
lea ecx, [eax*4 + 0x13]
and ecx, 0xfffffff0
lea eax, [eax + ecx + 0x11]
sub edx, ecx
push 0x10
push eax
push edx
call fcn.100985c0
add esp, 0xc
mov edi, dword [esi + 0x98]
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x20], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0xb8], edi
jmp 0x1001248e
inc ebx
lea eax, [edi + 0x48]
mov ecx, edi
mov dword [esi + 0x1c8], 2
mov dword [esi + 0x20], ebx
mov dword [esi + 0x14], eax
call fcn.100786d0
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x10], eax
je 0x100124b9
mov ebx, eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10012470
push 1
push eax
push dword [edi + 0x38]
call fcn.100985c0
add esp, 0xc
mov dword [esi + 0x1c8], 2
jmp 0x10012470
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100124da
shl eax, 3
lea eax, [eax + eax*8]
push 8
push eax
push dword [esi + 0x98]
call fcn.100985c0
add esp, 0xc
mov edi, dword [ebp + 8]
jmp 0x10012883
push 0
call fcn.1016f860
add esp, 4
test eax, eax
je 0x100128f0
movdqu xmm1, xmmword [eax]
movd edx, xmm1
pshufd xmm0, xmm1, 0x55
movdqa xmmword [esi + 0x20], xmm1
add edx, 1
movd ecx, xmm0
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.1012fbc0
movdqa xmm0, xmmword [esi + 0x20]
mov byte [edi], 5
movdqu xmmword [edi + 8], xmm0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 8
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
jmp 0x10012883
movsd xmm2, qword [esi + 0xf0]
movsd xmm1, qword [esi + 0xe8]
movq xmm0, qword [esi + 0xf8]
lea eax, [esi + 0x148]
mov dword [esi + 0x1c8], 3
lea ecx, [esi + 0xa8]
lea edi, [esi + 0x78]
movsd qword [esi + 0x170], xmm2
movsd qword [esi + 0x168], xmm1
movsd xmm2, qword [esi + 0xe0]
movsd xmm1, qword [esi + 0xd8]
movq qword [esi + 0x178], xmm0
movsd qword [esi + 0x160], xmm2
movsd qword [esi + 0x158], xmm1
movsd xmm2, qword [esi + 0xc8]
movq xmm1, qword [esi + 0xd0]
movq qword [esi + 0x150], xmm1
movsd qword [esi + 0x148], xmm2
push eax
push ecx
push edi
push edx
call fcn.10057dc0
add esp, 0x10
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x60]
movq xmm0, qword [esi + 0x70]
movsd qword [esi + 0x138], xmm2
movsd xmm2, qword [esi + 0x58]
movsd qword [esi + 0x130], xmm1
movsd xmm1, qword [esi + 0x50]
movq qword [esi + 0x140], xmm0
movsd qword [esi + 0x128], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0x120], xmm1
movq xmm1, qword [esi + 0x48]
movsd qword [esi + 0x110], xmm2
movq qword [esi + 0x118], xmm1
cmp byte [esi + 0x110], 6
je 0x10012660
lea ecx, [esi + 0x110]
call fcn.10012de0
nop dword [eax]
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.10047c60
add esp, 8
cmp dword [esi + 0xc8], 0
mov edi, dword [esi + 0xcc]
jne 0x100128b1
test edi, edi
je 0x100127ec
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xd4]
mov dword [esi + 0x110], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c8], 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x114], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x118], ecx
push eax
lea eax, [esi + 0x38]
push eax
call fcn.10047f80
add esp, 8
movzx eax, byte [esi + 0x38]
cmp al, 6
je 0x10012899
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x1c8], 3
mov dword [esi + 0x104], ecx
mov dword [esi + 0x10c], edi
lea edi, [esi + 0x39]
mov dword [esi + 0x108], edx
lea edx, [esi + 0x181]
movsd xmm0, qword [edi + 0x2f]
movsd xmm1, qword [edi + 0x20]
movsd xmm2, qword [edi + 0x28]
movsd qword [edx + 0x2f], xmm0
movsd qword [edx + 0x28], xmm2
movsd qword [edx + 0x20], xmm1
movsd xmm2, qword [edi + 0x18]
movsd xmm1, qword [edi + 0x10]
movsd qword [edx + 0x18], xmm2
movsd qword [edx + 0x10], xmm1
movsd xmm2, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm2
mov byte [esi + 0x180], al
lea eax, [esi + 0x180]
push eax
lea eax, [esi + 0x104]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.10057dc0
add esp, 0x10
lea eax, [esi + 0x39]
movsd xmm2, qword [eax + 0x2f]
movsd xmm1, qword [eax + 0x27]
movq xmm0, qword [eax + 0x37]
movsd qword [esi + 0xf0], xmm2
movsd xmm2, qword [eax + 0x1f]
movsd qword [esi + 0xe8], xmm1
movsd xmm1, qword [eax + 0x17]
movq qword [esi + 0xf8], xmm0
movsd qword [esi + 0xe0], xmm2
movsd xmm2, qword [eax + 7]
movsd qword [esi + 0xd8], xmm1
movq xmm1, qword [eax + 0xf]
movsd qword [esi + 0xc8], xmm2
movq qword [esi + 0xd0], xmm1
cmp byte [esi + 0xc8], 6
je 0x10012660
lea ecx, [esi + 0xc8]
call fcn.10012de0
jmp 0x10012660
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0x80]
mov edi, dword [ebp + 8]
movsd qword [esi + 0x67], xmm0
movsd xmm0, qword [esi + 0x98]
movsd qword [esi + 0x47], xmm1
mov byte [edi], 5
movsd qword [esi + 0x5f], xmm0
movsd xmm0, qword [esi + 0x90]
movsd qword [esi + 0x57], xmm0
movsd xmm0, qword [esi + 0x88]
movsd qword [esi + 0x4f], xmm0
movsd xmm0, qword [esi + 0x78]
movsd qword [esi + 0x3f], xmm0
movsd xmm1, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x50]
movq xmm0, qword [esi + 0x38]
movsd qword [edi + 9], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [edi + 0x19], xmm2
movsd xmm2, qword [esi + 0x60]
movq qword [edi + 1], xmm0
movsd qword [edi + 0x11], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [edi + 0x29], xmm2
movsd qword [edi + 0x21], xmm1
movq xmm1, qword [esi + 0x67]
movq qword [edi + 0x30], xmm1
mov eax, dword [esi + 0x1c0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x3c]
test eax, eax
je 0x100128b1
push 1
push eax
push dword [esi + 0x14]
call fcn.100985c0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov byte [eax], 6
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x10012421
jmp 0x10012443
mov byte [esi + 0xf], 1
push 0x101b18c8
push 0x101b1a34
lea eax, [esi + 0x38]
push eax
push 0x46
push 0x101b1830
call fcn.101af4e0
add esp, 0x14
ud2
push 0x101b18c8
push 0x101b1a34
push ebx
push 0x46
push 0x101b1830
call fcn.101af4e0
add esp, 0x14
ud2