Function at 0x1002b8f0
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, 0x5b4
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10034860
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x18]
call 0x1002b918
pop edi
mov dword [ebp - 0x64], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [edx + 0x50]
mov esi, dword [edx + 0x4c]
test al, al
sete cl
test esi, esi
sete ah
and ah, cl
je 0x1002b965
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x28], 0
mov esi, dword [edx + 0x20]
test esi, esi
jne 0x1002c2b1
jmp 0x1002c30f
test al, al
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0x3c], ah
mov dword [ebp - 0x94], 0
jne 0x1002bb16
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x1002e4f5
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x118], eax
nop word cs:[eax + eax]
nop dword [eax + eax]
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10], 5
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.10029da0
add esp, 8
mov eax, dword [ebp - 0x5c0]
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x158]
cmp eax, 0x80000000
je 0x1002bb04
movq xmm0, qword [ebp - 0x5b8]
mov edi, dword [ebp - 0x5bc]
mov esi, dword [ebp - 0x5b0]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x5a4]
mov dword [ebp - 0x10], 7
movd eax, xmm0
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x5ac]
mov dword [ebp - 0x158], edi
movdqu xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
add eax, edi
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x5a8]
mov word [ebp - 0x150], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], eax
call fcn.1001c1a0
mov eax, dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0xb8]
lea ecx, [ebp - 0xec]
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x10], 6
lea edx, [ebp - 0x9c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x88]
movlps qword [ebp - 0xf4], xmm0
movq xmm0, qword [ebp - 0x90]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
movq qword [ecx], xmm0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.10018f20
add esp, 8
mov eax, dword [ebp - 0x90]
test eax, 0x7fffffff
je 0x1002b9b0
push 1
push eax
push dword [ebp - 0x8c]
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002b9b0
push dword [ebp - 0x11c]
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov edx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x48]
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
xor edx, edx
test eax, eax
setne dl
cmove esi, eax
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x10], 1
nop dword [eax]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x10], 1
call fcn.10016ac0
mov edi, eax
test eax, eax
je 0x1002c0d7
cmp dword [edx], 0x80000000
mov esi, edx
jne 0x1002bcf0
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x1002bb60
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x30], edx
push dword [edi + 0x18]
push dword [edi + 0x14]
mov dword [ebp - 0x24], eax
push eax
call fcn.1001b830
add esp, 0xc
cmp dword [ebp - 0x11c], 0
jne 0x1002bb60
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x110]
mov byte [ebp - 0x1a8], 0
test ecx, ecx
jne 0x1002bc27
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], edx
lea ecx, [ebp - 0x5c0]
lea edx, [ebp - 0xfc]
push eax
call fcn.1001b000
add esp, 4
jmp 0x1002bfbe
movzx edx, word [eax + 0x1ea]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
jne 0x1002bc20
movzx ecx, word [eax + 0x1ea]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0xa8]
dec ecx
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0x5c0]
push eax
call fcn.1001b000
add esp, 4
movsd xmm2, qword [ebp - 0x5a8]
movsd xmm1, qword [ebp - 0x5b0]
mov eax, dword [ebp - 0x598]
movq xmm0, qword [ebp - 0x5a0]
mov edx, dword [ebp - 0x594]
mov ecx, dword [ebp - 0x58c]
movsd qword [ebp - 0x140], xmm2
movsd qword [ebp - 0x148], xmm1
movsd xmm2, qword [ebp - 0x5c0]
movsd xmm1, qword [ebp - 0x5b8]
mov dword [ebp - 0x130], eax
movq qword [ebp - 0x138], xmm0
movsd qword [ebp - 0x150], xmm1
movsd qword [ebp - 0x158], xmm2
movzx eax, word [edx + 0x1ea]
cmp ecx, eax
jae 0x1002be77
mov eax, edx
jmp 0x1002bea3
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 4]
test ecx, ecx
mov dword [ebp - 0x24], ecx
je 0x1002bd21
js 0x1002e3af
movzx eax, byte [0x1006b9a9]
push 1
push ecx
call fcn.1000f0c0
mov ecx, dword [ebp - 0x24]
add esp, 8
test eax, eax
jne 0x1002bd26
jmp 0x1002e39f
mov eax, 1
push ecx
push ebx
mov dword [ebp - 0x30], eax
push eax
call fcn.10045a70
add esp, 0xc
movzx eax, byte [edi + 0xc]
mov ebx, dword [edi + 0x18]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x28], al
mov eax, dword [edi + 0x14]
test ebx, ebx
je 0x1002bd7b
cmp ebx, 0x40000000
mov dword [ebp - 0x2c], eax
jae 0x1002e3d0
movzx eax, byte [0x1006b9a9]
lea esi, [ebx + ebx]
push 2
push esi
call fcn.1000f0c0
add esp, 8
test eax, eax
je 0x1002e3b9
mov edi, eax
mov eax, dword [ebp - 0x2c]
jmp 0x1002bd82
mov edi, 2
xor esi, esi
push esi
push eax
push edi
call fcn.10045a70
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5bc], ecx
mov dword [ebp - 0x5b8], eax
movzx eax, byte [ebp - 0x28]
mov byte [ebp - 0x5b4], al
mov dword [ebp - 0x5b0], ebx
mov dword [ebp - 0x5ac], edi
mov dword [ebp - 0x5a8], ebx
mov ebx, dword [esi + 8]
mov eax, dword [esi + 4]
test ebx, ebx
je 0x1002bdf7
mov dword [ebp - 0x24], eax
js 0x1002e38a
movzx eax, byte [0x1006b9a9]
push 1
push ebx
call fcn.1000f0c0
add esp, 8
mov edi, eax
test eax, eax
mov eax, dword [ebp - 0x24]
jne 0x1002bdfc
jmp 0x1002e3e1
mov edi, 1
push ebx
push eax
push edi
call fcn.10045a70
add esp, 0xc
movzx eax, byte [esi + 0xc]
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x4d], 0
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x158]
lea edx, [ebp - 0x9c]
mov byte [ebp - 0xf0], al
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.10018f20
add esp, 8
mov eax, dword [ebp - 0x158]
test eax, 0x7fffffff
je 0x1002bb60
push 1
push eax
push dword [ebp - 0x154]
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002bb60
mov esi, dword [ebp - 0x590]
nop dword [eax]
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x1002be9f
movzx ecx, word [edx + 0x1e8]
inc esi
mov edx, eax
cmp cx, word [eax + 0x1ea]
jae 0x1002be80
jmp 0x1002bea3
xor eax, eax
mov ecx, esi
lea edx, [ecx + ecx*8]
lea edx, [edx + edx*2]
add edx, ecx
shl ecx, 4
mov esi, dword [eax + edx + 0xcc]
mov dword [ebp - 0xe4], esi
mov esi, dword [ebp - 0x140]
movsd xmm0, qword [eax + edx + 0xc4]
movsd qword [ebp - 0xec], xmm0
movsd xmm0, qword [eax + edx + 0xb4]
movsd xmm1, qword [eax + edx + 0xbc]
movsd qword [ebp - 0xf4], xmm1
movsd qword [ebp - 0xfc], xmm0
mov dword [eax + edx + 0xcc], esi
lea esi, [ebp - 0x13c]
movsd xmm0, qword [ebp - 0x148]
movsd qword [eax + edx + 0xc4], xmm0
movsd xmm0, qword [ebp - 0x158]
movsd xmm1, qword [ebp - 0x150]
movsd qword [eax + edx + 0xbc], xmm1
movsd qword [eax + edx + 0xb4], xmm0
lea edx, [ebp - 0xe0]
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [eax + ecx], xmm0
movsd qword [eax + ecx + 8], xmm1
movsd xmm1, qword [ebp - 0xf4]
mov eax, dword [ebp - 0xd4]
movq xmm0, qword [ebp - 0xfc]
movsd xmm2, qword [ebp - 0xe4]
movsd qword [ebp - 0x5b8], xmm1
movsd xmm1, qword [ebp - 0xec]
mov dword [ebp - 0x598], eax
movq qword [ebp - 0x5c0], xmm0
movsd qword [ebp - 0x5a8], xmm2
movsd qword [ebp - 0x5b0], xmm1
movsd xmm1, qword [ebp - 0xdc]
movsd qword [ebp - 0x5a0], xmm1
movsd xmm2, qword [ebp - 0x5a8]
movsd xmm1, qword [ebp - 0x5b0]
mov eax, dword [ebp - 0x598]
movq xmm0, qword [ebp - 0x5a0]
dec dword [ebp - 0x94]
cmp byte [ebp - 0x1a8], 0
movsd qword [ebp - 0xe4], xmm2
movsd qword [ebp - 0xec], xmm1
movsd xmm2, qword [ebp - 0x5c0]
movsd xmm1, qword [ebp - 0x5b8]
mov dword [ebp - 0xd4], eax
movq qword [ebp - 0xdc], xmm0
movsd qword [ebp - 0xf4], xmm1
movsd qword [ebp - 0xfc], xmm2
je 0x1002c064
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1002e479
mov ecx, dword [ebp - 0x30]
dec edx
mov eax, dword [ecx + 0x1ec]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
mov dword [eax + 0xb0], 0
push 4
push 0x21c
push ecx
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xec]
mov edi, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xe0]
cmp eax, 0x80000000
mov dword [ebp - 0x24], edx
je 0x1002bb60
test eax, eax
je 0x1002c0a6
push 1
push eax
push ecx
call fcn.1000f0d0
add esp, 0xc
test ebx, ebx
je 0x1002c0b8
add ebx, ebx
push 2
push ebx
push edi
call fcn.1000f0d0
add esp, 0xc
test esi, 0x7fffffff
je 0x1002bb60
push 1
push esi
push dword [ebp - 0x24]
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002bb55
movq xmm0, qword [ebp - 0x9c]
mov eax, dword [ebp - 0x94]
cmp byte [ebp - 0x3c], 0
movq qword [ebp - 0x16c], xmm0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x170], 1
je 0x1002c11d
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x64]
mov esi, dword [edx + 0x20]
test esi, esi
jne 0x1002c2b1
jmp 0x1002c30f
movzx eax, byte [0x1006b9a9]
push 1
push 4
call fcn.1000f0c0
add esp, 8
test eax, eax
je 0x1002e4d9
mov ecx, eax
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0xfc]
mov dword [eax], 0x48544150
mov dword [ebp - 0x10], 0x16
mov dword [ebp - 0xb8], eax
add ecx, 4
mov dword [ebp - 0xf8], ecx
lea ecx, [ebp - 0x158]
mov word [ebp - 0xf4], 0
call fcn.1001c1a0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x5c0], 4
movq xmm0, qword [ebp - 0x158]
mov edx, dword [ebp - 0x16c]
xor esi, esi
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x5b8], 4
mov byte [ebp - 0x5b4], 0
movq qword [ebp - 0x5b0], xmm0
test edx, edx
mov dword [ebp - 0x5a8], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x30], eax
je 0x1002c278
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x2c], eax
movzx esi, word [edx + 0x1ea]
lea ecx, [edx + 0xb4]
lea ebx, [edx - 8]
mov dword [ebp - 0x28], edx
lea eax, [esi + esi*8]
mov dword [ebp - 0x40], esi
lea edi, [eax + eax*2]
add edi, esi
mov esi, 0xffffffff
nop word cs:[eax + eax]
nop dword [eax + eax]
test edi, edi
je 0x1002c244
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x24], eax
push 1
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.kernel32.dll_CompareStringOrdinal]
mov ecx, dword [ebp - 0x24]
add ebx, 0x10
inc esi
add edi, 0xffffffe4
cmp eax, 3
je 0x1002c210
cmp eax, 1
jne 0x1002c265
jmp 0x1002c247
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
sub eax, 1
jb 0x1002c7d8
mov edx, dword [edx + esi*4 + 0x1ec]
mov dword [ebp - 0x2c], eax
jmp 0x1002c1de
cmp eax, 2
jne 0x1002e3fc
mov esi, dword [ebx - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x3c], eax
jmp 0x1002c278
push 1
push 4
push dword [ebp - 0xb8]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x5b0]
test eax, eax
je 0x1002c2a4
add eax, eax
push 2
push eax
push dword [ebp - 0x30]
call fcn.1000f0d0
add esp, 0xc
mov dword [ebp - 0x28], esi
mov edx, dword [ebp - 0x64]
mov esi, dword [edx + 0x20]
test esi, esi
je 0x1002c30f
mov edx, dword [edx + 0x1c]
mov eax, 0x100324e0
cmp esi, 4
jb 0x1002c2e8
mov eax, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x10], 9
bswap eax
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
mov eax, 0x100324e0
adc ecx, 0xffffffff
mov ecx, 0x10032500
cmove eax, ecx
movzx ecx, byte [esi + edx - 1]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
mov dword [ebp - 0x2c], ecx
push ecx
call eax
add esp, 4
test al, al
je 0x1002c39f
mov byte [ebp - 0x108], 2
mov dword [ebp - str.program_path_has_no_file_name], 0x1005c2b8
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x104]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 2
cmp dword [ebp - 0x170], 0
je 0x1002c455
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x1002c42d
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b8], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5b4], edx
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], ecx
mov ecx, 1
mov dword [ebp - 0x5a4], edx
jmp 0x1002c431
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x30]
lea ebx, [edi + esi]
cmp esi, 3
mov dword [ebp - 0x34], ebx
jbe 0x1002c47a
movzx eax, byte [ebx - 4]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
xor eax, eax
cmp cl, 0x2e
mov ecx, 0
jne 0x1002c4a0
movzx ecx, byte [ebx - 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x65
jne 0x1002c499
movzx ecx, byte [ebx - 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x78
jne 0x1002c49d
mov edx, dword [ebp - 0x2c]
mov ecx, edx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, dl
cmp cl, 0x65
sete cl
jmp 0x1002c4a0
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x5c0], ecx
mov dword [ebp - 0x5b0], ecx
lea ecx, [ebp - 0x5c0]
mov dword [ebp - 0x5a0], eax
mov dword [ebp - 0x10], 0
call fcn.10017c00
mov eax, dword [ebp + 8]
cmp dword [eax], 4
jb 0x1002c466
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x5b4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esi
mov ecx, edi
nop
test eax, eax
je 0x1002c609
movzx edx, byte [ecx]
cmp edx, 0x2f
je 0x1002c50f
inc ecx
dec eax
cmp edx, 0x5c
jne 0x1002c480
jmp 0x1002c50f
xor ecx, ecx
jmp 0x1002c4a0
xor ecx, ecx
nop
cmp esi, eax
je 0x1002c609
movzx edx, byte [edi + eax]
cmp edx, 0x5c
je 0x1002c4b7
inc eax
cmp edx, 0x2f
jne 0x1002c4a0
test cl, cl
je 0x1002c50f
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
lea ecx, [ebp - 0x5c0]
mov edx, edi
push esi
call fcn.10031300
add esp, 4
mov eax, dword [ebp - 0x5c0]
cmp eax, 0x80000000
jne 0x1002c776
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0x5b8]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], 0x80000000
jmp 0x1002c897
test esi, esi
js 0x1002e56f
movzx eax, byte [0x1006b9a9]
push 1
push esi
call fcn.1000f0c0
add esp, 8
test eax, eax
je 0x1002e581
mov ebx, eax
push esi
push edi
push eax
call fcn.10045a70
add esp, 0xc
mov dword [ebp - 0x5c0], esi
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5b8], esi
mov byte [ebp - 0x5b4], 0
mov dword [ebp - 0x10], 0x14
lea eax, [ebp - 0x5c0]
push 4
push str..exeprogram_not_found
push eax
mov dword [ebp - 0x28], ebx
call fcn.10031f00
add esp, 0xc
mov eax, dword [ebp - 0x5c0]
mov edx, dword [ebp - 0x5bc]
mov esi, dword [ebp - 0x5b8]
mov byte [ebp - 0x56], 1
mov dword [ebp - 0x10], 0x13
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], esi
push esi
call fcn.1002edd0
add esp, 4
cmp dword [ebp - 0x1b4], 0x80000000
jne 0x1002c6dc
mov dword [ebp - 0x10], 0x15
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call fcn.10022870
add esp, 8
test eax, eax
je 0x1002c76b
cmp edx, 2
jne 0x1002c6fd
movzx ecx, word [eax]
cmp ecx, 0x2e2e
jne 0x1002c6fd
mov edi, 2
xor esi, esi
jmp 0x1002c7e3
xor esi, esi
mov eax, edi
jmp 0x1002c61b
xor esi, esi
test dx, dx
je 0x1002c6c3
mov dx, 1
test si, si
jne 0x1002c610
cmp eax, ebx
je 0x1002c73c
movzx ebx, byte [eax]
movzx ecx, bl
test bl, bl
js 0x1002c63c
mov ebx, dword [ebp - 0x34]
inc eax
jmp 0x1002c691
movzx edi, byte [eax + 1]
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x1002c683
movzx esi, byte [eax + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x1002c69a
movzx edi, byte [eax + 3]
and ecx, 7
shl esi, 6
add eax, 4
shl ecx, 0x12
and edi, 0x3f
or edi, esi
or ecx, edi
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
cmp ecx, 0xffff
jbe 0x1002c691
jmp 0x1002c6b0
shl ecx, 6
mov ebx, dword [ebp - 0x34]
add eax, 2
or ecx, edi
mov edi, dword [ebp - 0x30]
xor esi, esi
mov edx, ecx
jmp 0x1002c612
shl ecx, 0xc
add eax, 3
or ecx, esi
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
cmp ecx, 0xffff
jbe 0x1002c691
and ecx, 0x3ff
or ecx, 0xdc00
mov esi, ecx
jmp 0x1002c612
mov dword [ebp - 0x108], 2
mov dword [ebp - str.nul_byte_found_in_provided_data], 0x1005c28c
jmp 0x1002c320
mov eax, dword [ebp - 0x1ac]
movq xmm0, qword [ebp - 0x1b4]
mov dword [ebp - 0x104], eax
movq qword [ebp - 0x10c], xmm0
jmp 0x1002c882
xor ebx, ebx
mov edi, eax
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edx, ebx
je 0x1002c7ae
cmp byte [edi + edx - 1], 0x2e
lea esi, [edi - 1]
mov ecx, ebx
lea ebx, [ebx + 1]
mov edi, esi
jne 0x1002c710
mov edi, edx
sub edi, ebx
jne 0x1002c7df
xor esi, esi
mov edi, edx
jmp 0x1002c7e3
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
ja 0x1002c7b6
mov edx, dword [ebp - 0x28]
xor eax, eax
nop dword [eax]
cmp byte [edi + eax], 0x2e
je 0x1002d096
inc eax
cmp ecx, eax
jne 0x1002c750
mov dword [ebp - 0x40], 0
jmp 0x1002d09d
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
jmp 0x1002c80c
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5c0], eax
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 0x5bc], ecx
lea ecx, [ebp - 0x10c]
lea edx, [ebp - 0x5c0]
call fcn.10027c30
jmp 0x1002c897
mov esi, eax
mov ecx, edx
xor eax, eax
jmp 0x1002c7e3
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
push ecx
push edi
push 0x2e
call fcn.10041e00
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x28]
jmp 0x1002d09d
xor esi, esi
jmp 0x1002c278
lea esi, [esi + edx + 1]
mov ebx, dword [ebp - 0x2c]
test eax, eax
cmovne esi, eax
test esi, esi
je 0x1002c809
mov edx, dword [ebp - 0x24]
test eax, eax
mov dword [ebp - 0x10], 0x15
cmove edi, ecx
add esi, edi
sub esi, edx
cmp ebx, esi
cmovae ebx, esi
jmp 0x1002c80c
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0x15
lea ecx, [ebp - 0x5c0]
push ebx
call fcn.10031300
add esp, 4
mov eax, dword [ebp - 0x5c0]
cmp eax, 0x80000000
jne 0x1002c853
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp - 0x5b8]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x10c], 0x80000000
jmp 0x1002c882
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp - 0x5b8]
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 0x5bc], ecx
lea ecx, [ebp - 0x10c]
lea edx, [ebp - 0x5c0]
call fcn.10027c30
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002c897
push 1
push eax
push dword [ebp - 0x24]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x10c]
cmp eax, 0x80000000
je 0x1002c320
mov ecx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x104]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
cmp edi, 5
jb 0x1002c8dd
mov eax, dword [ebp - 0x28]
lea eax, [eax + edi*2]
mov ecx, eax
add ecx, 0xfffffff6
je 0x1002c8dd
cmp word [ecx], 0x2e
jne 0x1002c8dd
cmp word [eax - 2], 0
je 0x1002d757
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 2
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x10], 0x1a
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x30]
movzx eax, byte [eax + 0x65]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0xb8], al
call fcn.1001bc50
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x30]
mov word [eax + ecx*2], 0x22
inc ecx
mov dword [ebp - 0x5c0], edx
lea edx, [ebp - 0x5c0]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5bc], ecx
lea ecx, [ebp - 0xfc]
mov word [ebp - 0x5b8], 0
call fcn.1001c050
mov edx, dword [ebp - 0xf4]
cmp edx, dword [ebp - 0xfc]
jne 0x1002c98c
lea ecx, [ebp - 0xfc]
call fcn.1001bc50
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov esi, dword [ebp - 0x40]
movzx ecx, byte [ebp - 0xb8]
mov word [eax + edx*2], 0x22
lea eax, [esi + esi*4]
mov esi, dword [ebp - 0x24]
inc edx
movzx ecx, cl
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0x34], ecx
lea eax, [esi + eax*4]
mov dword [ebp - 0x30], eax
cmp esi, dword [ebp - 0x30]
je 0x1002ca28
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x24], esi
cmp edx, dword [ebp - 0xfc]
jne 0x1002c9e5
lea ecx, [ebp - 0xfc]
call fcn.1001bc50
mov edx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x158]
mov word [eax + edx*2], 0x20
inc edx
mov dword [ebp - 0xf4], edx
lea edx, [ebp - 0xfc]
push dword [ebp - 0x34]
push esi
call fcn.100272f0
add esp, 8
cmp byte [ebp - 0x158], 4
jne 0x1002cf55
mov esi, dword [ebp - 0x24]
add esi, 0x14
cmp esi, dword [ebp - 0x30]
jne 0x1002c9c0
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xf4]
cmp edx, 0x80000000
je 0x1002cf7e
mov al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], ecx
cmp edx, edi
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], edi
jne 0x1002ca99
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x43], 1
mov dword [ebp - 0x10], 0x1b
call fcn.1001bc50
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x64]
mov word [esi + edi*2], 0
inc edi
mov eax, 0x400
mov edx, 0x608
mov dword [ebp - 0xa0], edi
cmp byte [ecx + 0x64], 0
cmove edx, eax
or edx, dword [ecx + 0x54]
cmp dword [ebp - 0x170], 0
mov dword [ebp - 0x17c], edx
je 0x1002d016
mov esi, dword [ebp - 0x164]
movq xmm0, qword [ebp - 0x16c]
mov eax, 2
mov ecx, 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x30], 0
test esi, esi
mov dword [ebp - 0x114], esi
movq qword [ebp - 0x11c], xmm0
jne 0x1002cb56
lea ecx, [ebp - 0x90]
xor edx, edx
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x35], 1
mov dword [ebp - 0x10], 0x1c
call fcn.1001bc50
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x24]
mov word [eax + ecx*2], 0
inc ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x160], ecx
mov ecx, dword [ebp - 0x118]
xor edx, edx
mov dword [ebp - 0x10], 0x1d
test eax, eax
setne dl
cmove esi, eax
mov dword [ebp - 0x5c0], edx
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x5b4], ecx
mov dword [ebp - 0x5b0], edx
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], eax
mov dword [ebp - 0x5a4], ecx
lea ecx, [ebp - 0xfc]
lea edx, [ebp - 0x5c0]
mov dword [ebp - 0x5a0], esi
call fcn.10019ec0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x1002df4b
mov edx, dword [ebp - 0xf4]
lea eax, [edx + edx*8]
lea eax, [eax + eax*2]
add eax, edx
mov esi, dword [ecx + eax + 0xb4]
cmp esi, 0x80000000
je 0x1002df4b
shl edx, 4
mov dword [ebp - 0x68], esi
mov edi, dword [ecx + eax + 0xcc]
xor ebx, ebx
mov esi, dword [ecx + edx]
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x48], esi
mov esi, dword [ecx + edx + 4]
mov edx, dword [ecx + edx + 8]
mov dword [ebp - 0x5c], esi
mov esi, dword [ecx + eax + 0xc4]
mov dword [ebp - 0xb8], edx
mov edx, dword [ecx + eax + 0xb8]
mov dword [ebp - 0x60], esi
mov esi, dword [ecx + eax + 0xc8]
mov ecx, dword [ecx + eax + 0xbc]
mov dword [ebp - 0x100], edx
add ecx, edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x24], ecx
jmp 0x1002cc6b
xor ebx, ebx
test di, di
je 0x1002cfb3
mov di, 1
test bx, bx
jne 0x1002cc60
cmp edx, ecx
je 0x1002ccfc
movzx eax, byte [edx]
movzx esi, al
test al, al
js 0x1002cc89
inc edx
jmp 0x1002ccf3
movzx ecx, byte [edx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp al, 0xdf
jbe 0x1002ccc0
movzx ebx, byte [edx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x1002cccd
movzx eax, byte [edx + 3]
and esi, 7
shl ebx, 6
add edx, 4
shl esi, 0x12
and eax, 0x3f
or eax, ebx
or esi, eax
jmp 0x1002ccd5
shl esi, 6
add edx, 2
or esi, ecx
mov ecx, dword [ebp - 0x24]
jmp 0x1002ccf3
shl esi, 0xc
add edx, 3
or esi, ebx
mov ecx, dword [ebp - 0x24]
cmp esi, 0xffff
jbe 0x1002ccf3
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x1002cc62
xor ebx, ebx
mov edi, esi
jmp 0x1002cc62
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1002cd14
push 1
push eax
push dword [ebp - 0x100]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x160]
mov esi, dword [ebp - 0x174]
sub eax, edi
cmp eax, esi
jae 0x1002cd58
mov dword [ebp - 0x10], 0x20
lea ecx, [ebp - 0x90]
mov edx, edi
push esi
call fcn.10052dd0
add esp, 4
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x174]
jmp 0x1002cd5b
mov ecx, dword [ebp - 0x3c]
lea eax, [esi + esi]
mov dword [ebp - 0x3c], ecx
lea ecx, [ecx + edi*2]
push eax
mov ebx, dword [ebp - 0x54]
push ebx
push ecx
call fcn.10045a70
add esp, 0xc
mov eax, dword [ebp - 0x60]
add edi, esi
mov dword [ebp - 0x88], edi
test eax, eax
je 0x1002cd8f
add eax, eax
push 2
push eax
push ebx
call fcn.1000f0d0
add esp, 0xc
cmp edi, dword [ebp - 0x90]
jne 0x1002cdbd
lea ecx, [ebp - 0x90]
mov edx, edi
mov byte [ebp - 0x44], 1
mov dword [ebp - 0x10], 0x1e
call fcn.1001bc50
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
jmp 0x1002cdc0
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xb8]
and dword [ebp - 0x100], 0xffffff00
mov word [esi + edi*2], 0x3d
inc edi
mov dword [ebp - 0x88], edi
xor edi, edi
add eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x1002cdf4
xor edi, edi
test si, si
je 0x1002db0e
mov si, 1
test di, di
jne 0x1002cde9
cmp ecx, eax
je 0x1002ce87
movzx ebx, byte [ecx]
movzx edx, bl
test bl, bl
js 0x1002ce12
inc ecx
jmp 0x1002ce7e
movzx eax, byte [ecx + 1]
and edx, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x1002ce4b
movzx edi, byte [ecx + 2]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp bl, 0xf0
jb 0x1002ce58
movzx eax, byte [ecx + 3]
and edx, 7
shl edi, 6
add ecx, 4
shl edx, 0x12
and eax, 0x3f
or eax, edi
or edx, eax
jmp 0x1002ce60
shl edx, 6
add ecx, 2
or edx, eax
mov eax, dword [ebp - 0x24]
jmp 0x1002ce7e
shl edx, 0xc
add ecx, 3
or edx, edi
mov eax, dword [ebp - 0x24]
cmp edx, 0xffff
jbe 0x1002ce7e
and edx, 0x3ff
or edx, 0xdc00
mov edi, edx
jmp 0x1002cdeb
xor edi, edi
mov esi, edx
jmp 0x1002cdeb
mov ecx, dword [ebp - 0x5c]
mov eax, ecx
shr eax, 8
cmp dword [ebp - 0x48], 0x80000000
mov dword [ebp - 0x15c], eax
je 0x1002e382
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x158], ecx
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x158]
mov dword [ebp - 0x10], 0x1f
mov dword [ebp - 0x154], eax
mov word [ebp - 0x150], 0
call fcn.1001c050
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1002cee7
push 1
push eax
push dword [ebp - 0x5c]
call fcn.1000f0d0
add esp, 0xc
mov esi, dword [ebp - 0x88]
cmp esi, dword [ebp - 0x90]
jne 0x1002cf13
lea ecx, [ebp - 0x90]
mov edx, esi
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x10], 0x1e
call fcn.1001bc50
mov esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xfc]
lea edx, [ebp - 0x5c0]
mov word [eax + esi*2], 0
inc esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0x1d
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x88], esi
mov esi, dword [ebp - 0x100]
mov dword [ebp - 0x30], esi
call fcn.10019ec0
jmp 0x1002cbcb
mov eax, dword [ebp - 0xfc]
mov esi, dword [ebp - 0x158]
mov edi, dword [ebp - 0x154]
test eax, eax
je 0x1002cf7e
add eax, eax
push 2
push eax
push dword [ebp - 0xf8]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], 2
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
test eax, eax
je 0x1002cfa6
add eax, eax
push 2
push eax
push dword [ebp - 0x28]
call fcn.1000f0d0
add esp, 0xc
test bl, bl
je 0x1002c33b
jmp 0x1002c455
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1002cfcb
push 1
push eax
push dword [ebp - 0x100]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1002cfe0
push 1
push eax
push dword [ebp - 0x5c]
call fcn.1000f0d0
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
or dword [ebp - 0x30], 2
mov dword [ebp - 0xb8], 0x1005c28c
test ecx, ecx
je 0x1002db47
add ecx, ecx
push 2
push ecx
push eax
call fcn.1000f0d0
add esp, 0xc
mov dword [ebp - 0x10], 0x1c
jmp 0x1002db47
mov esi, 2
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xb8], 0
cmp dword [ecx + 0x34], 0x80000000
mov dword [ebp - 0x30], esi
jne 0x1002d817
xor eax, eax
mov ecx, 2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0
shl eax, 8
movzx ecx, cl
pxor xmm0, xmm0
or ecx, eax
movdqu xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x48], ecx
push 0x1006ba40
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x1006ba18]
test eax, 0x7fffffff
je 0x1002dba8
mov dword [ebp - 0x10], 0x23
call fcn.10053150
xor al, 1
jmp 0x1002dbaa
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x3c]
test edx, edx
mov dword [ebp - 0x10], 9
je 0x1002d204
add eax, edx
mov dword [ebp - 0xfc], edx
mov byte [ebp - 0x1d], 1
lea ecx, [ebp - 0x5c0]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
mov word [ebp - 0xf4], 0
mov byte [ebp - 0xf0], 1
push eax
push ecx
call fcn.10029f40
add esp, 8
jmp 0x1002d103
lea eax, [ebp - 0xfc]
mov byte [ebp - 0x1d], 1
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.10029f40
add esp, 8
mov eax, dword [ebp - 0x5c0]
cmp eax, 0x80000000
je 0x1002d204
mov edx, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0x5bc]
mov edi, dword [ebp - 0x30]
test edx, edx
je 0x1002d1eb
mov esi, dword [ebp - 0x5b4]
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5bc], ecx
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 0x10], 0x12
mov dword [ebp - 0x5b4], esi
push dword [ebp - 0x24]
push edi
lea eax, [ebp - 0x5c0]
push eax
call fcn.100217c0
add esp, 0xc
cmp dword [ebp - 0x40], 1
je 0x1002d17f
push 3
push str.exe.NULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0x5c0]
push eax
call fcn.100223d0
add esp, 0xc
mov edx, dword [ebp - 0x5bc]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x28], edx
push dword [ebp - 0x5b8]
call fcn.1002edd0
add esp, 4
mov eax, dword [ebp - 0x5c0]
test eax, eax
je 0x1002d1b4
push 1
push eax
push dword [ebp - 0x28]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x1c0]
cmp eax, 0x80000000
jne 0x1002db97
lea eax, [ebp - 0xfc]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.10029f40
add esp, 8
jmp 0x1002d103
test eax, eax
je 0x1002d0e9
push 1
push eax
push ecx
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002d0e9
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0x1d], 1
call fcn.1002a1c0
mov eax, dword [ebp - 0xfc]
cmp eax, 0x80000000
mov dword [ebp - 0x28], eax
jne 0x1002d237
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0x1d], 1
call fcn.10018570
jmp 0x1002d31f
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf0]
mov byte [ebp - 0x57], 0
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x3c], edx
push edx
mov dword [ebp - 0x2c], eax
push eax
call fcn.10022730
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], 0x11
cmp ecx, edx
cmovb edx, ecx
test eax, eax
mov eax, dword [ebp - 0x28]
cmove edx, ecx
mov dword [ebp - 0x5c0], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 0x5b4], eax
lea eax, [ebp - 0x5c0]
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push eax
call fcn.100217c0
add esp, 0xc
cmp dword [ebp - 0x40], 1
je 0x1002d2d3
push 3
push str.exe.NULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0x5c0]
push eax
call fcn.100223d0
add esp, 0xc
mov edx, dword [ebp - 0x5bc]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xb8], edx
push dword [ebp - 0x5b8]
call fcn.1002edd0
add esp, 4
mov eax, dword [ebp - 0x5c0]
test eax, eax
je 0x1002d30e
push 1
push eax
push dword [ebp - 0xb8]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x1a8]
cmp eax, 0x80000000
jne 0x1002d806
mov eax, 0x200
xor ebx, ebx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x2c], 2
cmp eax, 0x201
jb 0x1002d36d
jmp 0x1002d380
jbe 0x1002d425
cmp eax, 0x201
jae 0x1002d380
mov dword [ebp - 0x28], 0x200
lea edi, [ebp - 0x5c0]
mov esi, eax
jmp 0x1002d3b9
sub eax, ebx
je 0x1002d3ab
mov dword [ebp - 0x10], 0xe
lea ecx, [ebp - 0x90]
mov edx, ebx
push eax
call fcn.10052dd0
add esp, 4
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x2c]
mov esi, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x28], ebx
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push edi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1002d3f1
mov dword [ebp - 0xb8], edi
mov edi, ebx
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
mov eax, ebx
mov ebx, edi
mov edi, dword [ebp - 0xb8]
test ecx, ecx
jne 0x1002d50c
cmp eax, esi
jne 0x1002d360
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1002e499
lea eax, [esi + esi]
test esi, esi
mov ecx, 0xffffffff
cmovs eax, ecx
cmp eax, 0x201
jae 0x1002d380
jmp 0x1002d36d
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0xe
cmp eax, ecx
ja 0x1002e599
push eax
push edi
lea eax, [ebp - 0xfc]
push eax
call fcn.10020770
add esp, 0xc
mov dword [ebp - 0x10], 0xf
push dword [ebp - 0x24]
push dword [ebp - 0x30]
lea eax, [ebp - 0xfc]
push eax
call fcn.100217c0
add esp, 0xc
cmp dword [ebp - 0x40], 1
je 0x1002d480
push 3
push str.exe.NULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0xfc]
push eax
call fcn.100223d0
add esp, 0xc
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x28], edx
push dword [ebp - 0xf4]
call fcn.1002edd0
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002d4b5
push 1
push eax
push dword [ebp - 0x28]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x150]
movq xmm0, qword [ebp - 0x158]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
movq qword [ebp - 0x9c], xmm0
test eax, eax
je 0x1002d4ee
add eax, eax
push 2
push eax
push dword [ebp - 0x8c]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x9c]
cmp eax, 0x80000001
jle 0x1002d54d
mov ecx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
jmp 0x1002c8b4
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x9c], 0x80000001
test eax, eax
je 0x1002d546
add eax, eax
push 2
push eax
push dword [ebp - 0x8c]
call fcn.1000f0d0
add esp, 0xc
mov dword [ebp - 0x10], 9
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
call fcn.10017970
mov edi, 0x200
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xb8], 2
cmp edi, 0x201
jb 0x1002d5be
jmp 0x1002d5d0
jbe 0x1002d66c
cmp edi, 0x201
jae 0x1002d5d0
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x5c0]
mov esi, edi
jmp 0x1002d613
mov esi, dword [ebp - 0x28]
sub edi, esi
je 0x1002d601
mov dword [ebp - 0x10], 0xc
lea ecx, [ebp - 0x90]
mov edx, esi
push edi
call fcn.10052dd0
add esp, 4
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], eax
mov ebx, dword [ebp - 0xb8]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edi, eax
test eax, eax
jne 0x1002d637
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1002d8c5
cmp edi, esi
jne 0x1002d5b0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1002e4b9
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x1002d5d0
jmp 0x1002d5be
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0xc
cmp edi, eax
ja 0x1002e5aa
push edi
push ebx
lea eax, [ebp - 0xfc]
push eax
call fcn.10020770
add esp, 0xc
mov dword [ebp - 0x10], 0xd
push dword [ebp - 0x24]
push dword [ebp - 0x30]
lea eax, [ebp - 0xfc]
push eax
call fcn.100217c0
add esp, 0xc
cmp dword [ebp - 0x40], 1
je 0x1002d6c7
push 3
push str.exe.NULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0xfc]
push eax
call fcn.100223d0
add esp, 0xc
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x28], edx
push dword [ebp - 0xf4]
call fcn.1002edd0
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002d6fc
push 1
push eax
push dword [ebp - 0x28]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x150]
movq xmm0, qword [ebp - 0x158]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
movq qword [ebp - 0xa8], xmm0
test eax, eax
je 0x1002d735
add eax, eax
push 2
push eax
push dword [ebp - 0x8c]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0xa8]
cmp eax, 0x80000002
jl 0x1002d906
mov ecx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa0]
jmp 0x1002c8b4
movzx ecx, word [eax - 8]
lea edx, [ecx - 0x42]
cmp edx, 0x21
ja 0x1002c8dd
mov esi, dword [ebp - 0x6c]
add esi, dword [edx*4 + 0x1002ed40]
jmp esi
mov ecx, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1a0]
jmp 0x1002c8b4
mov edx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
xor ebx, ebx
add ecx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x24], ecx
jmp 0x1002d834
xor ebx, ebx
test di, di
je 0x1002dae6
mov di, 1
test bx, bx
jne 0x1002d829
cmp edx, ecx
je 0x1002de46
movzx eax, byte [edx]
movzx esi, al
test al, al
js 0x1002d852
inc edx
jmp 0x1002d8bc
movzx ecx, byte [edx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp al, 0xdf
jbe 0x1002d889
movzx ebx, byte [edx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x1002d896
movzx eax, byte [edx + 3]
and esi, 7
shl ebx, 6
add edx, 4
shl esi, 0x12
and eax, 0x3f
or eax, ebx
or esi, eax
jmp 0x1002d89e
shl esi, 6
add edx, 2
or esi, ecx
mov ecx, dword [ebp - 0x24]
jmp 0x1002d8bc
shl esi, 0xc
add edx, 3
or esi, ebx
mov ecx, dword [ebp - 0x24]
cmp esi, 0xffff
jbe 0x1002d8bc
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x1002d82b
xor ebx, ebx
mov edi, esi
jmp 0x1002d82b
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa8], 0x80000001
test eax, eax
je 0x1002d8ff
add eax, eax
push 2
push eax
push dword [ebp - 0x8c]
call fcn.1000f0d0
add esp, 0xc
mov dword [ebp - 0x10], 9
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
call fcn.10017970
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0x158]
push 4
push str.PATHlibrary_std_src_sys_commonprocess.rs
push eax
call fcn.1001cc50
add esp, 0xc
mov eax, dword [ebp - 0x158]
cmp eax, 0x80000000
je 0x1002dad0
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0xb8], eax
add edx, ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x5c0]
mov dword [ebp - 0xf8], edx
mov word [ebp - 0xf4], 0
mov byte [ebp - 0xf0], 1
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x10], 0xa
push eax
push ecx
call fcn.10029f40
add esp, 8
jmp 0x1002d9af
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.10029f40
add esp, 8
mov eax, dword [ebp - 0x5c0]
mov edi, dword [ebp - 0x30]
cmp eax, 0x80000000
je 0x1002dab8
mov edx, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0x5bc]
test edx, edx
jne 0x1002d9e5
test eax, eax
je 0x1002d999
push 1
push eax
push ecx
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002d999
mov esi, dword [ebp - 0x5b4]
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5bc], ecx
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 0x5b4], esi
push dword [ebp - 0x24]
push edi
lea eax, [ebp - 0x5c0]
push eax
call fcn.100217c0
add esp, 0xc
cmp dword [ebp - 0x40], 1
je 0x1002da39
push 3
push str.exe.NULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0x5c0]
push eax
call fcn.100223d0
add esp, 0xc
mov edx, dword [ebp - 0x5bc]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x28], edx
push dword [ebp - 0x5b8]
call fcn.1002edd0
add esp, 4
mov eax, dword [ebp - 0x5c0]
test eax, eax
je 0x1002da6e
push 1
push eax
push dword [ebp - 0x28]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x5c0]
cmp eax, 0x80000000
je 0x1002d980
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x114]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1002c8ba
push 1
push eax
push dword [ebp - 0x3c]
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002c8ba
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1002dad0
push 1
push eax
push dword [ebp - 0x3c]
call fcn.1000f0d0
add esp, 0xc
mov byte [ebp - 0x108], 2
mov dword [ebp - 0x104], 0x1005c2dc
jmp 0x1002c320
mov edx, 0x1005c28c
mov ecx, 2
xor eax, eax
mov esi, dword [ebp - 0x4c]
shl eax, 8
movzx ecx, cl
or ecx, eax
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], 2
jmp 0x1002e320
mov eax, dword [ebp - 0x48]
mov esi, 2
mov dword [ebp - 0xb8], 0x1005c28c
test eax, eax
je 0x1002db32
push 1
push eax
push dword [ebp - 0x5c]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x10], 0x1c
shl eax, 8
or eax, esi
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x5c0]
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x10], 0x1c
call fcn.10017c00
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x1002db7a
add eax, eax
push 2
push eax
push dword [ebp - 0x8c]
call fcn.1000f0d0
add esp, 0xc
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xb8]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], 2
jmp 0x1002e33a
mov ecx, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x1b8]
jmp 0x1002c8b4
xor eax, eax
movzx edx, byte [0x1006ba44]
movzx ecx, byte [ebp + 0xc]
test dl, dl
je 0x1002dbd1
mov edx, 1
mov dword [ebp - 0x118], 0x1006ba40
mov dword [ebp - 0x10], 0x24
jmp 0x1002dbe4
mov dword [ebp - 0x118], 0x1006ba40
mov dword [ebp - 0x10], 0x24
xor edx, edx
mov byte [ebp - 0x114], al
test cl, cl
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], edx
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x9c], 2
cmovne edx, eax
cmp dword [ecx], 6
lea esi, [ecx + 8]
cmovne edx, ecx
cmp dword [ecx + 8], 6
cmove esi, eax
cmp dword [ecx + 0x10], 6
mov dword [ebp - 0x54], esi
lea esi, [ecx + 0x10]
lea ecx, [ebp - 0x5c0]
cmove esi, eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x60], esi
push eax
push 0xfffffffffffffff6
call fcn.1002ee90
add esp, 8
movzx eax, byte [ebp - 0x5c0]
cmp al, 4
jne 0x1002ddb1
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x194]
mov dword [ebp - 0x10], 0x25
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x5c0]
push eax
push 0xfffffffffffffff5
call fcn.1002ee90
add esp, 8
movzx eax, byte [ebp - 0x5c0]
cmp al, 4
jne 0x1002ddfa
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x10], 0x26
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x5c0]
push eax
push 0xfffffffffffffff4
call fcn.1002ee90
add esp, 8
movzx eax, byte [ebp - 0x5c0]
mov edx, dword [ebp - 0x64]
cmp al, 4
jne 0x1002dfc2
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x5bc]
pxor xmm0, xmm0
mov dword [ebp - 0xbc], 0
movdqu xmmword [ebp - 0xcc], xmm0
movdqu xmmword [ebp - 0xdc], xmm0
movdqu xmmword [ebp - 0xec], xmm0
movdqu xmmword [ebp - 0xfc], xmm0
test ebx, ebx
jne 0x1002dd29
cmp dword [ebp - 0x54], 0
jne 0x1002dd29
test ecx, ecx
je 0x1002dd48
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xd0], pe_nt_image_headers32
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x60], ecx
test eax, eax
mov dword [ebp - 0x100], eax
je 0x1002e03e
add edx, 0x58
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xfc], 0x48
mov dword [ebp - 0x10], 0x27
call fcn.1002fb90
cmp dword [ebp - 0x90], 0
lea ecx, [ebp - 0x5c0]
je 0x1002e050
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x68]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], 2
jmp 0x1002e22b
movzx ecx, byte [ebp - 0x5bd]
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 0x11e], cl
movzx ecx, word [ebp - 0x5bf]
mov byte [edx], al
mov word [ebp - 0x120], cx
mov ecx, dword [ebp - 0x5bc]
movzx eax, word [ebp - 0x120]
mov word [edx + 1], ax
mov ah, byte [ebp - 0x11e]
mov byte [edx + 3], ah
mov dword [edx + 4], ecx
mov dword [edx + 8], 2
jmp 0x1002e259
movzx ecx, byte [ebp - 0x5bd]
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 0x122], cl
movzx ecx, word [ebp - 0x5bf]
mov byte [edx], al
mov word [ebp - 0x124], cx
mov ecx, dword [ebp - 0x5bc]
movzx eax, word [ebp - 0x124]
mov word [edx + 1], ax
mov ah, byte [ebp - 0x122]
mov byte [edx + 3], ah
mov dword [edx + 4], ecx
mov dword [edx + 8], 2
push dword [ebp - 0x68]
jmp 0x1002e253
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x5c0]
mov dword [ebp - 0x10], 0x21
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5bc], ecx
lea ecx, [ebp - 0xfc]
mov word [ebp - 0x5b8], 0
call fcn.1001c1a0
mov esi, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf4]
cmp edx, esi
jne 0x1002dea4
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], 0x22
call fcn.1001bc50
mov esi, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x24], esi
mov eax, ecx
mov word [ecx + edx*2], 0
shr eax, 8
cmp esi, 0x80000000
jne 0x1002e013
inc edx
jmp 0x1002daf2
lea ecx, [ebp - 0x5c0]
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x10], 0x1c
call fcn.10017c00
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x90]
jne 0x1002df8d
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x35], 0
call fcn.1001bc50
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov word [eax + edx*2], 0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x8c]
cmp eax, 0x80000000
mov dword [ebp - 0xb8], eax
jne 0x1002d02c
inc edx
mov dword [ebp - 0xb8], edx
jmp 0x1002db7d
movzx ecx, byte [ebp - 0x5bd]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x68]
mov esi, 2
mov byte [ebp - 0x126], cl
movzx ecx, word [ebp - 0x5bf]
mov byte [edx], al
mov word [ebp - 0x128], cx
mov ecx, dword [ebp - 0x5bc]
movzx eax, word [ebp - 0x128]
mov word [edx + 1], ax
mov ah, byte [ebp - 0x126]
mov byte [edx + 3], ah
mov dword [edx + 4], ecx
mov dword [edx + 8], 2
jmp 0x1002e23a
mov dword [ebp - 0x5c], ecx
jmp 0x1002d051
mov dword [ebp - 0xfc], 0x44
lea ecx, [ebp - 0xfc]
jmp 0x1002e087
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
or dword [ebp - 0x17c], 0x80000
lea eax, [ebp - 0xfc]
push 0x44
push eax
push ecx
call fcn.10045a70
lea ecx, [ebp - 0x5c0]
add esp, 0xc
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x57c], esi
lea eax, [ebp - 0x158]
push eax
push ecx
push dword [ebp - 0x5c]
push dword [ebp - 0x3c]
push dword [ebp - 0x17c]
push 1
push 0
push 0
push dword [ebp - 0xa4]
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x1002e1d4
movq xmm0, qword [ebp - 0x158]
mov eax, dword [ebp - 0x4c]
movsd xmm1, qword [ebp - 0x194]
cmp dword [ebp - 0x100], 0
movsd xmm2, qword [ebp - 0x19c]
movq qword [eax], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ebp - 0x18c]
movsd qword [eax + 8], xmm2
movsd qword [eax + 0x18], xmm1
je 0x1002e100
mov ecx, esi
mov edx, edi
call fcn.10018510
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x54]
call esi
push ebx
call esi
cmp dword [ebp - 0x9c], 4
jb 0x1002e12f
push dword [ebp - 0x98]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x10], 0x23
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x10], 0x23
call fcn.10017d20
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002e158
add eax, eax
push 2
push eax
push dword [ebp - 0x48]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1002e172
add eax, eax
push 2
push eax
push dword [ebp - 0x30]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1002e18f
add eax, eax
push 2
push eax
push dword [ebp - 0xa4]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1002e1a6
add eax, eax
push 2
push eax
push dword [ebp - 0x6c]
call fcn.1000f0d0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x178]
test ecx, ecx
setne al
xor dl, 1
test al, dl
je 0x1002c455
add ecx, ecx
push 2
push ecx
push dword [ebp - 0x28]
call fcn.1000f0d0
add esp, 0xc
jmp 0x1002c455
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, word [ebp - 0x90]
mov edx, dword [ebp - 0x4c]
cmp dword [ebp - 0x100], 0
mov word [ebp - 0x12c], cx
movzx ecx, byte [ebp - 0x8e]
mov byte [edx], 0
mov byte [ebp - 0x12a], cl
movzx ecx, word [ebp - 0x12c]
mov word [edx + 1], cx
mov ch, byte [ebp - 0x12a]
mov byte [edx + 3], ch
mov dword [edx + 4], eax
mov dword [edx + 8], 2
je 0x1002e22b
mov ecx, esi
mov edx, edi
call fcn.10018510
push dword [ebp - 0x60]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [ebp - 0x9c]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x54]
call edi
push ebx
call edi
cmp esi, 4
jb 0x1002e259
push dword [ebp - 0x98]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x19c], 0
je 0x1002e26e
push dword [ebp - 0x198]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x194], 0
je 0x1002e283
push dword [ebp - 0x190]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x18c], 0
je 0x1002e298
push dword [ebp - 0x188]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x11c], 0
je 0x1002e2cd
mov ecx, dword [ebp - 0x118]
cmp byte [ebp - 0x114], 0
jne 0x1002e302
mov eax, dword [0x1006ba18]
test eax, 0x7fffffff
je 0x1002e302
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], 0x23
call fcn.10053150
jmp 0x1002e2f7
mov ecx, dword [ebp - 0x118]
cmp byte [ebp - 0x114], 0
jne 0x1002e302
mov eax, dword [0x1006ba18]
test eax, 0x7fffffff
je 0x1002e302
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], 0x23
call fcn.10053150
mov ecx, dword [ebp - 0x4c]
test al, al
jne 0x1002e302
mov byte [ecx + 4], 1
push ecx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002e320
add eax, eax
push 2
push eax
push dword [ebp - 0x48]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1002e33a
add eax, eax
push 2
push eax
push dword [ebp - 0x30]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1002e357
add eax, eax
push 2
push eax
push dword [ebp - 0xa4]
call fcn.1000f0d0
add esp, 0xc
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1002e36e
add eax, eax
push 2
push eax
push dword [ebp - 0x6c]
call fcn.1000f0d0
add esp, 0xc
cmp byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x2c]
mov bl, 1
je 0x1002c455
jmp 0x1002cf92
movzx esi, cl
jmp 0x1002db32
mov byte [ebp - 0x4d], 1
mov dword [ebp - 0x10], 2
call fcn.1003b3e0
jmp 0x1002e5b9
push ecx
push 1
call fcn.100536e0
add esp, 8
jmp 0x1002e5b9
call fcn.1003b3e0
jmp 0x1002e5b9
mov dword [ebp - 0x10], 4
push esi
push 2
call fcn.100536e0
add esp, 8
jmp 0x1002e5b9
mov dword [ebp - 0x10], 4
call fcn.1003b3e0
jmp 0x1002e5b9
mov byte [ebp - 0x4d], 1
mov dword [ebp - 0x10], 2
push ebx
push 1
call fcn.100536e0
add esp, 8
jmp 0x1002e5b9
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [ebp - 0x158], 0
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0xfc], 0x1005c228
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x10], 0x18
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x8c], fcn.1001e4a0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 1
push 0x1005c25c
lea eax, [ebp - 0xfc]
push eax
call fcn.10053770
add esp, 8
jmp 0x1002e5b9
mov dword [ebp - 0x10], 3
push 0x1005a5b8
push 0x21
push str.assertion_failed:_self.height___0
call fcn.10053850
add esp, 0xc
jmp 0x1002e5b9
mov dword [ebp - 0x10], 0xe
push 0x1005c774
push 0x28
push 0x1005a6e4
call fcn.10053850
add esp, 0xc
jmp 0x1002e5b9
mov dword [ebp - 0x10], 0xc
push 0x1005c774
push 0x28
push 0x1005a6e4
call fcn.10053850
add esp, 0xc
jmp 0x1002e5b9
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
push 4
push 1
call fcn.100536e0
add esp, 8
jmp 0x1002e5b9
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [ebp - 0xfc], 0
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - str.failure_getting_env_string_from_OS:_H], 0x1005c16c
mov dword [ebp - 0x5bc], 1
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 0x10], 8
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0x154], fcn.1001e4a0
mov dword [ebp - 0x5b8], eax
mov dword [ebp - 0x5b4], 1
lea eax, [ebp - 0x5c0]
push 0x1005c174
push eax
call fcn.10053770
add esp, 8
jmp 0x1002e5b9
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
call fcn.1003b3e0
jmp 0x1002e5b9
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 9
push esi
push 1
call fcn.100536e0
add esp, 8
jmp 0x1002e5b9
push 0x1005c764
push ecx
push eax
call fcn.10053bb0
add esp, 0xc
jmp 0x1002e5b9
push 0x1005c764
push eax
push edi
call fcn.10053bb0
add esp, 0xc
ud2