Function at 0x1003782d
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d4ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003797a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1003788f
push 0x138c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
jmp 0x10037975
mov dword [ebp - 0x28], 0x3c46
mov dword [ebp - 0x40], str.vqleiq_wuzcy_uhsozqchs_ayt_byjspxk_swys
cmp dword [ebp - 0x28], 0x3f73
jle 0x10037922
and dword [ebp - 0x18], 0
jmp 0x100378b3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2d40
jge 0x10037913
and dword [ebp - 0x1c], 0
jmp 0x100378c9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3989
jge 0x10037911
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x8c]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.10004409
push eax
call fcn.100442bc
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.100043ff
jmp 0x100378c2
jmp 0x100378ac
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x3881
jge 0x1003793e
push dword [ebp - 0x40]
call fcn.100442bc
pop ecx
jmp 0x1003795a
or dword [ebp - 4], 0xffffffff
jmp 0x10037964
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x10037aaa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10037a94
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x30], 0x28a5
mov dword [ebp - 0x64], str.kiuctjozk_wef_vojwlmiss_wdrzvyh_acwvoqo_nkanl_rucp_aklwxjuww
cmp dword [ebp - 0x30], 0x29bc
jle 0x10037a45
push 0x1c4e
push 0
push 0x17e3
push 0x9f4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
and dword [ebp - 0x20], 0
jmp 0x100379fb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5873
jge 0x10037a3d
and dword [ebp - 0x24], 0
jmp 0x10037a11
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4a83
jge 0x10037a3b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x100758b8
call fcn.10004429
jmp 0x10037a0a
jmp 0x100379f4
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x2627
jge 0x10037a6c
mov edx, dword [ebp - 0x64]
mov ecx, 0x100758b8
call fcn.100067d6
jmp 0x10037a88
or dword [ebp - 4], 0xffffffff
jmp 0x10037a92
jmp 0x10037aaa
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10037aaa
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret