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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea edx, [ecx + ecx*8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], eax
lea edx, [edx + edx*2]
add edx, eax
add edx, ecx
test ecx, ecx
mov dword [esp + 0x94], edx
je 0x10107488
lea ecx, [eax + 0x1c]
mov dword [esp + 0x90], ecx
movzx ecx, word [eax]
cmp cx, 8
je 0x1010747f
mov ebx, dword [0x1035648c]
lea edi, [esp + 0x122]
xor esi, esi
mov dword [esp + 0x28], 4
mov dword [esp + 0xc], 0
nop
mov word [esp + 0x120], cx
movzx ecx, word [eax + 0x1a]
mov word [edi + 0x18], cx
movsd xmm0, qword [eax + 0x12]
movsd qword [edi + 0x10], xmm0
movq xmm0, qword [eax + 2]
movsd xmm1, qword [eax + 0xa]
movsd qword [edi + 8], xmm1
movq qword [edi], xmm0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x120]
call fcn.10106450
movsd xmm2, qword [esp + 0x3c]
mov dword [esp + 8], esi
movq xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x44]
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x6c], xmm2
movq qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm1
mov dword [esp + 0x24], eax
movzx esi, word [esp + 0x6c]
test esi, esi
je 0x101073db
mov edx, dword [esp + 0x14]
cmp esi, 1
je 0x10107190
cmp esi, 6
jne 0x101071f0
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], esi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 8]
lea ecx, [eax + eax*8]
lea edx, [edi + eax]
mov dword [esp + 0xd8], edi
mov dword [esp + 0x64], edi
lea ebx, [ecx + ecx*2]
add edx, ebx
test eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0xdc], edx
je 0x1010738b
add ebx, eax
add edi, 0x1c
mov ecx, ebx
mov ebx, dword [0x1035648c]
jmp 0x10106c28
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
lea eax, [esi + esi*8]
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], 0
lea eax, [eax + eax*2]
add eax, esi
inc esi
mov dword [edx + eax + 0x18], ecx
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [edx + eax + 8], xmm1
movq qword [edx + eax], xmm0
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x5c]
add edi, 0x1c
add ecx, 0xffffffe4
je 0x1010739d
mov dword [esp + 0xd8], edi
movzx eax, word [edi - 0x1c]
cmp ax, 8
je 0x10107397
mov word [esp + 0xb4], ax
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0xb6]
movzx eax, word [edi - 2]
mov word [ecx + 0x18], ax
mov eax, dword [0x103564a0]
movsd xmm0, qword [edi - 0xa]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [edi - 0x1a]
movsd xmm1, qword [edi - 0x12]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
movsd xmm2, qword [esp + 0xb4]
movq xmm0, qword [esp + 0xc4]
movsd xmm1, qword [esp + 0xbc]
mov word [esp + 0xb4], 0
movq qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
jne 0x10106cc9
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1010798e
mov dword [ebx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1010798e
movaps xmm0, xmmword [0x1024d680]
lea edx, [esp + 0x48]
mov dword [esp + 8], esi
mov dword [esp + 0x2c], edi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0x10000
mov byte [eax + 0x28], 0
movss xmm0, dword [esp + 0x3c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], eax
mov eax, dword [edx + 8]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
movaps xmmword [esp + 0xe0], xmm0
movq xmm0, qword [edx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xa0], eax
movq qword [esp + 0x98], xmm0
lea edi, [esp + 0xb4]
push edi
call fcn.1010b060
add esp, 4
mov ecx, edi
call fcn.100e16d0
push dword [esp + 0xcc]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [esp + 0x98]
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0xfc], xmm0
movdqa xmm0, xmmword [esp + 0xe0]
mov dword [esp + 0x104], eax
movd eax, xmm0
cmp ax, 1
jne 0x10106e00
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x14]
je 0x10106e85
mov eax, dword [esp + 0x34]
sub eax, edx
cmp eax, esi
jae 0x10106ee6
lea ecx, [esp + 0x30]
push esi
call fcn.100e4d10
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
jmp 0x10106eea
mov edi, dword [esp + 0xc]
movd dword [esp + 0x98], xmm0
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x104]
movq xmm0, qword [esp + 0xfc]
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x30], 0
test edi, edi
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
je 0x10106ed3
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jbe 0x10106f06
mov eax, dword [0x1035648c]
test ecx, ecx
mov eax, dword [eax]
je 0x10107054
push ecx
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapReAlloc
mov ecx, dword [esp + 0x14]
mov esi, eax
test eax, eax
jne 0x10106f10
jmp 0x101079cc
test esi, esi
je 0x10106fee
js 0x101079c5
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x10106ebb
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101079b8
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x10106ff3
jmp 0x101079b8
mov ebx, dword [0x1035648c]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x2c]
jmp 0x10107136
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
add eax, edx
push esi
push ebx
push eax
mov edi, edx
call sub.msvcrt.dll_memcpy
mov eax, edi
add esp, 0xc
add eax, esi
jmp 0x1010700c
test ecx, ecx
mov esi, edi
je 0x10107062
push ecx
push esi
lea eax, [esp + 0x44]
push eax
call fcn.1002a2f0
add esp, 0xc
mov eax, dword [0x103564a0]
mov ebx, dword [esp + 0x3c]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
mov edi, dword [esp + 0x2c]
test eax, eax
jne 0x10106f4f
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1010799c
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1010799c
mov edx, dword [esp + 0x14]
test ebx, ebx
mov ecx, eax
mov dword [eax], 1
mov ebx, dword [0x1035648c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x1c], 0
mov word [ecx + 0x24], 0
sete byte [ecx + 0x26]
mov word [ecx + 0x27], 0x101
mov word [esp + 0x3c], 1
mov dword [esp + 0x40], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x44], edx
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
jne 0x101070f6
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.100e4570
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x101070fa
mov edi, 1
push esi
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x34], esi
mov eax, esi
test esi, esi
mov esi, dword [0x1035648c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
je 0x1010702c
push ebx
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 0x10]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov ebx, esi
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
add edi, 0x1c
add ecx, 0xffffffe4
jne 0x10106c28
jmp 0x1010739d
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, 1
mov eax, dword [0x103564a0]
mov ebx, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [ebx]
test eax, eax
je 0x1010707c
mov esi, dword [esp + 8]
jmp 0x1010708f
call sub.KERNEL32.dll_GetProcessHeap
mov esi, dword [esp + 8]
test eax, eax
je 0x101079aa
mov dword [ebx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101079aa
movdqa xmm0, xmmword [0x1024d680]
mov edi, dword [esp + 0x2c]
mov ecx, eax
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0x10000
mov byte [eax + 0x28], 0
mov word [esp + 0x3c], 0
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
je 0x10106fd6
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
lea eax, [esi + esi*8]
mov dword [esp + 0x28], edx
lea eax, [eax + eax*2]
add eax, esi
inc esi
mov dword [edx + eax + 0x18], ecx
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [edx + eax + 8], xmm1
movq qword [edx + eax], xmm0
mov dword [esp + 0x20], esi
movq xmm0, qword [esp + 0xa8]
movsd xmm2, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
cmp esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
movq qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
mov dword [esp + 0x54], eax
jne 0x10106bd0
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.100e4570
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x10106bd4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
test ecx, ecx
mov dword [esp + 0x10], esi
je 0x1010733d
mov eax, dword [esp + 0x34]
sub eax, edx
cmp eax, ebx
jae 0x101071c7
lea ecx, [esp + 0x30]
push ebx
call fcn.100e4d10
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
lea eax, [ecx + edx]
push ebx
push esi
push eax
mov esi, edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, ebx
jmp 0x10107426
mov eax, dword [esp + 0x30]
movq xmm0, qword [esp + 0x7c]
movsd xmm2, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov dword [esp + 0x30], 0
test eax, eax
movq qword [esp + 0xa8], xmm0
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0x98], xmm2
je 0x101072af
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x108]
call fcn.101066f0
cmp esi, dword [esp + 0x1c]
jne 0x10107273
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.100e4570
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
lea ecx, [esi + esi*8]
lea ecx, [ecx + ecx*2]
add ecx, esi
inc esi
mov dword [eax + ecx + 0x18], edx
movsd xmm0, qword [esp + 0x4c]
movsd qword [eax + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov dword [esp + 0x20], esi
movq xmm0, qword [esp + 0x7c]
movsd xmm2, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
cmp esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movq qword [esp + 0x4c], xmm0
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm2
mov dword [esp + 0x54], eax
jne 0x101072f0
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.100e4570
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
lea eax, [esi + esi*8]
mov dword [esp + 0xc], 0
lea eax, [eax + eax*2]
add eax, esi
inc esi
mov dword [edx + eax + 0x18], ecx
mov dword [esp + 0x28], edx
movsd xmm0, qword [esp + 0x4c]
movsd qword [edx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [edx + eax + 8], xmm1
movq qword [edx + eax], xmm0
mov dword [esp + 0x20], esi
jmp 0x10107456
test ebx, ebx
je 0x10107405
js 0x10107a0a
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x10107373
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101079e7
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x1010740a
jmp 0x101079e7
mov eax, dword [esp + 0x58]
mov ebx, dword [0x1035648c]
jmp 0x101073a3
mov eax, dword [esp + 0x58]
jmp 0x101073a3
mov eax, dword [esp + 0x58]
mov edi, eax
sub eax, edi
mov ecx, 0x24924925
shr eax, 2
mul ecx
mov ecx, edi
call fcn.100e1d90
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x64]
lea edi, [esp + 0x122]
mov dword [esp + 8], esi
je 0x101073d6
push eax
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
movzx esi, word [esp + 0x6c]
push dword [esp + 0x24]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
cmp si, 1
je 0x10107452
movzx eax, si
cmp eax, 6
je 0x10107452
lea ecx, [esp + 0x6c]
call fcn.100e16d0
mov esi, dword [esp + 8]
jmp 0x10107456
mov esi, 1
push ebx
push dword [esp + 0x14]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x34], ebx
mov esi, ebx
test ebx, ebx
mov ebx, dword [0x1035648c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], esi
je 0x10107445
push dword [esp + 0x10]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 0x24]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
cmp eax, edx
je 0x10107488
lea ecx, [eax + 0x1c]
mov dword [esp + 0x90], ecx
movzx ecx, word [eax]
cmp cx, 8
jne 0x10106ae0
mov ecx, eax
mov eax, edx
add ecx, 0x1c
jmp 0x1010748a
mov ecx, eax
sub eax, ecx
mov edx, 0x24924925
shr eax, 2
mul edx
call fcn.100e1d90
cmp dword [esp + 0x8c], 0
je 0x101074ba
mov eax, dword [0x1035648c]
push dword [esp + 0x88]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 0x30]
movq xmm0, qword [esp + 0x34]
mov dword [esp + 0x30], 0
test eax, eax
je 0x101075e4
mov dword [esp + 0x114], eax
movq qword [esp + 0x118], xmm0
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x114]
call fcn.101066f0
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x1c]
jne 0x1010750b
lea ecx, [esp + 0x18]
call fcn.100e4570
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x54]
lea ecx, [edx + edx*8]
lea ecx, [ecx + ecx*2]
add ecx, edx
inc edx
mov dword [eax + ecx + 0x18], esi
movsd xmm0, qword [esp + 0x4c]
movsd qword [eax + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
movsd qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov dword [esp + 0x20], edx
mov esi, dword [ebp + 8]
cmp edx, 1
je 0x101075f4
test edx, edx
jne 0x10107656
mov eax, dword [0x103564a0]
mov edi, esi
mov esi, dword [0x1035648c]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x10107580
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101079d9
mov dword [esi], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101079d9
movaps xmm0, xmmword [0x1024d680]
mov esi, edi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0x10000
mov byte [eax + 0x28], 0
mov word [edi], 0
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
jne 0x10107641
jmp 0x10107984
mov edx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
cmp edx, 1
jne 0x10107553
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
cmp cx, 8
je 0x101079f4
mov word [esi], cx
movsd xmm0, qword [eax + 2]
movsd xmm1, qword [eax + 0xa]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
movsd xmm0, qword [eax + 0x12]
movsd qword [esi + 0x12], xmm0
movzx ecx, word [eax + 0x1a]
mov word [esi + 0x1a], cx
cmp dword [esp + 0x1c], 0
je 0x10107984
mov ecx, dword [0x1035648c]
push eax
push 0
push dword [ecx]
call sub.KERNEL32.dll_HeapFree
jmp 0x10107984
mov esi, dword [esp + 0x18]
lea eax, [edx + edx*8]
mov bl, 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0xe0], 1
mov dword [esp + 8], 1
mov dword [esp + 0x60], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
lea eax, [eax + eax*2]
mov dword [esp + 0x10], ebx
mov bl, 1
mov dword [esp + 0xb0], eax
add eax, edx
mov dword [esp + 0x5c], ebx
lea ecx, [esi + eax]
mov dword [esp + 0x68], esi
lea edx, [esi + 0x18]
xor esi, esi
mov dword [esp + 0x58], ecx
mov cl, 1
mov dword [esp + 0xc], ecx
jmp 0x101076f4
mov ebx, esi
mov dword [esp + 8], 0
mov esi, dword [esp + 0x14]
add edx, 0x1c
or si, word [edi + 0x1c]
add eax, 0xffffffe4
mov dword [esp + 0x14], esi
mov esi, ebx
je 0x10107813
mov edi, dword [edx]
cmp byte [esp + 0xc], 0
je 0x10107710
movzx ecx, byte [edi + 0x26]
mov dword [esp + 0xc], ecx
jmp 0x10107718
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x2c]
add esi, dword [edi + 0x18]
mov ecx, 0xffffffff
cmovb esi, ecx
test ebx, ebx
je 0x10107780
cmp dword [edi + 0x10], 0
mov ebx, 0
je 0x10107749
mov ebx, dword [esp + 0x28]
add ebx, dword [edi + 0x14]
cmovb ebx, ecx
mov dword [esp + 0x28], ebx
mov ebx, 1
cmp byte [esp + 0x10], 0
mov dword [esp + 0x2c], ebx
je 0x1010778d
movzx ebx, byte [edi + 0x27]
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x5c], 0
je 0x1010779c
movzx ebx, byte [edi + 0x28]
mov dword [esp + 0x5c], ebx
cmp dword [esp + 0xe0], 0
jne 0x101077ae
xor ebx, ebx
jmp 0x101077d0
xor ebx, ebx
cmp byte [esp + 0x10], 0
mov dword [esp + 0x2c], ebx
jne 0x10107754
mov dword [esp + 0x10], 0
cmp byte [esp + 0x5c], 0
jne 0x10107763
mov dword [esp + 0x5c], 0
cmp dword [esp + 0xe0], 0
je 0x10107775
cmp dword [edi], 0
mov ebx, 0
je 0x101077d0
mov ecx, dword [esp + 0x64]
mov ebx, 0xffffffff
add ecx, dword [edi + 4]
cmovb ecx, ebx
mov ebx, 1
mov dword [esp + 0x64], ecx
cmp dword [esp + 8], 0
mov dword [esp + 0xe0], ebx
je 0x101076d0
cmp dword [edi + 8], 0
je 0x1010780c
mov ebx, esi
mov esi, dword [esp + 0x60]
xor ecx, ecx
add esi, dword [edi + 0xc]
cmovb esi, dword [esp + 0x24]
setae cl
mov dword [esp + 8], ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x24], esi
jmp 0x101076da
mov ebx, esi
jmp 0x101076d2
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], 0
xor ebx, ebx
add ecx, dword [esp + 0x84]
nop word cs:[eax + eax]
nop dword [eax]
test ecx, ecx
je 0x10107879
mov eax, dword [edi + 0x18]
or bx, word [eax + 0x1e]
mov edx, ebx
mov ebx, dword [esp + 0x24]
or bx, word [eax + 0x22]
cmp dword [eax + 8], 0
mov dword [esp + 0x24], ebx
je 0x10107873
mov ebx, edx
add edi, 0x1c
add ecx, 0xffffffe4
cmp dword [eax + 0xc], 0
mov edx, dword [esp + 0x58]
je 0x10107840
jmp 0x10107879
mov ebx, edx
mov edx, dword [esp + 0x58]
imul eax, dword [esp + 0x84], 0xffffffe4
mov dword [esp + 0x68], esi
xor edi, edi
xor esi, esi
nop dword [eax]
test eax, eax
je 0x101078b1
mov ecx, dword [edx - 4]
or si, word [ecx + 0x20]
or di, word [ecx + 0x24]
cmp dword [ecx + 8], 0
je 0x101078b1
add edx, 0xffffffe4
add eax, 0x1c
cmp dword [ecx + 0xc], 0
je 0x10107890
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101078d9
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101079d9
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0x2c
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101079d9
mov ecx, dword [esp + 0xe0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov word [eax + 0x1c], cx
mov ecx, dword [esp + 0x24]
mov word [eax + 0x1e], bx
mov word [eax + 0x20], si
mov esi, dword [ebp + 8]
mov word [eax + 0x22], cx
mov ecx, dword [esp + 0xc]
mov word [eax + 0x24], di
mov byte [eax + 0x26], cl
mov ecx, dword [esp + 0x10]
mov byte [eax + 0x27], cl
mov ecx, dword [esp + 0x5c]
mov byte [eax + 0x28], cl
mov word [esi], 6
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
mov dword [esp + 0x46], ecx
movsd qword [esp + 0x3e], xmm0
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x42]
movsd qword [esi + 2], xmm0
movsd qword [esi + 8], xmm1
mov dword [esi + 0x18], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2c
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
push 0x2c
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
push 0x2c
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
push esi
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
call fcn.1001a7a0
jmp 0x10107a0f
push ecx
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
push 0x2c
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
push ebx
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x10107a0f
push 0x1024fe8c
push 0x2b
push 0x1024d9c8
call fcn.10026890
add esp, 0xc
jmp 0x10107a0f
call fcn.1001a7a0
ud2