Function at 0x10012b0
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6ac
push ebx
push esi
push edi
mov esi, 0x1001100
lea edi, [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x10010ec
lea edi, [ebp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp + 0x68], 0
and dword [ebp + 0x60], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x10010e0
lea edi, [ebp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x3c], 0x5c
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
jmp 0x100130c
cmp ax, 0x22
jne 0x1001314
inc esi
inc esi
mov dword [ebp + 0x60], 1
mov ax, word [esi]
test ax, ax
jne 0x10012fd
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x640]
push eax
call edi
push ebx
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.01001278
push ebx
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.01001278
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.01001278
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x438]
push eax
call edi
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.01001278
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.01001665
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp + 0x64], eax
je 0x10013fc
lea eax, [ebp + 0x1c]
push eax
call edi
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x64]
call edi
push eax
push dword [ebp + 0x64]
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10013fc
call fcn.0100161c
push ebx
lea eax, [ebp - 0x230]
push eax
push 2
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
push esi
lea eax, [ebp - 0x230]
push eax
push esi
jmp 0x10015c4
call fcn.0100161c
xor ecx, ecx
cmp dword [ebp + 0x60], ecx
je 0x100147f
mov ax, word [esi]
cmp ax, cx
mov edx, esi
je 0x1001438
cmp ax, 0x22
je 0x1001422
inc esi
inc esi
mov ax, word [esi]
cmp ax, cx
jne 0x1001412
cmp word [esi], cx
je 0x1001438
inc esi
inc esi
cmp word [esi], cx
je 0x1001438
cmp word [esi + 2], cx
jne 0x10014c8
cmp word [edx], cx
mov dword [ebp + 0x68], 1
mov esi, edx
je 0x1001475
lea eax, [ebp + 0x40]
push eax
call edi
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x40]
push eax
call edi
push eax
push esi
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x1001473
inc esi
inc esi
cmp word [esi], 0
jne 0x1001446
xor ecx, ecx
cmp word [esi], cx
jne 0x10014bf
jmp 0x10015a6
cmp word [esi], cx
je 0x10015a6
lea eax, [ebp + 0x40]
push eax
call edi
push eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x40]
push eax
call edi
push eax
push esi
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10014b5
inc esi
inc esi
cmp word [esi], 0
jne 0x1001488
cmp word [esi], 0
je 0x10015a4
lea eax, [ebp + 0x40]
push eax
call edi
lea esi, [esi + eax*2]
lea eax, [ebp + 0x54]
push eax
call edi
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x54]
push eax
call edi
push eax
push esi
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10014f6
lea eax, [ebp + 0x54]
push eax
call edi
lea esi, [esi + eax*2]
xor edx, edx
cmp dword [ebp + 0x68], edx
jne 0x1001531
jmp 0x1001507
cmp ax, 0x20
jne 0x100150f
inc esi
inc esi
mov ax, word [esi]
cmp ax, dx
jne 0x10014ff
push ebx
push 0x10010dc
lea eax, [ebp - 0x230]
push eax
call fcn.01001278
push ebx
push esi
lea eax, [ebp - 0x230]
push eax
call fcn.01001278
xor edx, edx
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push edx
push edx
push 0x20
push edx
push edx
push edx
lea eax, [ebp - 0x230]
push eax
push edx
mov dword [ebp - 0x28], 0x44
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov word [ebp + 0xa], dx
mov dword [ebp + 0xc], edx
mov word [ebp + 8], 5
mov dword [ebp + 4], 0x41
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x100159a
push 0xffffffffffffffff
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x30]
call esi
xor eax, eax
test edi, edi
sete al
push eax
jmp 0x10015cc
xor ecx, ecx
push ebx
lea eax, [ebp - 0x230]
push eax
push 3
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
push 0
lea eax, [ebp - 0x230]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]