Function at 0x43f9c0
Capabilities:
Get session user name

Disassembly:
mov eax, 0x2d90
call fcn.004524d0
mov dx, word [0x48193c]
push ebx
push ebp
push esi
push edi
mov ecx, 0x70e
xor eax, eax
lea edi, [esp + 0x1168]
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [esp + 0x446]
mov word [esp + 0x444], dx
mov word [esp + 0x64c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x64e]
mov bl, byte [0x481910]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xa5d]
mov byte [esp + 0xa5c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xb61]
mov byte [esp + 0xb60], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xf62]
mov word [esp + 0xf60], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x341]
mov byte [esp + 0x340], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x444]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x104
lea edx, [esp + 0xa60]
push 0x481c6c
push edx
call fcn.0042f1a0
add esp, 0xc
lea eax, [esp + 0x64c]
lea ecx, [esp + 0xa5c]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [esp + 0x2da4]
mov eax, dword [esi + 0x5780]
test eax, eax
je 0x440152
mov eax, dword [esi + 0x578c]
test eax, eax
je 0x440152
mov eax, dword [esi + 0x5778]
test eax, eax
je 0x440144
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dl, byte [0x481910]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x23d]
mov byte [esp + 0x23c], dl
mov ebx, dword [esp + 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x116c]
mov edi, 0x481ce4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [edi]
mov dword [esp + 0x18], 0
test al, al
jne 0x43fb81
cmp edi, 0x4821f8
jne 0x43ff42
xor edi, edi
xor ebp, ebp
test al, al
je 0x43fc37
mov edi, dword [esp + 0x20]
push 0x104
lea ecx, [esp + 0x240]
push edi
push ecx
call fcn.0042f1a0
lea edx, [esp + 0x248]
add esp, 0xc
test edx, edx
je 0x43fc0f
lea eax, [esp + 0x340]
test eax, eax
je 0x43fc0f
mov al, byte [esp + 0x23c]
lea esi, [esp + 0x23c]
test al, al
je 0x43fbdb
cmp al, 0x5c
jne 0x43fbdb
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43fbcf
push 0x104
lea ecx, [esp + 0x344]
push 0x475c08
push ecx
call fcn.0042f1a0
push 0x104
lea edx, [esp + 0x350]
push esi
push edx
call fcn.0042f1f0
mov esi, dword [esp + 0x2dbc]
add esp, 0x18
lea eax, [esp + 0xf60]
push 0x104
push eax
lea ecx, [esp + 0x348]
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebp, [esp + 0xf60]
lea edx, [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x454]
push 0
push edx
push ebp
call dword [esi + 0x5780]
mov ebx, eax
push ebx
call fcn.0042aa30
add esp, 4
test eax, eax
je 0x43fce3
test edi, edi
je 0x43fc9b
mov ecx, dword [esp + 0x2da8]
test ecx, ecx
je 0x43fc9b
mov eax, dword [esp + 0x2dac]
test eax, eax
je 0x43fc9b
push eax
push ecx
push edi
call fcn.0042d460
add esp, 0xc
test eax, eax
jne 0x43fcb7
mov dword [esp + 0x18], 1
jmp 0x43fcbf
test ebp, ebp
je 0x43fcb7
push ebp
push esi
call fcn.0042d280
add esp, 8
test eax, eax
je 0x43fcb7
mov dword [esp + 0x18], 1
jmp 0x43fcbf
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43fce3
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x454]
push 0
push eax
push ebp
call dword [esi + 0x5780]
mov ebx, eax
test ebx, ebx
je 0x43fcef
cmp ebx, 0xea
jne 0x43fd27
mov eax, dword [esp + 0x1c]
xor esi, esi
test eax, eax
jbe 0x43fd20
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x43fd17
lea edx, [esp + 0x64c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43fd3c
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jb 0x43fcf9
mov esi, dword [esp + 0x2da4]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x43fd4b
cmp ebx, 0xea
jne 0x43fd4b
jmp 0x43fc37
mov esi, dword [esp + 0x2da4]
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x43ff05
cmp ebx, 0xea
je 0x43ff05
mov ax, word [0x48193c]
mov ecx, 0x81
mov word [esp + 0x34], ax
xor eax, eax
lea edi, [esp + 0x36]
push 0x47b0a0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x448]
push ecx
stosw word es:[edi], ax
call fcn.0045298e
add esp, 8
test eax, eax
jne 0x43fe42
add esi, 0x2a3c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x43fe18
mov dx, word [0x48193c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x856]
mov word [esp + 0x854], dx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x858]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x854]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x34]
push 0x47b0a0
push eax
call esi
lea ecx, [esp + 0x444]
lea edx, [esp + 0x34]
push ecx
push edx
call esi
jmp 0x43fe3b
lea eax, [esp + 0x34]
push 0x47b098
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x444]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [esp + 0x2da4]
test ebp, ebp
je 0x43fe6c
lea eax, [esp + 0x64c]
push ebp
lea ecx, [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0xb6c]
push 0x47b57c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x43fe8f
lea eax, [esp + 0x64c]
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0xb68]
push 0x47b4ec
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, esi
call fcn.004086b0
cmp eax, 2
je 0x43feb5
push 0x400
lea eax, [esp + 0xb64]
push 0x47b464
push eax
call fcn.0042f1f0
add esp, 0xc
push 0x400
lea ecx, [esp + 0xb64]
push 0x46f06c
push ecx
call fcn.0042f1f0
mov edi, dword [esp + 0x34]
lea edx, [esp + 0xb6c]
push 0x400
push edx
lea eax, [edi + 4]
mov dword [edi - 4], 1
push eax
mov dword [edi], ebx
call fcn.0042f1a0
mov ecx, dword [esp + 0x3c]
add esp, 0x18
inc ecx
add edi, 0x408
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43ff1c
push eax
call dword [esi + 0x5778]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43ff32
test ebp, ebp
je 0x43ff32
push ebp
push esi
call fcn.0042d390
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44011f
mov edi, dword [esp + 0x20]
add edi, 0x104
cmp edi, 0x4822fc
mov dword [esp + 0x20], edi
jl 0x43fb5f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44011f
push esi
call fcn.0043f1e0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44011f
mov cx, word [0x48193c]
lea edi, [esp + 0x36]
mov word [esp + 0x34], cx
mov ecx, 0x81
rep stosd dword es:[edi], eax
lea edx, [esp + 0x444]
push 0x47b0a0
push edx
stosw word es:[edi], ax
call fcn.0045298e
add esp, 8
test eax, eax
jne 0x44005a
add esi, 0x2a3c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x440030
mov ax, word [0x48193c]
mov ecx, 0x81
mov word [esp + 0x854], ax
xor eax, eax
lea edi, [esp + 0x856]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x858]
push ecx
push 0xffffffffffffffff
push esi
push 0
push 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 0x854]
lea eax, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x34]
push 0x47b0a0
push ecx
call esi
lea edx, [esp + 0x444]
lea eax, [esp + 0x34]
push edx
push eax
call esi
jmp 0x440053
lea ecx, [esp + 0x34]
push 0x47b098
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x444]
lea eax, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [esp + 0x2da4]
test ebp, ebp
je 0x440084
lea ecx, [esp + 0x64c]
push ebp
lea edx, [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0xb6c]
push 0x47b418
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x4400a7
lea ecx, [esp + 0x64c]
lea edx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0xb68]
push 0x47b3dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test ebx, ebx
jne 0x4400b0
mov ebx, 0x529
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xb60]
mov eax, edi
push 0x400
shl eax, 7
add eax, edi
push ecx
shl eax, 3
lea edx, [esp + eax + 0x1178]
mov dword [esp + eax + 0x1170], 1
push edx
mov dword [esp + eax + 0x1178], ebx
call fcn.0042f1a0
add esp, 0xc
inc edi
test edi, edi
jle 0x44011f
lea esi, [esp + 0x116c]
mov eax, dword [esi - 4]
test eax, eax
je 0x44010f
mov eax, dword [esi]
lea ecx, [esi + 4]
push eax
push ecx
call fcn.00446e00
add esp, 8
add esi, 0x408
dec edi
jne 0x4400f9
mov esi, dword [esp + 0x2da4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x440135
test ebp, ebp
je 0x440135
push ebp
push esi
call fcn.0042d390
add esp, 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d90
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47b378
jmp 0x44015e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47b314
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d90
ret