Function at 0x430cc0
Capabilities:
Get session user name

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d90fa
push eax
mov dword fs:[0], esp
sub esp, 0x24
xor eax, eax
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x40]
push edi
mov dword [ebp + 0xa24], eax
xor ebx, ebx
mov dword [ebp + 0xa28], eax
mov edi, 1
mov dword [ebp + 0xa2c], eax
cmp esi, ebx
mov dword [ebp + 0xa30], eax
mov dword [ebp + 0x60], edi
je 0x430d13
mov eax, dword [esi + 4]
cmp eax, ebx
mov eax, edi
jne 0x430d18
mov eax, 5
mov word [ebp + 0x26c], ax
lea eax, [ebp + 0x260]
mov byte [ebp + 0x138], 0
mov dword [ebp + 0x5c], ebx
push eax
mov word [ebp + 0xe], bx
push ebx
mov dword [ebp + 0x10], ebx
call fcn.00454980
add esp, 8
mov ecx, ebp
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x130], ebx
mov dword [ebp + 0xa20], ebx
mov dword [ebp + 0xa1c], ebx
mov word [ebp + 0x36], bx
call fcn.00432ec0
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp + 0x45a], ebx
mov dword [ebp + 0x456], ebx
mov dword [ebp + 0x46e], eax
mov dword [ebp + 0x472], eax
mov word [ebp + 0x298], di
mov word [ebp + 0x26e], bx
mov word [ebp + 0x29e], bx
mov dword [ebp + 0x2b6], ebx
mov dword [ebp + 0x2b2], ebx
je 0x430da7
mov eax, dword [0x6536a0]
jmp 0x430db2
push edi
mov ecx, 0x651a58
call fcn.0041a700
push edi
mov ecx, 0x651a58
mov dword [ebp + 0x36e], eax
call fcn.0041a700
cmp esi, ebx
mov dword [ebp + 0x31e], eax
je 0x430e52
mov edx, dword [ebp + 0x36e]
mov word [ebp + 0x2aa], bx
mov word [ebp + 0x2ba], di
mov ecx, dword [0x655af8]
push ecx
push 0x80
push edx
call fcn.0042d9d0
mov eax, dword [ebp + 0x36e]
push ebp
push eax
call fcn.00428ab0
mov cx, word [ebp + 0xa4c]
push ebx
add cx, 2
push ebx
push ebp
mov word [ebp + 0x29c], cx
mov dword [ebp + 0xa6a], edi
mov word [ebp + 0x2a0], di
call fcn.0045baa0
add esp, 0x20
cmp word [ebp + 0x29c], di
mov esi, edi
jbe 0x430e52
push esi
push 0xffff
push ebp
call fcn.0045baa0
add esp, 0xc
inc esi
cmp si, word [ebp + 0x29c]
jb 0x430e39
mov eax, dword [0x655ac0]
lea esi, [ebp + 0x4ee]
and eax, 4
push ebx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00431170
push edi
mov ecx, esi
call fcn.00431190
xor edx, edx
mov ecx, esi
mov dx, word [0x655bba]
sub edx, 2
imul edx, dword [ebp + 0x260]
push edx
call fcn.00431180
mov ax, word [ebp + 0xa66]
cmp ax, bx
je 0x430ea5
cmp ax, 2
je 0x430ea5
xor eax, eax
jmp 0x430ea7
mov eax, edi
push edi
push eax
mov ax, word [ebp + 0x12c]
mov ecx, esi
push eax
call fcn.0047d1b0
lea eax, [ebp + 0x76a]
mov ecx, 0x9f
mov edi, eax
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.00431190
lea esi, [ebp + 0x76a]
push ebx
mov ecx, esi
call fcn.00431170
mov edi, dword [esp + 0x10]
mov dx, word [ebp + 0x12c]
xor ecx, ecx
cmp edi, ebx
sete cl
push ecx
push ebx
push edx
mov ecx, esi
call fcn.0047d1b0
cmp edi, ebx
je 0x430f05
mov eax, dword [ebp + 0x260]
jmp 0x430f17
xor eax, eax
mov ax, word [0x655bba]
sub eax, 2
imul eax, dword [ebp + 0x260]
push eax
mov ecx, esi
call fcn.00431180
mov esi, 1
cmp word [0x653360], si
jbe 0x430f68
mov eax, esi
and eax, 0xffff
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
mov eax, dword [eax + edx*2 + 0x5e]
cmp eax, ebx
je 0x430f5e
mov ecx, dword [esp + 0x44]
push ecx
push ebp
call eax
add esp, 8
inc esi
cmp si, word [0x653360]
jb 0x430f2d
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x4310e7
lea edx, [esp + 0x14]
lea eax, [ebp + 0xb70]
push edx
push eax
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, 1
mov word [ebp + 0x296], bx
cmp word [ebp + 0x29c], si
jbe 0x430fea
mov edx, dword [edi + 4]
cmp edx, ebx
je 0x430fe0
mov dword [esp + 0x22], edx
lea edx, [esp + 0x18]
or ecx, 0xffffffff
push esi
or eax, 0xffffffff
push edx
push ecx
push eax
push 3
push ebp
mov word [esp + 0x38], bx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ebx
call fcn.004565b0
push eax
push esi
push ebp
call fcn.0045e020
add esp, 0x24
inc esi
cmp si, word [ebp + 0x29c]
jb 0x430fa3
xor esi, esi
cmp word [edi + 8], bx
jbe 0x431016
mov ax, si
mov ecx, ebp
add ax, word [ebp + 0x29c]
push eax
push esi
call fcn.00434ba0
push eax
push ebp
call fcn.0045baa0
add esp, 0xc
inc esi
cmp si, word [edi + 8]
jb 0x430ff2
mov ecx, dword [0x6559e0]
push ebx
push ebx
push 0x2a
push ebp
call dword [ecx + 0x2e0]
xor edx, edx
add esp, 0x10
mov dx, word [ebp + 0xa4c]
mov dword [esp + 0x10], eax
inc edx
mov dword [esp + 0x44], 1
cmp edx, 1
jl 0x4310af
cmp ax, 1
jbe 0x431098
mov ebx, eax
mov esi, 6
and ebx, 0xffff
dec ebx
xor eax, eax
mov edx, dword [esp + 0x44]
cmp word [ebp + 0xa66], ax
lea ecx, [esi - 1]
push ecx
setne al
inc eax
mov edi, eax
push edi
push edx
push 0
push ebp
call fcn.0045f360
mov eax, dword [esp + 0x58]
push esi
push edi
push eax
push 0
push ebp
call fcn.0045f360
add esp, 0x28
add esi, 2
dec ebx
jne 0x431059
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dx, word [ebp + 0xa4c]
inc ecx
inc edx
mov dword [esp + 0x44], ecx
cmp ecx, edx
jle 0x431045
mov ax, word [ebp + 0x29c]
push ebx
inc ax
mov ecx, ebp
mov word [ebp + 0x2a2], ax
call fcn.00431940
mov cx, word [ebp + 0x38e]
push ebp
inc cx
mov word [ebp + 0x2a2], cx
call fcn.004322a0
add esp, 4
mov word [ebp + 0x2a6], ax
lea eax, [ebp + 0x2ac]
xor edx, edx
mov dword [ebp + 0xa38], ebx
mov ecx, 0x17
mov dword [eax], edx
lea edi, [ebp + 0x2c0]
push 0x64
mov word [eax + 4], dx
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
xor eax, eax
lea edi, [ebp + 0x278]
rep stosd dword es:[edi], eax
call fcn.00406c00
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x3c], ebx
je 0x431138
push ebp
mov ecx, eax
call fcn.0043bfa0
jmp 0x43113a
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0xa20], eax
neg eax
sbb eax, eax
pop edi
and eax, 0x7ff8fff2
pop esi
pop ebp
add eax, 0x8007000e
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4