Function at 0x59e5c0
Capabilities:
Add user account
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffb35
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], 0
push eax
push 1
push 0
movlpd qword [ebp - 0x70], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x68], 0x10001
mov dword [ebp - 0x3c], 0
call dword [sym.imp.NETAPI32.dll_NetUserAdd]
test eax, eax
je 0x59e646
xor al, al
jmp 0x59e8b2
mov ecx, edi
call fcn.005d8c40
test eax, eax
je 0x59e677
push 1
mov edx, edi
mov ecx, esi
call fcn.005d8ad0
test eax, eax
je 0x59e677
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], edi
push eax
push 0x3f3
push esi
push 0
call dword [sym.imp.NETAPI32.dll_NetUserSetInfo]
push fcn.005dc430
push fcn.005dc5e0
push 3
push 0xc
lea eax, [ebp - 0x38]
push eax
call fcn.0041e804
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.0059bed0
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.0059c2d0
xorps xmm0, xmm0
mov byte [ebp - 0xa1], 0
movlpd qword [ebp - 0x60], xmm0
xor ebx, ebx
push str.Userenv.dll
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x60], edi
test edi, edi
je 0x59e6e4
push str.CreateProfile
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x5c], ebx
test edi, edi
je 0x59e792
test ebx, ebx
je 0x59e792
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x54]
movq qword [ebp - 0x54], xmm0
call fcn.005dc5e0
push 0
push esi
push 0x400
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.005db9a0
mov ecx, eax
call fcn.0059c620
lea ecx, [ebp - 0x54]
test al, al
jne 0x59e75b
call fcn.005dc430
lea ecx, [ebp - 0x48]
call fcn.005dc430
mov bh, byte [ebp - 0xa1]
xor bl, bl
jmp 0x59e7a2
push 0x104
push 1
push 0
push 0x104
call fcn.005db9a0
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.005dc190
push eax
call ebx
test eax, eax
lea ecx, [ebp - 0x54]
sete bh
call fcn.005dc430
lea ecx, [ebp - 0x48]
call fcn.005dc430
jmp 0x59e798
mov bh, byte [ebp - 0xa1]
xor bl, bl
test bh, bh
jne 0x59e88c
mov ecx, dword [ebp - 0x58]
call fcn.005d8c40
test eax, eax
jne 0x59e7d2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x58], str.temppass
push eax
lea eax, [ebp - 0x58]
mov bl, 1
push eax
push 0x3eb
push esi
push 0
call dword [sym.imp.NETAPI32.dll_NetUserSetInfo]
mov ecx, str.temppass
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0xffffffff
push eax
push 0
push 2
push ecx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
mov eax, dword [ebp - 0x5c]
je 0x59e85b
cmp eax, 0xffffffff
je 0x59e86b
test eax, eax
je 0x59e85b
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0x20
push ecx
push eax
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], esi
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
setne bh
test eax, eax
je 0x59e858
push dword [ebp - 0x84]
push dword [ebp - 0x5c]
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
je 0x59e86b
test eax, eax
je 0x59e86b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x59e88c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x58], 0x62439c
push eax
lea eax, [ebp - 0x58]
push eax
push 0x3eb
push esi
push 0
call dword [sym.imp.NETAPI32.dll_NetUserSetInfo]
test edi, edi
je 0x59e897
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push fcn.005dc430
push 3
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.0041e45b
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc