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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], eax
movzx eax, byte [esi]
cmp eax, 5
je 0x1012e6ce
test eax, eax
jne 0x1012f80a
mov ecx, esi
call fcn.1012cc00
mov byte [esi], 5
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x1012e717
js 0x1012f803
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x1012e6f9
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1012e708
mov dword [esi], eax
push dword [ebp + 0xc]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x1012e71c
push dword [ebp + 0xc]
push 1
call fcn.1001ac80
add esp, 8
ud2
mov eax, 1
mov esi, dword [ebp + 0x10]
lea edi, [esi + 4]
push dword [ebp + 0xc]
push ebx
mov dword [esp + 0xc], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi]
mov dword [esp + 0x24], edi
test ecx, ecx
je 0x1012e80a
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x10c]
mov dword [esp + 8], ecx
movzx ecx, word [ecx + 0x192]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
lea ecx, [ecx*4]
lea esi, [ecx + ecx*2]
nop
test esi, esi
je 0x1012e7c0
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
lea ebx, [eax + 0xc]
mov edi, edx
sub edi, ecx
cmovb ecx, edx
push ecx
push dword [eax]
push dword [esp + 0xc]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
cmovne edi, eax
xor ecx, ecx
mov eax, 0xff
test edi, edi
setne cl
cmovs ecx, eax
inc dword [esp + 0x14]
add esi, 0xfffffff4
mov eax, ebx
cmp cl, 1
je 0x1012e770
movzx eax, cl
test eax, eax
je 0x1012e7e9
jmp 0x1012e7c8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub eax, 1
jb 0x1012e80c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + eax*4 + 0x198]
jmp 0x1012e748
cmp dword [ebp + 0xc], 0
je 0x1012e801
mov eax, dword [0x1044eff8]
push dword [esp + 4]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 8]
jmp 0x1012e96f
xor ecx, ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x1012e964
movsd xmm0, qword [esp + 0x148]
mov edx, dword [ebp + 0xc]
mov byte [esp + 0x140], 0
mov dword [esp + 0xac], eax
movsd xmm1, qword [esp + 0x150]
mov esi, dword [esp + 0x24]
test ecx, ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [esp + 0x140]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0
movsd qword [esp + 0xe8], xmm1
mov dword [esp + 0xc4], edx
movsd qword [esp + 0xd8], xmm0
je 0x1012e997
movsd xmm1, qword [esp + 0x150]
mov eax, dword [esp + 0xb4]
movsd xmm0, qword [esp + 0xac]
movsd xmm2, qword [esp + 0x140]
mov dword [esp + 8], ecx
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x148]
mov dword [esp + 0x30], eax
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0x98], xmm1
movzx esi, word [ecx + 0x192]
cmp esi, 0xb
jae 0x1012ea44
mov edx, dword [esp + 0x14]
lea eax, [edx + 1]
lea edi, [edx + edx*2]
cmp eax, esi
lea ebx, [ecx + edi*4 + 0x10c]
jbe 0x1012ea7d
mov eax, dword [esp + 0xb4]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0xac]
movsd qword [ebx], xmm0
movsd xmm0, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
jmp 0x1012eb21
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x140], 0
lea eax, [eax + eax*2]
lea edi, [ecx + eax*8]
lea ecx, [esp + 0x140]
call fcn.1012cc00
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x1012e9ba
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1012f8f2
mov dword [esi], eax
push 0x198
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1012f8f2
mov dword [eax + 0x108], 0
mov edi, eax
movsd xmm0, qword [esp + 0xac]
movsd qword [eax + 0x10c], xmm0
mov eax, dword [esp + 0xb4]
mov dword [edi + 0x114], eax
mov eax, dword [ebp + 0x10]
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
movsd qword [edi], xmm0
movsd qword [edi + 8], xmm1
movsd xmm0, qword [esp + 0xe8]
movsd qword [edi + 0x10], xmm0
mov word [edi + 0x192], 1
mov dword [eax + 4], edi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
jmp 0x1012e98d
cmp dword [esp + 0x14], 5
mov bl, 1
mov edi, 4
jb 0x1012eb6a
je 0x1012eb56
mov eax, dword [esp + 0x14]
cmp eax, 6
jne 0x1012eb5c
xor ebx, ebx
mov edi, 5
mov dword [esp + 0x14], 0
jmp 0x1012eb6a
mov ecx, dword [esp + 8]
mov dword [esp + 4], edi
mov edi, esi
lea eax, [eax + eax*2]
sub edi, edx
mov dword [esp + 0xc], eax
add ecx, 0x10c
lea eax, [ecx + eax*4]
lea ecx, [edi*4]
lea ecx, [ecx + ecx*2]
push ecx
push ebx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
shl edi, 3
mov dword [ebx + 8], eax
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0xac]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 8]
movsd qword [ebx], xmm0
movsd xmm0, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
lea ecx, [ecx + edx*8]
lea edx, [edi + edi*2]
mov edi, dword [esp + 4]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
push edx
push eax
push ecx
call sub.msvcrt.dll_memmove
mov ecx, dword [esp + 0x14]
add esp, 0xc
movsd xmm0, qword [esp + 0x50]
inc esi
movsd qword [ecx + edi*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [ecx + edi*8 + 8], xmm1
movsd qword [ecx + edi*8], xmm0
mov word [ecx + 0x192], si
mov esi, ecx
mov ecx, dword [ebp + 0x10]
jmp 0x1012f65f
mov edi, dword [esp + 0x14]
jmp 0x1012eb6a
add eax, 0xfffffff9
mov edi, 6
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x1012eb8d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1012f906
mov dword [esi], eax
push 0x198
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1012f906
mov esi, dword [esp + 8]
mov dword [eax + 0x108], 0
mov dword [esp + 0x10], ebx
mov ecx, edi
not edi
mov dword [esp + 4], ecx
lea ecx, [ecx + ecx*2]
movzx ebx, word [esi + 0x192]
add edi, ebx
mov word [eax + 0x192], di
cmp edi, 0xb
mov edx, dword [esi + ecx*4 + 0x114]
mov dword [esp + 0x118], edx
movsd xmm0, qword [esi + ecx*4 + 0x10c]
movsd qword [esp + 0x110], xmm0
movsd xmm0, qword [esi + ecx*8 + 0x10]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [esi + ecx*8]
movsd xmm1, qword [esi + ecx*8 + 8]
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
ja 0x1012f917
mov ecx, dword [esp + 4]
inc ecx
sub ebx, ecx
cmp ebx, edi
jne 0x1012f92b
mov esi, dword [esp + 8]
lea ebx, [eax + 0x10c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ebx
lea ebx, [ecx + ecx*2]
lea ecx, [edi*4]
lea ecx, [ecx + ecx*2]
lea edx, [esi + 0x10c]
lea eax, [edx + ebx*4]
push ecx
push eax
push dword [esp + 0x24]
call sub.msvcrt.dll_memcpy
add esp, 0xc
shl edi, 3
lea eax, [esi + ebx*8]
lea ecx, [edi + edi*2]
push ecx
push eax
mov edi, dword [esp + 0x14]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
cmp byte [esp + 0x10], 0
mov ecx, esi
mov word [esi + 0x192], ax
mov esi, edi
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x110]
mov eax, dword [esp + 0x118]
movsd xmm2, qword [esp + 0x49]
cmovne esi, ecx
mov ecx, dword [esp + 0x14]
movsd qword [esp + 0x87], xmm1
movsd xmm1, qword [esp + 0x41]
mov dword [esp + 0x100], eax
movsd qword [esp + 0xf8], xmm0
movsd qword [esp + 0x80], xmm2
movzx eax, byte [esp + 0x40]
lea edi, [ecx + ecx*2]
lea edx, [esi + edi*4 + 0x10c]
movsd qword [esp + 0x78], xmm1
mov byte [esp + 4], al
movzx ebx, word [esi + 0x192]
cmp ecx, ebx
jae 0x1012ed99
lea eax, [esi + 0x10c]
mov dword [esp + 0x3c], edx
lea eax, [eax + edi*4 + 0xc]
mov dword [esp + 0x1c], eax
mov eax, edx
mov edx, ebx
sub edx, ecx
lea ecx, [edx*4]
mov dword [esp + 0x10], edx
lea ecx, [ecx + ecx*2]
push ecx
push eax
push dword [esp + 0x24]
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [ecx + 8], eax
shl edx, 3
lea eax, [esi + edi*8]
movsd xmm0, qword [esp + 0xac]
lea edx, [edx + edx*2]
movsd qword [ecx], xmm0
lea ecx, [esi + edi*8 + 0x18]
movsd xmm0, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
push edx
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x1012eddd
mov eax, dword [esp + 0xb4]
mov dword [edx + 8], eax
movsd xmm0, qword [esp + 0xac]
movsd qword [edx], xmm0
movsd xmm0, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
movsd xmm0, qword [esp + 0x50]
inc ebx
cmp byte [esp + 4], 6
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc]
movsd qword [esi + edi*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [esi + edi*8 + 8], xmm1
movsd qword [esi + edi*8], xmm0
mov word [esi + 0x192], bx
movsd xmm1, qword [esp + 0x100]
movsd xmm0, qword [esp + 0xf8]
movsd xmm2, qword [esp + 0x78]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [esp + 0x80]
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x128], xmm1
movsd xmm1, qword [esp + 0x87]
movsd qword [esp + 0x12f], xmm1
je 0x1012f65f
movsd xmm1, qword [esp + 0xd0]
movsd xmm0, qword [esp + 0xc8]
movsd xmm2, qword [esp + 0x120]
mov ecx, dword [esp + 8]
mov dword [esp + 0xf4], esi
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [esp + 0x12f]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0xf8], xmm2
movsd qword [esp + 0x107], xmm1
movsd xmm1, qword [esp + 0x128]
movsd qword [esp + 0x100], xmm1
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x1012f4a2
mov edi, dword [0x1044eff8]
mov ebx, edx
mov dword [esp + 0x38], 0
nop
movzx esi, word [ecx + 0x190]
mov ecx, eax
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
lea edx, [esp + 0x79]
mov dword [esp + 0x3c], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x168], eax
movsd qword [esp + 0x160], xmm0
movzx eax, byte [esp + 4]
movsd xmm0, qword [esp + 0x107]
mov byte [esp + 0x78], al
movsd qword [edx + 0xf], xmm0
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm2
movzx edx, word [ecx + 0x192]
cmp edx, 0xb
mov dword [esp + 0x1c], edx
jb 0x1012f671
cmp si, 5
jae 0x1012ef7b
mov al, 1
mov dword [esp + 4], 4
mov dword [esp + 0x18], eax
jmp 0x1012efc0
cmp si, 5
je 0x1012ef9a
cmp esi, 6
jne 0x1012efa6
xor esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 4], 5
jmp 0x1012efc0
mov al, 1
mov dword [esp + 4], esi
mov dword [esp + 0x18], eax
jmp 0x1012efc0
add esi, 0xfffffff9
mov dword [esp + 4], 6
mov dword [esp + 0x18], 0
nop dword [eax]
mov eax, dword [0x1044f00c]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x1012efdd
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1012f882
mov dword [edi], eax
push 0x1c8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1012f882
mov ebx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [eax + 0x108], 0
mov ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
movzx eax, word [ebx + 0x192]
mov edi, edx
mov dword [esp + 4], edx
not edi
add edi, eax
mov word [ecx + 0x192], di
lea ecx, [edx + edx*2]
cmp edi, 0xb
mov edx, dword [ebx + ecx*4 + 0x114]
mov dword [esp + 0xd0], edx
movsd xmm0, qword [ebx + ecx*4 + 0x10c]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [ebx + ecx*8 + 0x10]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [ebx + ecx*8]
movsd xmm1, qword [ebx + ecx*8 + 8]
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm0
ja 0x1012f896
mov ecx, dword [esp + 4]
lea edx, [ecx + 1]
sub eax, edx
cmp eax, edi
jne 0x1012f8ab
mov ecx, dword [esp + 0x10]
lea eax, [ebx + 0x10c]
lea ebx, [edx + edx*2]
mov dword [esp + 0x20], edx
lea edx, [edi*4]
lea eax, [eax + ebx*4]
lea edx, [edx + edx*2]
add ecx, 0x10c
push edx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
shl edi, 3
lea ecx, [edi + edi*2]
lea eax, [eax + ebx*8]
push ecx
push eax
mov ebx, dword [esp + 0x14]
push ebx
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [esp + 4]
mov word [ecx + 0x192], ax
mov eax, dword [esp + 0xd0]
movsd xmm0, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xa0]
movsd xmm2, qword [esp + 0x90]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x50]
movsd qword [esp + 0x40], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
movzx edi, word [ebx + 0x192]
lea eax, [edi + 1]
cmp edi, 0xc
jae 0x1012f8dd
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 4]
cmp edx, eax
jne 0x1012f8c4
mov eax, dword [esp + 0x10]
inc dword [esp + 0x38]
shl edx, 2
add eax, 0x198
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
lea ecx, [ecx + eax*4 + 0x198]
push edx
push ecx
push dword [esp + 0xc]
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
mov eax, ecx
cmp ecx, edi
mov edx, dword [ebx + eax*4 + 0x198]
adc ecx, 0
cmp eax, edi
mov dword [edx + 0x108], ebx
mov word [edx + 0x190], ax
jae 0x1012f1b3
cmp ecx, edi
jbe 0x1012f190
movsd xmm1, qword [esp + 0x48]
lea edx, [esp + 0x50]
movsd xmm0, qword [esp + 0x40]
cmp byte [esp + 0x18], 0
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
movzx eax, byte [esp + 0x50]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [edx + 9]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [edx + 1]
cmovne ebx, ecx
lea ecx, [esi + esi*2]
mov byte [esp + 4], al
mov dword [esp + 0x1c], ecx
lea ecx, [ebx + ecx*4 + 0x10c]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esp + 0x90], xmm0
lea edx, [esi + 1]
mov dword [esp + 0x10], edx
movsd qword [esp + 0x9f], xmm1
movzx edi, word [ebx + 0x192]
cmp edx, edi
jbe 0x1012f278
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
jmp 0x1012f315
mov dword [esp + 0x18], edi
lea edx, [edx + edx*2]
lea eax, [ebx + 0x10c]
mov dword [esp + 0x13c], ecx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], edx
lea eax, [eax + edx*4]
mov edx, ecx
sub edi, esi
lea ecx, [edi*4]
lea ecx, [ecx + ecx*2]
push ecx
push edx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x13c]
shl edi, 3
lea edx, [edi + edi*2]
mov edi, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x28]
lea eax, [ebx + eax*8]
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
lea ecx, [ebx + ecx*8]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
push edx
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov ecx, edi
inc edi
lea edx, [ecx + 2]
mov dword [esp + 0x1c], edx
movsd qword [ebx + eax*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [ebx + eax*8 + 8], xmm1
movsd qword [ebx + eax*8], xmm0
lea eax, [esi + 2]
cmp eax, edx
jae 0x1012f388
mov dword [esp + 0x20], eax
lea eax, [ebx + 0x198]
sub ecx, esi
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
shl ecx, 2
mov eax, dword [esp + 0x18]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
lea edx, [eax + edx*4]
push ecx
push edx
push dword [esp + 0x28]
call sub.msvcrt.dll_memmove
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x10], ecx
mov dword [ebx + esi*4 + 0x19c], eax
mov word [ebx + 0x192], di
jae 0x1012f3c9
nop word cs:[eax + eax]
nop
mov eax, dword [ebx + esi*4 + 0x19c]
inc esi
cmp edi, esi
mov dword [eax + 0x108], ebx
mov word [eax + 0x190], si
jne 0x1012f3b0
movsd xmm1, qword [esp + 0xd0]
movsd xmm0, qword [esp + 0xc8]
movsd xmm2, qword [esp + 0x90]
cmp byte [esp + 4], 6
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movsd qword [esp + 0x118], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x128], xmm1
movsd xmm1, qword [esp + 0x9f]
movsd qword [esp + 0x12f], xmm1
je 0x1012f655
movsd xmm1, qword [esp + 0x118]
movsd xmm0, qword [esp + 0x110]
movsd xmm2, qword [esp + 0x120]
mov edi, dword [0x1044eff8]
mov ebx, edx
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [esp + 0x128]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0xf8], xmm2
movsd qword [esp + 0x100], xmm1
movsd xmm1, qword [esp + 0x12f]
movsd qword [esp + 0x107], xmm1
mov eax, dword [ecx + 0x108]
test eax, eax
jne 0x1012eef0
jmp 0x1012f4aa
mov dword [esp + 0x38], 0
movsd xmm1, qword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0xf8]
movzx eax, byte [esp + 4]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], edx
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [esp + 0x107]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x51], xmm2
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esp + 0x100]
movsd qword [esp + 0x59], xmm1
mov byte [esp + 0x50], al
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov eax, dword [ecx]
test eax, eax
cmove ecx, eax
je 0x1012f954
mov eax, dword [0x1044f00c]
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, ecx
movzx eax, byte [eax]
mov eax, dword [0x1044eff8]
mov eax, dword [eax]
test eax, eax
jne 0x1012f550
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1012f943
mov ecx, dword [0x1044eff8]
mov dword [ecx], eax
push 0x1c8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1012f943
lea ecx, [esi + 1]
mov dword [eax + 0x108], 0
mov word [eax + 0x192], 0
mov dword [eax + 0x198], edi
mov dword [edi + 0x108], eax
mov word [edi + 0x190], 0
mov dword [ebx], eax
lea edx, [esp + 0x50]
cmp esi, dword [esp + 0x38]
mov dword [ebx + 4], ecx
movsd xmm0, qword [esp + 0x28]
mov ecx, dword [esp + 0x30]
movsd xmm2, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [edx + 0x10]
mov dword [esp + 0x80], ecx
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0xa0], xmm0
jne 0x1012f96a
movzx ecx, word [eax + 0x192]
mov ebx, dword [esp + 0xc]
cmp ecx, 0xb
jae 0x1012f97b
lea edx, [ecx + 1]
lea esi, [ecx + ecx*2]
mov word [eax + 0x192], dx
mov edi, dword [esp + 0x30]
mov dword [eax + esi*4 + 0x114], edi
lea edi, [esp + 0x50]
movsd xmm0, qword [esp + 0x28]
movsd qword [eax + esi*4 + 0x10c], xmm0
movsd xmm0, qword [edi + 0x10]
movsd qword [eax + esi*8 + 0x10], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [eax + esi*8 + 8], xmm1
movsd qword [eax + esi*8], xmm0
mov dword [eax + ecx*4 + 0x19c], ebx
mov dword [ebx + 0x108], eax
mov word [ebx + 0x190], dx
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0x14]
inc dword [ecx + 0xc]
lea eax, [eax + eax*2]
lea edi, [esi + eax*8]
jmp 0x1012e98d
lea eax, [esi + 1]
lea edi, [edx + 1]
cmp dx, si
mov dword [esp + 4], eax
lea eax, [esi + esi*2]
mov dword [esp + 0x10], eax
lea eax, [ecx + eax*4 + 0x10c]
mov dword [esp + 0xc], eax
jbe 0x1012f77c
lea eax, [ecx + 0x10c]
mov ecx, dword [esp + 4]
mov ebx, edx
sub ebx, esi
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
lea eax, [ebx*4]
lea ecx, [eax + eax*2]
mov dword [esp + 0x24], eax
push ecx
push dword [esp + 0x10]
push dword [esp + 0x28]
call sub.msvcrt.dll_memmove
add esp, 0xc
movsd xmm0, qword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
shl ebx, 3
movsd qword [ecx], xmm0
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 8]
lea ecx, [ecx + edx*8]
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + 0x3c]
push edx
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
movsd xmm0, qword [esp + 0x78]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esp + 8]
movsd qword [eax + ecx*8 + 8], xmm1
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x88]
movsd qword [eax + ecx*8 + 0x10], xmm0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea eax, [eax + ecx*4 + 0x198]
mov ecx, dword [esp + 8]
lea ecx, [ecx + esi*4 + 0x1a0]
push dword [esp + 0x24]
push eax
push ecx
call sub.msvcrt.dll_memmove
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add esp, 0xc
jmp 0x1012f7ca
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x28]
movsd qword [eax], xmm0
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x88]
movsd qword [ecx + eax*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
add edx, 2
mov dword [ecx + esi*4 + 0x19c], ebx
mov word [ecx + 0x192], di
cmp dword [esp + 4], edx
jae 0x1012f655
mov eax, dword [ecx + esi*4 + 0x19c]
inc esi
cmp edi, esi
mov dword [eax + 0x108], ecx
mov word [eax + 0x190], si
jne 0x1012f7e5
jmp 0x1012f655
call fcn.1001ac40
ud2
lea eax, [esp + 0x158]
mov dword [esp + 0x40], 0x10387260
mov dword [esp + 0x44], 2
mov dword [esp + 0x90], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0xac], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xb0], 0x1012cad0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xac]
mov dword [esp + 0xb8], 0x1012fad0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 2
lea eax, [esp + 0x40]
push 0x10387270
push eax
call fcn.100272b0
add esp, 8
ud2
push 0x1c8
push 8
call fcn.1001ac80
add esp, 8
jmp 0x1012f995
push 0x103862f4
push 0xb
push edi
call fcn.1002ac30
add esp, 0xc
jmp 0x1012f995
push 0x103862e4
push 0x28
push str.assertion_failed:_src.len____dst.len__
call fcn.10027330
add esp, 0xc
jmp 0x1012f995
push 0x103862e4
push 0x28
push str.assertion_failed:_src.len____dst.len__
call fcn.10027330
add esp, 0xc
jmp 0x1012f995
push 0x10386304
push 0xc
push eax
call fcn.1002ac30
add esp, 0xc
jmp 0x1012f995
push 0x198
push 8
call fcn.1001ac80
add esp, 8
jmp 0x1012f995
push 0x198
push 8
call fcn.1001ac80
add esp, 8
jmp 0x1012f995
mov esi, eax
push 0x103862f4
push 0xb
push edi
call fcn.1002ac30
add esp, 0xc
jmp 0x1012f995
mov esi, eax
push 0x103862e4
push 0x28
push str.assertion_failed:_src.len____dst.len__
call fcn.10027330
add esp, 0xc
jmp 0x1012f995
push 0x1c8
push 8
call fcn.1001ac80
add esp, 8
jmp 0x1012f995
push 0x103861e0
push 0x2b
push 0x10385f90
call fcn.10027330
add esp, 0xc
jmp 0x1012f995
mov eax, 0x103862ac
mov ecx, 0x30
mov edx, str.assertion_failed:_edge.height__self.height___1
jmp 0x1012f98a
mov eax, 0x1038626c
mov ecx, 0x20
mov edx, 0x103861f0
push eax
push ecx
push edx
call fcn.10027330
add esp, 0xc
ud2