Function at 0x100e540
Capabilities:
Add user account
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x25c], eax
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x268], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x100e5b5
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100e5b5
push 0x8cd
call fcn.0100295a
push 0x40
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x100e5ce
push 0x89a
call fcn.0100295a
push ebx
push 0x202
push 0x1021db0
call fcn.01002121
mov esi, dword [0x101f340]
push 0x74
push ebx
push esi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x25c]
or dword [esi + 0x3c], 0xffffffff
or dword [esi + 0x40], 0xffffffff
mov eax, dword [ebp - 0x264]
xor edi, edi
inc edi
add esp, 0xc
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], 0x1003764
mov dword [esi + 0x54], 0x10209b8
mov dword [esi + 0x64], 0x201
mov dword [esi + 0x70], ebx
mov dword [esi], eax
cmp ecx, ebx
jne 0x100e633
mov dword [esi + 4], ebx
jmp 0x100e6d8
mov eax, 0x1003944
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100e65e
cmp dx, bx
je 0x100e65a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100e65e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100e638
xor eax, eax
jmp 0x100e663
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100e687
push edi
push ebx
push 0x1106
push edi
push 0x100
push 0x1021db0
call fcn.010109a8
mov dword [esi + 4], 0x1021db0
jmp 0x100e6d8
push dword [ebp - 0x25c]
call fcn.01012df2
movzx eax, ax
cmp ax, bx
je 0x100e6a3
movzx eax, ax
push eax
call fcn.0100295a
mov eax, dword [ebp - 0x25c]
mov dword [esi + 4], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x100e6af
sub eax, edx
sar eax, 1
cmp eax, 0xe
jbe 0x100e6d8
push edi
push 0x14a0
call fcn.01010970
test eax, eax
jne 0x100e6d8
push 2
call fcn.01002992
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
push esi
call fcn.0100dccb
cmp dword [ebp - 0x25c], ebx
jne 0x100e714
cmp dword [ebp - 0x260], ebx
je 0x100e714
push dword [ebp - 0x260]
push 0x1021db0
call fcn.0100cd0c
mov dword [esi + 4], 0x1021db0
cmp dword [ebp - 0x258], edi
jne 0x100e737
push ebx
push edi
push 0x1003764
push esi
call fcn.0100fc10
test eax, eax
je 0x100e737
push 0xf7f
call fcn.0100295a
push edi
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0x105
lea eax, [ebp - 0x250]
push eax
call fcn.0100f2b3
cmp eax, ebx
je 0x100e759
push eax
call fcn.0100295a
lea eax, [ebp - 0x250]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x100e762
sub eax, edx
sar eax, 1
mov dword [ebp - 0x254], eax
mov eax, dword [0x101f340]
mov eax, dword [eax + 0x48]
cmp eax, ebx
je 0x100e792
push edi
push 0xa8
push eax
call fcn.01014bc4
test al, al
je 0x100e7b9
push ebx
push dword [0x101f340]
lea eax, [ebp - 0x250]
push 3
push eax
call sub.samcli.dll_NetUserAdd
mov ebx, eax
test ebx, ebx
je 0x100e7dc
cmp ebx, 0x35
je 0x100e7c5
cmp ebx, 0x57
jne 0x100e7d6
xor ebx, ebx
push 0xeba
call fcn.0100295a
jmp 0x100e7de
lea eax, [ebp - 0x250]
push eax
push 0xe81
call fcn.0101081b
push ebx
call fcn.0100295a
xor ebx, ebx
call fcn.010078d8
cmp eax, edi
jne 0x100e816
cmp dword [ebp - 0x254], ebx
jne 0x100e816
push dword [esi]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0100cb87
cmp eax, ebx
je 0x100e816
push ebx
push eax
call fcn.01001c11
push 0xebe
call fcn.0100295a
cmp dword [ebp - 0x258], edi
jne 0x100e8b6
call fcn.010078d8
test eax, eax
jne 0x100e834
call fcn.010078f8
test eax, eax
je 0x100e842
cmp dword [ebp - 0x254], ebx
mov dword [ebp - 0x254], ebx
jbe 0x100e848
mov dword [ebp - 0x254], edi
lea eax, [ebp - 0x258]
push eax
push 3
push dword [ebp - 0x264]
lea eax, [ebp - 0x250]
push eax
call sub.samcli.dll_NetUserGetInfo
mov edi, 0xf7d
test eax, eax
je 0x100e872
push edi
call fcn.0100295a
push dword [ebp - 0x254]
push ebx
push dword [esi + 4]
push dword [ebp - 0x258]
call fcn.0100fc10
test eax, eax
je 0x100e891
push edi
call fcn.0100295a
push ebx
push dword [ebp - 0x258]
lea eax, [ebp - 0x250]
push 3
push dword [ebp - 0x264]
push eax
call sub.samcli.dll_NetUserSetInfo
test eax, eax
je 0x100e8b6
push edi
call fcn.0100295a
cmp dword [ebp - 0x25c], ebx
jne 0x100e8e7
cmp dword [ebp - 0x260], ebx
je 0x100e8e7
mov eax, dword [ebp - 0x264]
push 2
push 0xf80
mov dword [0x1019dd8], eax
mov dword [0x1019ddc], 0x1021db0
call fcn.01010914
call fcn.010108de
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002d45
leave
ret 8