Function at 0x1004323f
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100604a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004329c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
push 0x3636
push 1
push 0x38a5
push 0x3354
push dword [ebp - 0x6c]
push dword [ebp - 0x5c]
call fcn.10043475
add esp, 0x18
jmp 0x10043464
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0x3e3b
mov dword [ebp - 0x74], 0x1000b690
cmp dword [ebp - 0x24], 0x3e7f
jle 0x10043380
and dword [ebp - 0x18], 0
jmp 0x100432ca
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6fc3
jge 0x10043376
and dword [ebp - 0x20], 0
jmp 0x100432e4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x31ad
jge 0x10043371
and dword [ebp - 0x14], 0
jmp 0x100432fe
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5bb
jge 0x1004336c
and dword [ebp - 0x1c], 0
jmp 0x10043314
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x44e0
jge 0x1004336a
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
shl eax, cl
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xa0]
call fcn.1000d0f0
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.1002c39f
push eax
call fcn.10049f86
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.1002c395
jmp 0x1004330d
jmp 0x100432f7
jmp 0x100432dd
jmp 0x100432c3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x3db9
jge 0x1004339c
push dword [ebp - 0x74]
call fcn.10049f86
pop ecx
jmp 0x100433b8
or dword [ebp - 4], 0xffffffff
jmp 0x100433c2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10043452
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push 0
mov eax, dword [ebp - 0x40]
push dword [eax]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x60]
call fcn.1004708d
jmp 0x10043464
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret