Function at 0x10178cb0
Capabilities:
Create process on windows
Encode data using base64
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4fc
call 0x10178cc1
pop eax
mov dword [ebp - 0x88], ecx
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x60], eax
movzx eax, byte [edx + 0x34]
test al, al
jne 0x10178cf3
test ecx, ecx
jne 0x10178cf3
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x2c], 0
jmp 0x10179717
test al, al
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xe4], 0
je 0x10178d21
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x10178e68
jmp 0x10179530
call sub.KERNEL32.dll_GetEnvironmentStringsW
test eax, eax
je 0x1017bbb6
lea ebx, [ebp - 0x4f8]
lea esi, [ebp - 0x80]
lea edi, [ebp - 0xb8]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
nop dword [eax]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.10176140
add esp, 8
cmp byte [ebp - 0x4fc], 2
je 0x10178e4f
movsd xmm0, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
movsd qword [ebp - 0x70], xmm0
movsd qword [ebp - 0x68], xmm1
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x68]
movsd qword [ebp - 0xc0], xmm1
movsd qword [ebp - 0xc8], xmm0
add ecx, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov word [ebp - 0xb0], 0
mov ecx, esi
mov edx, edi
call fcn.1015b830
movsd xmm1, qword [ebp - 0x500]
lea eax, [ebp - 0x50]
movsd xmm0, qword [ebp - 0x508]
movsd xmm2, qword [ebx]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ebp - 0x80]
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x78]
movsd qword [ebp - 0xb8], xmm2
movsd qword [ebp - 0x5c], xmm1
movsd xmm1, qword [ebx + 8]
mov dword [ebp - 0x54], eax
movsd qword [ebp - 0xb0], xmm1
lea edx, [ebp - 0xec]
mov ecx, esi
push edi
lea eax, [ebp - 0x5c]
push eax
call fcn.1014ccd0
add esp, 8
cmp byte [ebp - 0x74], 2
je 0x10178d50
cmp dword [ebp - 0x7c], 0
je 0x10178d50
push dword [ebp - 0x80]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x10178d50
push dword [ebp - 0xd4]
call sub.KERNEL32.dll_FreeEnvironmentStringsW
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10179530
cmp dword [ebp - 0x2c], 0
je 0x10179530
xor ecx, ecx
test eax, eax
setne cl
xor edi, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x2c]
mov dword [ebp - 0x20], ecx
jmp 0x10178e9e
mov edi, dword [ebp - 0x10]
xor eax, eax
dec dword [ebp - 0x2c]
je 0x10179530
cmp dword [ebp - 0x14], 0
je 0x10178ed0
test edi, edi
jne 0x10178ed0
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 1
je 0x10178edb
mov edi, eax
nop word [eax + eax]
mov edi, dword [edi + 0x1ec]
dec dword [ebp - 0x20]
jne 0x10178ec0
jmp 0x10178edd
cmp dword [ebp - 0x14], 0
jne 0x10178ee6
jmp 0x1017baea
mov edi, eax
xor eax, eax
mov dword [ebp - 0x20], 0
movzx ecx, word [edi + 0x1ea]
mov esi, dword [ebp - 0x20]
mov ebx, edi
cmp esi, ecx
jb 0x10178f21
nop word cs:[eax + eax]
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x1017b992
movzx esi, word [ebx + 0x1e8]
inc eax
mov ebx, ecx
cmp si, word [ecx + 0x1ea]
jae 0x10178f00
test eax, eax
je 0x10178f50
mov edi, dword [ebx + esi*4 + 0x1f0]
mov dword [ebp - 0x20], 0
dec eax
je 0x10178f58
nop word cs:[eax + eax]
mov edi, dword [edi + 0x1ec]
dec eax
jne 0x10178f40
jmp 0x10178f58
lea eax, [esi + 1]
mov edi, ebx
mov dword [ebp - 0x20], eax
lea eax, [esi + esi*8]
lea eax, [eax + eax*2]
add eax, esi
shl esi, 4
cmp byte [ebx + esi + 0xc], 2
lea eax, [ebx + eax + 0xb4]
jne 0x101790b0
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x10178e93
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x10], edi
mov edx, ebx
lea ecx, [ebp - 0x80]
push dword [eax + 8]
push dword [eax]
push esi
call fcn.1014f460
add esp, 0xc
cmp dword [ebp - 0x80], 0
jne 0x10178e90
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
mov byte [ebp - 0xd4], 0
test ecx, ecx
je 0x101792c2
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
je 0x10178feb
movzx edx, word [eax + 0x1ea]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
jne 0x10178fda
movzx ecx, word [eax + 0x1ea]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
dec ecx
mov dword [ebp - 0xc0], ecx
lea edx, [ebp - 0xc8]
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x508]
push eax
call fcn.1014efb0
add esp, 4
movsd xmm2, qword [ebp - 0x4f0]
movsd xmm1, qword [ebp - 0x4f8]
mov eax, dword [ebp - 0x4e0]
movsd xmm0, qword [ebp - 0x4e8]
mov edx, dword [ebp - 0x4dc]
mov edi, ebx
mov ebx, dword [ebp - 0x4d4]
movsd qword [ebp - 0xa0], xmm2
movsd qword [ebp - 0xa8], xmm1
movsd xmm2, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
mov dword [ebp - 0x90], eax
movsd qword [ebp - 0x98], xmm0
movsd qword [ebp - 0xb0], xmm1
movsd qword [ebp - 0xb8], xmm2
movzx eax, word [edx + 0x1ea]
cmp ebx, eax
jae 0x101792ec
mov ecx, edx
jmp 0x10179323
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edi
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x101790e6
js 0x1017bb48
mov esi, eax
mov eax, dword [0x1044f00c]
movzx eax, byte [eax]
mov eax, dword [0x1048f0f8]
test eax, eax
je 0x101790f2
mov edi, dword [ebp - 0x1c]
mov ebx, edx
jmp 0x10179109
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov eax, 1
jmp 0x1017911c
mov ebx, edx
call sub.KERNEL32.dll_GetProcessHeap
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x1017bb03
mov dword [0x1048f0f8], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov edx, ebx
je 0x1017bb03
push edi
push edx
push eax
mov ebx, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [esi + 0x18]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x50], al
mov ebx, dword [esi]
mov esi, dword [esi + 8]
test esi, esi
je 0x101791ab
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
xor edx, edx
cmp esi, 0x40000000
setb al
jae 0x1017bb34
mov dl, al
lea edi, [esi + esi]
add edx, edx
test edi, edi
js 0x1017bb34
mov dword [ebp - 0x28], edx
je 0x101791ba
mov eax, dword [0x1044f00c]
movzx eax, byte [eax]
mov eax, dword [0x1048f0f8]
test eax, eax
jne 0x10179193
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1017bb23
mov dword [0x1048f0f8], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x101791c7
jmp 0x1017bb23
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, 2
xor edi, edi
jmp 0x101791ca
mov eax, dword [ebp - 0x28]
mov edx, ebx
test eax, eax
je 0x1017bb23
mov ebx, dword [ebp - 0x1c]
add ecx, edx
push edi
push ebx
push eax
mov ebx, ecx
mov edi, eax
call sub.msvcrt.dll_memcpy
mov ecx, ebx
add esp, 0xc
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
lea eax, [ebp - 0x4fc]
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
mov dword [ebp - 0x508], edi
mov dword [ebp - 0x504], esi
mov dword [ebp - 0x500], esi
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
test esi, esi
je 0x1017924c
js 0x1017bb3e
mov eax, dword [0x1044f00c]
movzx eax, byte [eax]
mov eax, dword [0x1048f0f8]
test eax, eax
jne 0x1017923a
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1017bb13
mov dword [0x1048f0f8], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x10179251
jmp 0x1017bb13
mov eax, 1
push esi
push edi
push eax
mov edi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], al
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.1014ccd0
add esp, 8
cmp byte [ebp - 0xac], 2
mov edi, dword [ebp - 0x10]
je 0x10178e93
cmp dword [ebp - 0xb4], 0
je 0x10178e93
push dword [ebp - 0xb8]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x10178e93
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], edx
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x508]
push eax
call fcn.1014efb0
add esp, 4
jmp 0x1017941f
mov eax, dword [ebp - 0x4d8]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [edx + 0xb0]
test ecx, ecx
je 0x1017931f
movzx ebx, word [edx + 0x1e8]
inc eax
mov edx, ecx
cmp bx, word [ecx + 0x1ea]
jae 0x10179300
jmp 0x10179323
xor ecx, ecx
mov ebx, eax
lea eax, [ebx + ebx*8]
lea eax, [eax + eax*2]
add eax, ebx
shl ebx, 4
mov edx, dword [ecx + eax + 0xcc]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0xa0]
movsd xmm0, qword [ecx + eax + 0xc4]
movsd qword [ebp - 0x4c], xmm0
movsd xmm0, qword [ecx + eax + 0xb4]
movsd xmm1, qword [ecx + eax + 0xbc]
movsd qword [ebp - 0x54], xmm1
movsd qword [ebp - 0x5c], xmm0
mov dword [ecx + eax + 0xcc], edx
movsd xmm0, qword [ebp - 0xa8]
movsd qword [ecx + eax + 0xc4], xmm0
movsd xmm0, qword [ebp - 0xb8]
movsd xmm1, qword [ebp - 0xb0]
movsd qword [ecx + eax + 0xbc], xmm1
movsd qword [ecx + eax + 0xb4], xmm0
lea eax, [ebp - 0x40]
movsd xmm0, qword [ecx + ebx]
movsd xmm1, qword [ecx + ebx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [ebp - 0x9c]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + ebx], xmm0
movsd qword [ecx + ebx + 8], xmm1
mov ebx, edi
movsd xmm2, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
movsd xmm0, qword [ebp - 0x3c]
movsd qword [ebp - 0x4f0], xmm2
movsd qword [ebp - 0x4f8], xmm1
movsd xmm2, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
mov dword [ebp - 0x4e0], eax
movsd qword [ebp - 0x4e8], xmm0
movsd qword [ebp - 0x500], xmm1
movsd qword [ebp - 0x508], xmm2
movsd xmm2, qword [ebp - 0x4f0]
movsd xmm1, qword [ebp - 0x4f8]
mov eax, dword [ebp - 0x4e0]
movsd xmm0, qword [ebp - 0x4e8]
dec dword [ebp - 0xe4]
cmp byte [ebp - 0xd4], 0
movsd qword [ebp - 0x44], xmm2
movsd qword [ebp - 0x4c], xmm1
movsd xmm2, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
mov dword [ebp - 0x34], eax
movsd qword [ebp - 0x3c], xmm0
movsd qword [ebp - 0x54], xmm1
movsd qword [ebp - 0x5c], xmm2
je 0x101794ab
test esi, esi
je 0x1017bb6b
mov eax, dword [ebx + 0x1ec]
dec esi
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], esi
mov dword [eax + 0xb0], 0
push ebx
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp byte [ebp - 0x44], 2
mov edi, dword [ebp - 0x10]
je 0x10178e93
movzx eax, byte [ebp - 0x34]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x4c], 0
mov byte [ebp - 0x18], al
je 0x101794f6
push dword [ebp - 0x50]
push 0
push dword [0x1048f0f8]
mov dword [ebp - 0x24], ebx
mov ebx, esi
mov edi, ecx
mov esi, edx
call sub.KERNEL32.dll_HeapFree
mov edx, esi
mov esi, ebx
mov ecx, edi
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
test edx, edx
je 0x1017950b
push ecx
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [ebp - 0x10]
cmp byte [ebp - 0x18], 2
je 0x10178e93
test ebx, ebx
je 0x10178e93
push esi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x10178e90
mov eax, dword [ebp - 0xe4]
movsd xmm0, qword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
mov eax, dword [0x1044f00c]
movsd qword [ebp - 0x100], xmm0
mov dword [ebp - 0x104], 1
movzx eax, byte [eax]
mov eax, dword [0x1048f0f8]
test eax, eax
jne 0x10179579
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1017bb52
mov dword [0x1048f0f8], eax
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1017bb52
mov ecx, eax
mov dword [eax], 0x48544150
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x54], 4
mov byte [ebp - 0x50], 0
mov dword [ebp - 0xb8], eax
add ecx, 4
mov dword [ebp - 0xb4], ecx
mov word [ebp - 0xb0], 0
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0xb8]
call fcn.1015b830
movsd xmm1, qword [ebp - 0x54]
movsd xmm0, qword [ebp - 0x5c]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x30]
movsd qword [ebp - 0x4f4], xmm1
movsd xmm1, qword [ebp - 0x80]
movsd qword [ebp - 0x4fc], xmm0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x500], eax
test edx, edx
movsd qword [ebp - 0x508], xmm1
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x14], eax
je 0x101796d8
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], eax
movzx esi, word [edx + 0x1ea]
lea ecx, [edx + 0xb4]
mov ebx, 0xffffffff
mov dword [ebp - 0x18], edx
lea eax, [esi + esi*8]
mov dword [ebp - 0x1c], esi
lea edi, [eax + eax*2]
add edi, esi
lea esi, [edx - 8]
nop
test edi, edi
je 0x10179690
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x20], eax
push 1
push dword [ecx + 8]
push dword [ecx]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.KERNEL32.dll_CompareStringOrdinal
mov ecx, dword [ebp - 0x20]
add edi, 0xffffffe4
add esi, 0x10
inc ebx
cmp eax, 3
je 0x10179650
cmp eax, 1
jne 0x101796b0
jmp 0x10179693
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub eax, 1
jb 0x101796df
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov edx, dword [edx + ebx*4 + 0x1ec]
jmp 0x1017962b
cmp eax, 2
jne 0x1017ba90
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x30]
je 0x101796df
mov eax, dword [esi - 8]
mov edx, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x4f8], 0
jne 0x101796e8
jmp 0x101796fe
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x4f8], 0
je 0x101796fe
push dword [ebp - 0x4fc]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x504], 0
je 0x1017971a
push dword [ebp - 0x14]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x1017975b
mov edx, dword [ecx + 0x18]
mov ecx, 0x10176e00
cmp eax, 4
mov dword [ebp - 0x20], eax
jb 0x1017973f
cmp dword [edx], 0x5c3f5c5c
mov eax, 0x10176e20
cmove ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
movzx ebx, byte [eax + edx - 1]
push ebx
call ecx
add esp, 4
mov edi, dword [ebp - 0x20]
test al, al
je 0x101797db
mov byte [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0x1043ac0c
mov ecx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x88]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], 2
cmp dword [ebp - 0x104], 0
je 0x10179879
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x10179858
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], ecx
mov dword [ebp - 0x4fc], edx
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], ecx
mov ecx, 1
mov dword [ebp - 0x4ec], edx
jmp 0x1017985c
xor eax, eax
cmp edi, 3
mov ecx, 0
jbe 0x1017989e
mov esi, dword [ebp - 0x14]
movzx ecx, byte [edi + esi - 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x2e
jne 0x10179895
movzx ecx, byte [esi + edi - 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x65
jne 0x10179895
movzx ecx, byte [esi + edi - 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x78
jne 0x10179899
mov ecx, ebx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, bl
cmp cl, 0x65
sete cl
jmp 0x1017989b
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x508], ecx
mov dword [ebp - 0x4f8], ecx
mov dword [ebp - 0x4e8], eax
lea ecx, [ebp - 0x508]
call fcn.10148fe0
cmp dword [ebp + 8], 3
jb 0x1017988a
push dword [ebp - 0xf4]
call sub.KERNEL32.dll_CloseHandle
add esp, 0x4fc
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
jmp 0x1017989e
xor ecx, ecx
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add edx, edi
mov dword [ebp - 0x10], edx
nop word cs:[eax + eax]
cmp dword [ebp - 0x20], eax
je 0x10179922
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + eax]
cmp edx, 0x2f
je 0x101798c7
inc eax
cmp edx, 0x5c
jne 0x101798b0
test cl, cl
je 0x101799cf
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x508]
push dword [ebp - 0x20]
call fcn.1017e3a0
add esp, 4
mov edx, dword [ebp - 0x508]
mov eax, dword [ebp - 0x504]
mov ecx, dword [ebp - 0x500]
test edx, edx
je 0x10179ac4
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x500], ecx
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x508]
call fcn.10174340
jmp 0x10179bd3
mov eax, dword [ebp - 0x14]
xor esi, esi
jmp 0x1017993b
xor esi, esi
test cx, cx
je 0x10179ab1
mov cx, 1
test si, si
jne 0x10179930
cmp eax, dword [ebp - 0x10]
je 0x10179b73
movzx edx, byte [eax]
test dl, dl
js 0x10179957
inc eax
jmp 0x101799a4
movzx edi, byte [eax + 1]
mov esi, edx
and esi, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x1017999a
movzx ebx, byte [eax + 2]
shl edi, 6
and ebx, 0x3f
or ebx, edi
cmp dl, 0xf0
jb 0x101799aa
movzx edx, byte [eax + 3]
and esi, 7
shl ebx, 6
add eax, 4
shl esi, 0x12
and edx, 0x3f
or edx, ebx
or edx, esi
cmp edx, 0xffff
jbe 0x101799a4
jmp 0x101799bc
shl esi, 6
add eax, 2
or esi, edi
mov edx, esi
xor esi, esi
mov ecx, edx
jmp 0x10179932
shl esi, 0xc
add eax, 3
or ebx, esi
mov edx, ebx
cmp edx, 0xffff
jbe 0x101799a4
and edx, 0x3ff
or edx, 0xdc00
mov esi, edx
jmp 0x10179932
cmp dword [ebp - 0x20], 0
js 0x1017bc22
mov eax, dword [0x1044f00c]
movzx eax, byte [eax]
mov eax, dword [0x1048f0f8]
test eax, eax
jne 0x101799fc
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1017bb59
mov dword [0x1048f0f8], eax
mov esi, dword [ebp - 0x20]
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1017bb59
mov edi, eax
push esi
push dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], 0
movsd xmm0, qword [ebp - 0x54]
movsd xmm1, qword [ebp - 0x5c]
movsd qword [ebp - 0x500], xmm0
movsd qword [ebp - 0x508], xmm1
lea esi, [ebp - 0x508]
push 4
push str..exeprogram_not_found
push esi
call fcn.101767f0
add esp, 0xc
movsd xmm0, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
movsd qword [ebp - 0x5c], xmm0
movsd qword [ebp - 0x54], xmm1
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x54]
mov edx, edi
lea ecx, [ebp - 0xb8]
push esi
call fcn.1017c080
add esp, 4
cmp dword [ebp - 0xb8], 0
je 0x10179ad6
mov eax, dword [ebp - 0xb0]
movsd xmm0, qword [ebp - 0xb8]
mov dword [ebp - 0x68], eax
movsd qword [ebp - 0x70], xmm0
jmp 0x10179bbf
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0x1043abbc
jmp 0x10179766
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0
jmp 0x10179bd3
push esi
push edi
call fcn.1016c510
add esp, 8
test eax, eax
je 0x10179b2a
cmp edx, 2
jne 0x10179af9
movzx ebx, word [eax]
mov ecx, 2
cmp ebx, 0x2e2e
je 0x10179b1d
mov ebx, edx
nop dword [eax + eax]
test ebx, ebx
je 0x10179b1b
mov ecx, ebx
dec ebx
cmp byte [eax + ecx - 1], 0x2e
jne 0x10179b00
cmp edx, ecx
jb 0x1017bc50
test ebx, ebx
cmovne edx, ebx
mov ecx, edx
add eax, ecx
sub eax, edi
cmp esi, eax
jb 0x10179b2a
mov esi, eax
mov dword [ebp - 0x54], eax
mov edx, edi
lea ecx, [ebp - 0x508]
push esi
call fcn.1017e3a0
add esp, 4
mov edx, dword [ebp - 0x508]
mov eax, dword [ebp - 0x504]
mov ecx, dword [ebp - 0x500]
test edx, edx
je 0x10179bb2
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x500], ecx
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x508]
call fcn.10174340
jmp 0x10179bbf
mov eax, dword [ebp - 0x20]
cmp eax, 7
ja 0x10179b9c
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp byte [ecx + eax], 0x2e
je 0x1017a5e6
inc eax
cmp dword [ebp - 0x20], eax
jne 0x10179b80
mov dword [ebp - 0x28], 0
jmp 0x1017a5ed
push eax
push dword [ebp - 0x14]
push 0x2e
call fcn.1002aa00
add esp, 0xc
mov dword [ebp - 0x28], eax
jmp 0x1017a5ed
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x58], 0
je 0x10179bd3
push edi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
test esi, esi
mov dword [ebp - 0x20], eax
je 0x10179d0d
cmp edi, 5
mov dword [ebp - 0x18], esi
jb 0x10179c03
cmp word [esi + edi*2 - 0xa], 0x2e
jne 0x10179c03
cmp word [esi + edi*2 - 2], 0
je 0x1017a40e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ebx, dword [eax + 0x48]
mov esi, dword [eax + 0x50]
movzx eax, byte [eax + 0x59]
mov byte [ebp - 0x24], al
lea ecx, [ebp - 0x5c]
xor edx, edx
call fcn.1014ff70
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x10]
mov word [eax + ecx*2], 0x22
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x504], edi
mov word [ebp - 0x500], 0
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x508]
call fcn.1015b6e0
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x58]
jne 0x10179c7e
lea ecx, [ebp - 0x5c]
call fcn.1014ff70
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov word [eax + edx*2], 0x22
inc edx
test esi, esi
mov dword [ebp - 0x54], edx
je 0x10179d15
shl esi, 2
lea edi, [esi + esi*4]
movzx esi, byte [ebp - 0x24]
nop dword [eax]
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x58]
jne 0x10179cb3
lea ecx, [ebp - 0x5c]
call fcn.1014ff70
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov word [eax + edx*2], 0x20
inc edx
mov dword [ebp - 0x54], edx
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0xb8]
push esi
push ebx
call fcn.10173e90
add esp, 8
movzx eax, byte [ebp - 0xb8]
cmp al, 4
jne 0x1017a261
add ebx, 0x14
add edi, 0xffffffec
jne 0x10179ca0
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov cl, 1
mov dword [ebp - 0x24], ecx
test eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edx
jne 0x10179d2c
jmp 0x1017a2a4
mov ecx, dword [ebp - 0x20]
jmp 0x1017976c
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov cl, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edx
cmp esi, edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], esi
jne 0x10179d5b
lea ecx, [ebp - 0xd4]
mov edx, esi
call fcn.1014ff70
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x30]
mov word [eax + esi*2], 0
inc esi
mov eax, 0x400
mov edx, 0x608
mov dword [ebp - 0xcc], esi
cmp byte [ecx + 0x58], 0
cmove edx, eax
or edx, dword [ecx + 0x54]
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0x108], edx
je 0x1017a31d
mov esi, dword [ebp - 0xf8]
movsd xmm0, qword [ebp - 0x100]
mov edi, 2
mov ecx, 0
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x10], 0
test esi, esi
mov dword [ebp - 0xe4], esi
movsd qword [ebp - 0xec], xmm0
jne 0x10179df4
mov bl, 1
lea ecx, [ebp - 0x70]
xor edx, edx
call fcn.1014ff70
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x68]
mov word [edi + ecx*2], 0
inc ecx
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xe8]
xor edx, edx
lea ebx, [ebp - 0x80]
test eax, eax
setne dl
cmove esi, eax
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 0x4f8], edx
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x4ec], ecx
mov dword [ebp - 0x4e8], esi
lea edx, [ebp - 0x508]
xor esi, esi
mov ecx, ebx
call fcn.1014e010
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], edi
test eax, eax
je 0x1017b19a
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xdc], esi
lea edx, [ecx + ecx*8]
lea esi, [edx + edx*2]
add esi, ecx
shl ecx, 4
mov edx, dword [eax + esi + 0xb4]
mov edi, dword [eax + esi + 0xb8]
mov ebx, dword [eax + esi + 0xc8]
mov dword [ebp - 0x8c], edx
movzx edx, byte [eax + esi + 0xcc]
mov dword [ebp - 0x84], edi
mov edi, dword [eax + esi + 0xbc]
mov byte [ebp - 0x1c], dl
movzx edx, byte [eax + esi + 0xcf]
mov dword [ebp - 0xf0], edi
mov edi, dword [eax + esi + 0xc0]
cmp byte [ebp - 0x1c], 2
mov byte [ebp - 0x60], dl
mov edx, dword [eax + esi + 0xc4]
mov dword [ebp - 0xd8], edx
mov dh, byte [ebp - 0x60]
mov byte [ebp - 0x5a], dh
movzx esi, word [eax + esi + 0xcd]
mov word [ebp - 0x5c], si
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
lea eax, [ebp - 0x59]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x4d]
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
mov dword [ebp - 0xa9], eax
movsd qword [ebp - 0xb0], xmm1
movsd qword [ebp - 0xb8], xmm0
je 0x1017b19a
lea eax, [ebp - 0xb5]
add ebx, edi
mov edx, edi
xor edi, edi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, ebx
lea ebx, [ebp - 0x80]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x1c], eax
movsd qword [ebp - 0x78], xmm1
movsd qword [ebp - 0x80], xmm0
jmp 0x10179f6b
xor edi, edi
test si, si
je 0x1017a2c0
mov si, 1
test di, di
jne 0x10179f60
cmp edx, eax
je 0x1017a01b
movzx ebx, byte [edx]
test bl, bl
js 0x10179f86
inc edx
jmp 0x10179fd6
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x10179fcc
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x10179fe7
movzx ebx, byte [edx + 3]
and edi, 7
shl eax, 6
add edx, 4
shl edi, 0x12
and ebx, 0x3f
or ebx, eax
or ebx, edi
mov eax, dword [ebp - 0x1c]
cmp ebx, 0xffff
jbe 0x10179fd6
jmp 0x10179ffc
shl edi, 6
add edx, 2
or edi, ecx
mov ebx, edi
xor edi, edi
mov esi, ebx
lea ebx, [ebp - 0x80]
test si, si
jne 0x10179f6b
jmp 0x1017a2c0
shl edi, 0xc
add edx, 3
or eax, edi
mov ebx, eax
mov eax, dword [ebp - 0x1c]
cmp ebx, 0xffff
jbe 0x10179fd6
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
lea ebx, [ebp - 0x80]
test si, si
jne 0x10179f6b
jmp 0x1017a2c0
cmp dword [ebp - 0xd8], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x8c]
je 0x1017a03e
push eax
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x14], esi
sub eax, edx
cmp eax, ecx
mov eax, ecx
jae 0x1017a072
lea ecx, [ebp - 0x70]
push eax
call fcn.10150480
add esp, 4
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xf0]
jmp 0x1017a075
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x28], ecx
add eax, eax
lea ecx, [ecx + edx*2]
push eax
push edi
push ecx
mov edi, edx
call sub.msvcrt.dll_memcpy
mov edx, edi
add esp, 0xc
add edx, esi
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0x68], edx
je 0x1017a0b3
push dword [ebp - 0x8c]
push 0
push dword [0x1048f0f8]
mov edi, edx
call sub.KERNEL32.dll_HeapFree
mov edx, edi
cmp edx, dword [ebp - 0x6c]
jne 0x1017a0c8
lea ecx, [ebp - 0x70]
call fcn.1014ff70
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
jmp 0x1017a0cb
mov esi, dword [ebp - 0x28]
mov word [esi + edx*2], 0x3d
inc edx
and dword [ebp - 0x60], 0xffffff00
xor esi, esi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ah, byte [ebp - 0x74]
mov dword [ebp - 0xd8], ecx
add ecx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x84], ah
jmp 0x1017a11b
xor esi, esi
test bx, bx
je 0x1017a575
mov bx, 1
test si, si
jne 0x1017a110
cmp edx, ecx
je 0x1017a1ac
movzx eax, byte [edx]
test al, al
js 0x1017a136
inc edx
jmp 0x1017a192
movzx ecx, byte [edx + 1]
mov esi, eax
and esi, 0x1f
and ecx, 0x3f
cmp al, 0xdf
jbe 0x1017a16f
movzx edi, byte [edx + 2]
shl ecx, 6
and edi, 0x3f
or edi, ecx
cmp al, 0xf0
jb 0x1017a17e
movzx eax, byte [edx + 3]
and esi, 7
shl edi, 6
add edx, 4
shl esi, 0x12
and eax, 0x3f
or eax, edi
or eax, esi
jmp 0x1017a188
shl esi, 6
add edx, 2
or esi, ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
jmp 0x1017a192
shl esi, 0xc
add edx, 3
or edi, esi
mov eax, edi
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffff
ja 0x1017a19b
xor esi, esi
mov ebx, eax
jmp 0x1017a112
and eax, 0x3ff
or eax, 0xdc00
mov esi, eax
jmp 0x1017a112
mov ebx, dword [ebp - 0x28]
movzx edx, byte [ebp - 0x84]
mov esi, ebx
shr esi, 8
cmp dl, 2
je 0x1017b981
lea edi, [ebp - 0x73]
lea ecx, [ebp - 0x59]
mov dword [ebp - 0xc8], ebx
movzx eax, word [edi]
mov word [ecx + 0xa], ax
movzx eax, byte [edi + 2]
mov edi, dword [ebp - 0x1c]
mov byte [ecx + 0xc], al
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0x50], dl
mov word [ebp - 0xc0], 0
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0xc8]
call fcn.1015b6e0
test edi, edi
lea ebx, [ebp - 0x80]
je 0x1017a22a
push dword [ebp - 0x28]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x6c]
jne 0x1017a23d
lea ecx, [ebp - 0x70]
call fcn.1014ff70
mov edx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
mov word [edi + edx*2], 0
inc edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0x68], edx
lea edx, [ebp - 0x508]
jmp 0x10179e59
movzx ecx, byte [ebp - 0xb1]
mov ebx, dword [ebp - 0xb7]
movzx esi, word [ebp - 0xb3]
movzx eax, al
mov edi, ebx
shl ecx, 0x10
or esi, ecx
shl edi, 8
cmp dword [ebp - 0x58], 0
je 0x1017a29e
push dword [ebp - 0x5c]
push 0
push dword [0x1048f0f8]
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x14]
shld esi, ebx, 8
or edi, eax
mov eax, dword [ebp - 0x88]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], 2
mov esi, dword [ebp - 0x18]
xor ebx, ebx
jmp 0x1017b3b1
cmp dword [ebp - 0xd8], 0
je 0x1017a2d9
push dword [ebp - 0x60]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x7c], 0
je 0x1017a2ef
push dword [ebp - 0x80]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
or dword [ebp - 0x10], 2
cmp dword [ebp - 0x84], 0
mov edi, 0x1043abbc
je 0x1017a5a3
push dword [ebp - 0x8c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x1017a5a3
mov eax, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x28], 0
cmp byte [eax + 0x44], 2
jne 0x1017a34f
xor esi, esi
mov dword [ebp - 0x8c], 2
xor ecx, ecx
xor eax, eax
jmp 0x1017ad7a
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x40]
xor edi, edi
add eax, edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x60], eax
jmp 0x1017a37b
xor edi, edi
test si, si
je 0x1017a550
mov si, 1
test di, di
jne 0x1017a370
cmp edx, eax
je 0x1017ad21
movzx ebx, byte [edx]
test bl, bl
js 0x1017a396
inc edx
jmp 0x1017a3f2
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x1017a3d1
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x1017a3dd
movzx ebx, byte [edx + 3]
and edi, 7
shl eax, 6
add edx, 4
shl edi, 0x12
and ebx, 0x3f
or ebx, eax
or ebx, edi
jmp 0x1017a3e7
shl edi, 6
add edx, 2
or edi, ecx
mov ebx, edi
jmp 0x1017a3f2
shl edi, 0xc
add edx, 3
or eax, edi
mov ebx, eax
mov eax, dword [ebp - 0x60]
cmp ebx, 0xffff
ja 0x1017a3fb
xor edi, edi
mov esi, ebx
jmp 0x1017a372
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
jmp 0x1017a372
movzx eax, word [esi + edi*2 - 8]
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x10179c03
mov edx, dword [ebp - 0x60]
add edx, dword [ecx*4 + 0x1017bff4]
jmp edx
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov dword [eax + 4], 0x1043abbc
mov dword [eax], 2
mov dword [eax + 8], 2
jmp 0x1017b35f
cmp dword [ebp - 0x1c], 0
mov edi, 0x1043abbc
mov esi, 2
je 0x1017a595
push dword [ebp - 0x28]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0xdc]
shl eax, 8
or eax, esi
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea ecx, [ebp - 0x508]
call fcn.10148fe0
cmp dword [ebp - 0x6c], 0
je 0x1017a5c6
push dword [ebp - 0x70]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 8], 2
jmp 0x1017b375
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1017a728
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb8], eax
add ecx, eax
mov dword [ebp - 0xb4], ecx
mov word [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
lea ebx, [ebp - 0xb8]
lea edi, [ebp - 0x508]
push ebx
push edi
call fcn.101762e0
add esp, 8
jmp 0x1017a64a
push ebx
push edi
call fcn.101762e0
add esp, 8
movzx eax, byte [ebp - 0x4fc]
cmp al, 2
je 0x1017a728
mov esi, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x508]
mov edx, dword [ebp - 0x504]
test esi, esi
jne 0x1017a683
test edx, edx
je 0x1017a640
push ecx
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x1017a640
lea ebx, [ebp - 0x4fb]
lea edi, [ebp - 0x4f]
movzx ebx, word [ebx]
mov word [edi], bx
lea ebx, [ebp - 0x4fb]
mov ah, byte [ebx + 2]
mov byte [edi + 2], ah
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], al
push dword [ebp - 0x20]
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call fcn.1016b590
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x1017a6d5
push 3
push str.exeNULexit_code:
lea eax, [ebp - 0x5c]
push eax
call fcn.1016c020
add esp, 0xc
mov ebx, dword [ebp - 0x5c]
mov edx, ebx
lea ecx, [ebp - 0x508]
push dword [ebp - 0x54]
call fcn.1017c080
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x1017a6ff
push ebx
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x508]
test esi, esi
jne 0x1017b3d2
lea ebx, [ebp - 0xb8]
push ebx
lea edi, [ebp - 0x508]
push edi
call fcn.101762e0
add esp, 8
jmp 0x1017a64a
lea ecx, [ebp - 0xb8]
call fcn.10176510
cmp byte [ebp - 0xac], 2
jne 0x1017a74c
lea ecx, [ebp - 0xb8]
call fcn.1014a6f0
jmp 0x1017a80a
movsd xmm0, qword [ebp - 0xb8]
movsd xmm1, qword [ebp - 0xb0]
movsd qword [ebp - 0x5c], xmm0
movsd qword [ebp - 0x54], xmm1
mov esi, dword [ebp - 0x54]
push esi
push dword [ebp - 0x5c]
call fcn.1016c3e0
add esp, 8
test eax, eax
je 0x1017a780
cmp esi, edx
jb 0x1017a780
mov dword [ebp - 0x54], edx
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
movsd qword [ebp - 0x500], xmm1
movsd qword [ebp - 0x508], xmm0
lea esi, [ebp - 0x508]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push esi
call fcn.1016b590
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x1017a7c5
push 3
push str.exeNULexit_code:
push esi
call fcn.1016c020
add esp, 0xc
mov edi, dword [ebp - 0x508]
mov edx, edi
lea ecx, [ebp - 0x80]
push dword [ebp - 0x500]
call fcn.1017c080
add esp, 4
cmp dword [ebp - 0x504], 0
je 0x1017a7f5
push edi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x1017a80a
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
jmp 0x10179be7
mov edi, 0x200
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x24], 0
cmp edi, 0x201
jb 0x1017a85e
jmp 0x1017a870
jbe 0x1017a905
cmp edi, 0x201
jae 0x1017a870
mov dword [ebp - 0x2c], 0x200
lea esi, [ebp - 0x508]
mov ebx, edi
jmp 0x1017a8b0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sub edi, ebx
sub eax, ebx
cmp eax, edi
jae 0x1017a89e
mov edx, ebx
lea ecx, [ebp - 0xc8]
push edi
call fcn.10150480
add esp, 4
mov eax, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
push 0
call sub.KERNEL32.dll_SetLastError
push ebx
push esi
call sub.KERNEL32.dll_GetSystemDirectoryW
mov edi, eax
test eax, eax
jne 0x1017a8d1
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1017a98e
cmp edi, ebx
jne 0x1017a850
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1017bb84
lea edi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x1017a870
jmp 0x1017a85e
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x1017bc3f
lea ebx, [ebp - 0x5c]
push edi
push esi
push ebx
call fcn.10169f90
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push ebx
call fcn.1016b590
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x1017a943
push 3
push str.exeNULexit_code:
push ebx
call fcn.1016c020
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov edx, edi
lea ecx, [ebp - 0x80]
push dword [ebp - 0x54]
call fcn.1017c080
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x1017a96a
push edi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
mov bl, 1
movsd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], 0
jmp 0x1017a9ac
call sub.KERNEL32.dll_GetLastError
xor ebx, ebx
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0x18], 0
je 0x1017a9c2
push dword [ebp - 0x1c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
test bl, bl
je 0x1017a9d4
mov esi, dword [ebp - 0xb4]
test esi, esi
jne 0x1017abb0
lea ecx, [ebp - 0xb8]
call fcn.10148dc0
mov edi, 0x200
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x24], 0
cmp edi, 0x201
jb 0x1017aa3e
jmp 0x1017aa50
jbe 0x1017aae5
cmp edi, 0x201
jae 0x1017aa50
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x508]
mov esi, edi
jmp 0x1017aa90
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sub edi, esi
sub eax, esi
cmp eax, edi
jae 0x1017aa7e
mov edx, esi
lea ecx, [ebp - 0xc8]
push edi
call fcn.10150480
add esp, 4
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], esi
push 0
call sub.KERNEL32.dll_SetLastError
push esi
push ebx
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov edi, eax
test eax, eax
jne 0x1017aab1
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1017ab6e
cmp edi, esi
jne 0x1017aa30
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1017bb9d
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x1017aa50
jmp 0x1017aa3e
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x1017bc61
lea esi, [ebp - 0x5c]
push edi
push ebx
push esi
call fcn.10169f90
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push esi
call fcn.1016b590
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x1017ab23
push 3
push str.exeNULexit_code:
push esi
call fcn.1016c020
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov edx, edi
lea ecx, [ebp - 0x80]
push dword [ebp - 0x54]
call fcn.1017c080
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x1017ab4a
push edi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
mov bl, 1
movsd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], 0
jmp 0x1017ab8c
call sub.KERNEL32.dll_GetLastError
xor ebx, ebx
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0x18], 0
je 0x1017aba2
push dword [ebp - 0x1c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
test bl, bl
je 0x1017abc4
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x1017abc4
mov eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
jmp 0x10179be7
lea edi, [ebp - 0xb8]
mov ecx, edi
call fcn.10148dc0
push 4
push str.PATHlibrary_std_src_sys_commonprocess.rs
lea eax, [ebp - 0xc8]
push eax
call fcn.10165040
add esp, 0xc
cmp byte [ebp - 0xbc], 2
je 0x1017b18a
movsd xmm0, qword [ebp - 0xc8]
movsd xmm1, qword [ebp - 0xc0]
lea ebx, [ebp - 0x508]
movsd qword [ebp - 0x80], xmm0
movsd qword [ebp - 0x78], xmm1
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
add eax, ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
push edi
push ebx
call fcn.101762e0
add esp, 8
jmp 0x1017ac51
push edi
push ebx
call fcn.101762e0
add esp, 8
movzx eax, byte [ebp - 0x4fc]
cmp al, 2
je 0x1017b174
mov esi, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x508]
mov edx, dword [ebp - 0x504]
test esi, esi
jne 0x1017ac8a
test edx, edx
je 0x1017ac47
push ecx
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x1017ac47
lea edi, [ebp - 0x4fb]
lea ebx, [ebp - 0x4f]
movzx edi, word [edi]
mov word [ebx], di
lea edi, [ebp - 0x4fb]
mov ah, byte [edi + 2]
mov byte [ebx + 2], ah
lea ebx, [ebp - 0x508]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], al
push dword [ebp - 0x20]
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call fcn.1016b590
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x1017ace2
push 3
push str.exeNULexit_code:
lea eax, [ebp - 0x5c]
push eax
call fcn.1016c020
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov edx, edi
mov ecx, ebx
push dword [ebp - 0x54]
call fcn.1017c080
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x1017ad08
push edi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x508]
test esi, esi
jne 0x1017b861
lea edi, [ebp - 0xb8]
jmp 0x1017ac3b
mov esi, dword [ebp - 0x84]
mov ecx, eax
mov dword [ebp - 0x508], esi
mov dword [ebp - 0x504], ecx
mov word [ebp - 0x500], 0
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x508]
call fcn.1015b830
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
cmp edx, ecx
jne 0x1017ad64
lea ecx, [ebp - 0x5c]
call fcn.1014ff70
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
mov eax, ecx
and eax, 0xffffff00
mov word [esi + edx*2], 0
mov dword [ebp - 0x8c], esi
movzx ecx, cl
xorps xmm0, xmm0
or ecx, eax
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x60], ecx
push 0x1048f108
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x1048f0e4]
test eax, 0x7fffffff
je 0x1017adab
call fcn.101726e0
xor al, 1
jmp 0x1017adad
xor eax, eax
movzx ecx, byte [0x1048f10c]
mov dword [ebp - 0xe0], esi
test cl, cl
mov byte [ebp - 0xd8], cl
je 0x1017add2
mov ecx, 1
mov dword [ebp - 0x7c], 0x1048f108
jmp 0x1017addb
mov dword [ebp - 0x7c], 0x1048f108
xor ecx, ecx
mov byte [ebp - 0x78], al
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
xor edx, edx
lea ebx, [ebp - 0xf4]
lea edi, [ebp - 0xc8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov esi, dword [ecx]
mov eax, ecx
cmp esi, 5
cmove eax, edx
cmp byte [ebp + 0xc], 0
mov edx, 1
cmovne edi, ebx
cmovne edx, dword [ebp + 8]
add eax, 4
cmp esi, 5
lea ebx, [ecx + 8]
cmove eax, edi
mov edi, dword [ecx + 8]
cmovne edx, esi
mov esi, 0
cmp edi, 5
cmove ebx, esi
mov esi, dword [ecx + 0x10]
add ecx, 0x10
mov dword [ebp - 0xf0], esi
cmp esi, 5
mov esi, 0
cmove ecx, esi
mov dword [ebp - 0x30], ecx
lea esi, [ebp - 0x5c]
lea ecx, [ebp - 0x508]
push esi
push 0xfffffffffffffff6
push dword [eax]
call fcn.1017c190
add esp, 0xc
movzx eax, byte [ebp - 0x508]
mov esi, dword [ebp - 0x18]
cmp al, 4
jne 0x1017b10a
mov ecx, dword [ebp - 0x504]
add ebx, 4
cmp edi, 5
lea eax, [ebp - 0x54]
cmove edi, dword [ebp + 8]
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xf4]
cmove ebx, ecx
mov edx, edi
lea ecx, [ebp - 0x508]
push eax
push 0xfffffffffffffff5
push dword [ebx]
call fcn.1017c190
add esp, 0xc
movzx eax, byte [ebp - 0x508]
mov ebx, dword [ebp - 0xdc]
cmp al, 4
jne 0x1017b13f
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0x4c]
add esi, 4
cmp edx, 5
cmove esi, ecx
mov ecx, dword [ebp - 0x504]
cmove edx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x508]
push eax
push 0xfffffffffffffff4
push dword [esi]
mov edi, dword [ebp - 0x14]
call fcn.1017c190
add esp, 0xc
movzx eax, byte [ebp - 0x508]
cmp al, 4
jne 0x1017b1cd
mov edi, dword [ebp - 0x504]
test ebx, ebx
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x508], 0x44
jne 0x1017afdd
cmp dword [ebp - 0x30], 0
jne 0x1017afdd
test edi, edi
je 0x1017affc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4dc], 0x100
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4c8], edi
mov esi, dword [ebp - 0xd4]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x508]
push eax
push dword [ebp - 0xe0]
push dword [ebp - 0x28]
push dword [ebp - 0x108]
push 1
push 0
push 0
push esi
push dword [ebp - 0x2c]
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
je 0x1017b293
mov eax, dword [ebp - 0x88]
movsd xmm1, qword [ebp - 0x54]
movsd xmm0, qword [ebp - 0x4c]
movsd xmm2, qword [ebp - 0x5c]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ebp - 0xb8]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 8], xmm2
movsd qword [eax], xmm1
push edi
call sub.KERNEL32.dll_CloseHandle
push dword [ebp - 0x30]
call sub.KERNEL32.dll_CloseHandle
push ebx
call sub.KERNEL32.dll_CloseHandle
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
call fcn.10149540
cmp dword [ebp - 0x60], 0
je 0x1017b09e
push dword [ebp - 0x8c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x1017b0b4
push dword [ebp - 0x1c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0xd0], 0
je 0x1017b0cb
push esi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x1017b0df
push dword [ebp - 0x2c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
sete al
or cl, al
mov eax, dword [ebp - 0x18]
cmp cl, 1
je 0x10179879
push eax
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x10179879
movzx ecx, byte [ebp - 0x505]
mov edx, dword [ebp - 0x88]
movzx ebx, word [ebp - 0x507]
mov edi, dword [ebp - 0x504]
mov byte [edx + 3], cl
mov word [edx + 1], bx
mov byte [edx], al
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [edx + 8], 2
jmp 0x1017b2c5
movzx ecx, byte [ebp - 0x505]
mov edx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x504]
mov byte [edx + 3], cl
movzx ecx, word [ebp - 0x507]
mov word [edx + 1], cx
mov byte [edx], al
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [edx + 8], 2
jmp 0x1017b2bf
cmp dword [ebp - 0x7c], 0
je 0x1017b18a
push dword [ebp - 0x18]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
mov byte [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0x1043abe0
jmp 0x10179766
xor ebx, ebx
lea ecx, [ebp - 0x508]
call fcn.10148fe0
mov edi, dword [ebp - 0xe0]
cmp edi, dword [ebp - 0x6c]
jne 0x1017b267
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov edx, edi
call fcn.1014ff70
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x68]
jmp 0x1017b26a
movzx ecx, byte [ebp - 0x505]
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x504]
mov byte [edx + 3], cl
movzx ecx, word [ebp - 0x507]
mov word [edx + 1], cx
mov byte [edx], al
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x18]
mov dword [edx + 8], 2
jmp 0x1017b2b7
mov ecx, dword [ebp - 0x28]
mov word [ecx + edi*2], 0
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
jne 0x1017a334
inc edi
jmp 0x1017a5c9
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [ebp - 0x88]
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], 2
push edi
call sub.KERNEL32.dll_CloseHandle
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x30]
call sub.KERNEL32.dll_CloseHandle
push ebx
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x5c], 0
je 0x1017b2d3
push dword [ebp - 0x58]
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x54], 0
je 0x1017b2e1
push dword [ebp - 0x50]
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x4c], 0
je 0x1017b2ef
push dword [ebp - 0x48]
call sub.KERNEL32.dll_CloseHandle
cmp byte [ebp - 0xd8], 0
je 0x1017b314
cmp byte [ebp - 0x84], 0
jne 0x1017b33c
mov eax, dword [0x1048f0e4]
test eax, 0x7fffffff
je 0x1017b33c
call fcn.101726e0
jmp 0x1017b32e
cmp byte [ebp - 0x84], 0
jne 0x1017b33c
mov eax, dword [0x1048f0e4]
test eax, 0x7fffffff
je 0x1017b33c
call fcn.101726e0
mov esi, dword [ebp - 0x18]
test al, al
jne 0x1017b33c
mov byte [0x1048f10c], 1
push 0x1048f108
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
cmp dword [ebp - 0x60], 0
je 0x1017b35f
push dword [ebp - 0x8c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x1017b375
push dword [ebp - 0x1c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0xd0], 0
je 0x1017b391
push dword [ebp - 0xd4]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x1017b3a5
push dword [ebp - 0x2c]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
cmp byte [ebp - 0x24], 0
mov bl, 1
jne 0x10179879
cmp dword [ebp - 0x20], 0
je 0x1017b3c5
push esi
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
test bl, bl
je 0x1017977e
jmp 0x10179879
mov eax, dword [ebp - 0x504]
mov edi, dword [ebp - 0x500]
mov dword [ebp - 0x20], eax
jmp 0x10179be7
mov eax, dword [ebp - 0x504]
mov edi, dword [ebp - 0x500]
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x20], eax
je 0x10179be7
push dword [ebp - 0x18]
push 0
push dword [0x1048f0f8]
call sub.KERNEL32.dll_HeapFree
jmp 0x10179be7
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xdc], esi
movzx esi, bl
jmp 0x1017a595
push 0x10438b74
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rs
call fcn.10027330
add esp, 0xc
jmp 0x1017bca7
call sub.KERNEL32.dll_GetLastError
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x5c], 0x1043ab5c
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], fcn.10167360
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x5c]
push 0x1043ab8c
push eax
call fcn.100272b0
add esp, 8
jmp 0x1017bca7
push 0x104380fc
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rs
call fcn.10027330
add esp, 0xc
jmp 0x1017bca7
push edi
push 1
call fcn.1001ac80
add esp, 8
jmp 0x1017bca7
push esi
push 1
call fcn.1001ac80
add esp, 8
jmp 0x1017bca7
push edi
push dword [ebp - 0x28]
call fcn.1001ac80
add esp, 8
jmp 0x1017bca7
call fcn.1001ac40
jmp 0x1017bca7
call fcn.1001ac40
jmp 0x1017bca7
call fcn.1001ac40
jmp 0x1017bca7
mov dword [ebp - 0x20], 4
push dword [ebp - 0x20]
push 1
call fcn.1001ac80
add esp, 8
jmp 0x1017bca7
push 0x10438894
push 0x21
push str.assertion_failed:_self.height___0
call fcn.10027330
add esp, 0xc
jmp 0x1017bca7
push 0x1043b1dc
push 0x28
push str.internal_error:_entered_unreachable_codel
call fcn.10027330
add esp, 0xc
jmp 0x1017bca7
push 0x1043b1dc
push 0x28
push str.internal_error:_entered_unreachable_codel
call fcn.10027330
add esp, 0xc
jmp 0x1017bca7
call sub.KERNEL32.dll_GetLastError
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x58], eax
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x508], 0x1043a9e8
mov dword [ebp - 0x504], 1
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0x500], eax
mov dword [ebp - 0xb4], fcn.10167360
mov dword [ebp - 0x4fc], 1
lea eax, [ebp - 0x508]
push 0x1043a9f0
push eax
call fcn.100272b0
add esp, 8
jmp 0x1017bca7
call fcn.1001ac40
jmp 0x1017bca7
push 0x1043b1cc
push eax
push edi
call fcn.1002ac30
add esp, 0xc
jmp 0x1017bca7
push 0x10438178
push edx
push ecx
call fcn.1002abd0
add esp, 0xc
jmp 0x1017bca7
push 0x1043b1cc
push eax
push edi
call fcn.1002ac30
add esp, 0xc
jmp 0x1017bca7
ud2