Function at 0x10029d80
Capabilities:
Accept command line arguments
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f366
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0xfe
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
test eax, eax
je 0x10029ecc
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 0x218], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029e00
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.10023040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
cmp dword [ebp - 0x218], 7
mov eax, dword [ebp - 0x21c]
cmova ecx, dword [ebp - 0x22c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x22c]
cmova ecx, dword [ebp - 0x22c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.100202b0
movups xmm0, xmmword [ebp - 0x244]
movq xmm1, qword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x218]
movq qword [ebp - 0x24c], xmm1
movups xmmword [ebp - 0x25c], xmm0
cmp ecx, 7
jbe 0x10029f17
mov edx, dword [ebp - 0x22c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10029ec0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5bf
push ecx
push edx
call fcn.1004d752
add esp, 8
jmp 0x10029f17
push 0
push 0x1007d807
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], 0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x250], 0
call fcn.10016bc0
movq xmm0, qword [ebp - 0x254]
movq qword [ebp - 0x24c], xmm0
movups xmm0, xmmword [ebp - 0x264]
movups xmmword [ebp - 0x25c], xmm0
mov ecx, dword [0x100929a0]
cmp ecx, 0xf
jbe 0x10029f50
mov eax, dword [0x1009298c]
inc ecx
cmp ecx, 0x1000
jb 0x10029f46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5bf
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
movups xmm0, xmmword [ebp - 0x25c]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
movups xmmword [0x1009298c], xmm0
push eax
movq xmm0, qword [ebp - 0x24c]
movq qword [0x1009299c], xmm0
call fcn.1004f4a0
add esp, 0xc
mov dword [ebp - 0x214], 0xff
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xorps xmm0, xmm0
test eax, eax
je 0x1002a0ac
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 0x218], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029fe0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.10023040
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x22c]
cmp dword [ebp - 0x218], 7
mov eax, dword [ebp - 0x21c]
cmova ecx, dword [ebp - 0x22c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x22c]
cmova ecx, dword [ebp - 0x22c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.100202b0
movups xmm0, xmmword [ebp - 0x244]
movq xmm1, qword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x218]
movq qword [ebp - 0x24c], xmm1
movups xmmword [ebp - 0x25c], xmm0
cmp ecx, 7
jbe 0x1002a0f7
mov edx, dword [ebp - 0x22c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a0a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5c4
push ecx
push edx
call fcn.1004d752
add esp, 8
jmp 0x1002a0f7
push 0
push 0x1007d807
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], 0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x250], 0
call fcn.10016bc0
movq xmm0, qword [ebp - 0x254]
movq qword [ebp - 0x24c], xmm0
movups xmm0, xmmword [ebp - 0x264]
movups xmmword [ebp - 0x25c], xmm0
mov ecx, dword [0x100929b8]
cmp ecx, 0xf
jbe 0x1002a130
mov eax, dword [0x100929a4]
inc ecx
cmp ecx, 0x1000
jb 0x1002a126
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5bf
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
movups xmm0, xmmword [ebp - 0x25c]
mov ecx, dword [0x1009299c]
mov eax, SysReAllocString
sub eax, ecx
movups xmmword [0x100929a4], xmm0
movq xmm0, qword [ebp - 0x24c]
movq qword [0x100929b4], xmm0
cmp eax, 1
jb 0x1002a5c9
cmp dword [0x100929a0], 0xf
mov eax, 0x1009298c
push 1
cmova eax, dword [0x1009298c]
push 0x1007d948
push ecx
push eax
push ecx
push dword [ebp - 0x214]
lea ecx, [ebp - 0x22c]
call fcn.10020f10
mov dword [ebp - 4], 2
mov ecx, 0x100929a4
cmp dword [0x100929b8], 0xf
mov edx, dword [ebp - 0x21c]
cmova ecx, dword [0x100929a4]
mov eax, dword [ebp - 0x218]
mov edi, dword [0x100929b4]
sub eax, edx
mov dword [ebp - 0x214], edx
push edi
push ecx
cmp edi, eax
ja 0x1002a20a
cmp dword [ebp - 0x218], 0xf
lea esi, [ebp - 0x22c]
lea eax, [edx + edi]
cmova esi, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], eax
lea eax, [esi + edx]
push eax
call fcn.1004ef20
mov ecx, dword [ebp - 0x214]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x22c]
jmp 0x1002a223
mov byte [ebp - 0x214], 0
lea ecx, [ebp - 0x22c]
push dword [ebp - 0x214]
push edi
call fcn.100162d0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x100929d0]
movq qword [ebp - 0x24c], xmm1
movups xmmword [ebp - 0x25c], xmm0
cmp ecx, 0xf
jbe 0x1002a293
mov eax, dword [0x100929bc]
inc ecx
cmp ecx, 0x1000
jb 0x1002a27a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5ce
mov eax, edx
push ecx
push eax
call fcn.1004d752
movups xmm0, xmmword [ebp - 0x25c]
add esp, 8
movq xmm1, qword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x218]
movq qword [0x100929cc], xmm1
movups xmmword [0x100929bc], xmm0
cmp ecx, 0xf
jbe 0x1002a2e3
mov edx, dword [ebp - 0x22c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a2d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5ce
push ecx
push edx
call fcn.1004d752
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.1002a5e0
mov esi, eax
cmp esi, 0x100929d4
je 0x1002a374
mov ecx, dword [0x100929e8]
cmp ecx, 0xf
jbe 0x1002a331
mov eax, dword [0x100929d4]
inc ecx
cmp ecx, 0x1000
jb 0x1002a327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5d3
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
mov dword [0x100929e4], 0
mov dword [0x100929e8], 0xf
mov byte [0x100929d4], 0
movups xmm0, xmmword [esi]
movups xmmword [0x100929d4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x100929e4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x230]
cmp ecx, 0xf
jbe 0x1002a3ae
mov edx, dword [ebp - 0x244]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a3a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5d3
push ecx
push edx
call fcn.1004d752
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.1002aa40
mov esi, eax
cmp esi, 0x100929ec
je 0x1002a43f
mov ecx, dword [0x10092a00]
cmp ecx, 0xf
jbe 0x1002a3fc
mov eax, dword [0x100929ec]
inc ecx
cmp ecx, 0x1000
jb 0x1002a3f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5d8
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
mov dword [0x100929fc], 0
mov dword [0x10092a00], 0xf
mov byte [0x100929ec], 0
movups xmm0, xmmword [esi]
movups xmmword [0x100929ec], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x100929fc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x230]
cmp ecx, 0xf
jbe 0x1002a479
mov edx, dword [ebp - 0x244]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a46f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5d8
push ecx
push edx
call fcn.1004d752
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
mov dword [ebp - 0x21c], 0
mov ecx, edx
mov dword [ebp - 0x218], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a4a4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.10016bc0
mov ecx, dword [0x10092a48]
cmp ecx, 0xf
jbe 0x1002a4f3
mov eax, dword [0x10092a34]
inc ecx
cmp ecx, 0x1000
jb 0x1002a4e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5bf
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
movups xmm0, xmmword [ebp - 0x22c]
movups xmmword [0x10092a34], xmm0
movq xmm0, qword [ebp - 0x21c]
movq qword [0x10092a44], xmm0
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
test eax, eax
mov dword [ebp - 0x218], 0
movups xmmword [ebp - 0x22c], xmm0
mov eax, 0x1007dd18
jne 0x1002a543
mov eax, 0x1007dd1c
push 1
push eax
lea ecx, [ebp - 0x22c]
call fcn.10016bc0
mov ecx, dword [0x10092a30]
cmp ecx, 0xf
jbe 0x1002a586
mov eax, dword [0x10092a1c]
inc ecx
cmp ecx, 0x1000
jb 0x1002a57c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a5bf
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
movups xmm0, xmmword [ebp - 0x22c]
movups xmmword [0x10092a1c], xmm0
movq xmm0, qword [ebp - 0x21c]
movq qword [0x10092a2c], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret
call fcn.1005260f
call fcn.1005260f
call fcn.1000d840
call fcn.1005260f
call fcn.1005260f
call fcn.1005260f
int3