Function at 0x5a5e62
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x68e052
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
xor ebx, ebx
xor ebp, ebp
call fcn.0059c0f0
mov eax, dword [0x7dc084]
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1d0], ebx
call fcn.005a8704
mov ecx, dword [eax]
xor edx, edx
cmp ecx, ebx
mov edi, 1
setge dl
xor edx, edi
jne 0x5a5ef3
mov ecx, dword [0x7dc0ec]
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a5ef3
mov dx, word [esp + 0x3c]
mov ebp, edi
mov word [esi + 0x109], dx
cmp ebp, ebx
jne 0x5a5f5a
lea ecx, [esp + 0x10]
mov word [esi + 0x109], 9
call fcn.0059c0f0
mov eax, dword [0x7dc084]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d0], 1
call fcn.005a8704
mov ecx, dword [eax]
xor edx, edx
cmp ecx, ebx
setge dl
xor edx, edi
jne 0x5a5f49
mov eax, dword [0x7dc0ec]
push 9
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov eax, dword [0x7dc08c]
mov ebp, dword [esp + 0x1cc]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.005a8ca3
mov ecx, dword [eax]
xor edx, edx
cmp ecx, ebx
setge dl
xor edx, edi
je 0x5a5f91
mov ecx, esi
call fcn.005a57d5
jmp 0x5a6c22
cmp dword [esp + 0x38], edi
je 0x5a5fa3
mov ecx, esi
call fcn.005a57d5
jmp 0x5a6c22
mov ecx, dword [0x7dc090]
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a5fd1
mov dl, byte [esp + 0x40]
mov byte [esi + 0xc], dl
jmp 0x5a601d
lea ecx, [esp + 0x10]
mov byte [esi + 0xc], 1
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 2
call fcn.005a5661
test eax, eax
je 0x5a600c
mov ecx, dword [0x7dc090]
push edi
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc094]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a604b
mov dl, byte [esp + 0x2c]
mov byte [esi + 0xd], dl
jmp 0x5a6097
lea ecx, [esp + 0x10]
mov byte [esi + 0xd], 1
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 3
call fcn.005a5661
test eax, eax
je 0x5a6086
mov ecx, dword [0x7dc094]
push edi
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc098]
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a60c5
mov dl, byte [esp + 0x50]
mov byte [esi + 0xe], dl
jmp 0x5a6111
lea ecx, [esp + 0x10]
mov byte [esi + 0xe], 0
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 4
call fcn.005a5661
test eax, eax
je 0x5a6100
mov ecx, dword [0x7dc098]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc09c]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a613f
mov dl, byte [esp + 0x34]
mov byte [esi + 0xf], dl
jmp 0x5a618b
lea ecx, [esp + 0x10]
mov byte [esi + 0xf], 0
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 5
call fcn.005a5661
test eax, eax
je 0x5a617a
mov ecx, dword [0x7dc09c]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0a0]
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a61bc
mov edx, dword [esp + 0x4c]
mov dword [esi + 0xed], edx
jmp 0x5a620a
lea ecx, [esp + 0x10]
mov dword [esi + 0xed], ebx
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 6
call fcn.005a5661
test eax, eax
je 0x5a61f9
mov ecx, dword [0x7dc0a0]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0d8]
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a623b
mov edx, dword [esp + 0x24]
mov dword [esi + 0x105], edx
jmp 0x5a6289
lea ecx, [esp + 0x10]
mov dword [esi + 0x105], edi
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 7
call fcn.005a5661
test eax, eax
je 0x5a6278
mov ecx, dword [0x7dc0d8]
push edi
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov eax, dword [0x7dc0f0]
lea ecx, [esp + 0xb8]
push eax
push 0x7c95fc
push ecx
call fcn.00674915
add esp, 0xc
lea edx, [esp + 0xb8]
push edx
call fcn.005f760b
add esp, 4
test eax, eax
je 0x5a6306
lea ecx, [esp + 0x10]
mov dword [esi + 0x105], ebx
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 8
call fcn.005a5661
test eax, eax
je 0x5a62f5
mov ecx, dword [0x7dc0d8]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0a4]
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
setge cl
xor ecx, edi
jne 0x5a6337
mov edx, dword [esp + 0x48]
mov dword [esi + 0xf1], edx
jmp 0x5a6385
lea ecx, [esp + 0x10]
mov dword [esi + 0xf1], ebx
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 9
call fcn.005a5661
test eax, eax
je 0x5a6374
mov ecx, dword [0x7dc0a4]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0a8]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, edi
mov ebx, 0xa
jne 0x5a63bb
mov edx, dword [esp + 0x44]
mov dword [esi + 0xf5], edx
jmp 0x5a6412
lea ecx, [esp + 0x10]
mov dword [esi + 0xf5], 2
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], bl
call fcn.005a5661
test eax, eax
je 0x5a6401
mov ecx, dword [esi + 0xf5]
mov edx, dword [0x7dc0a8]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov edx, dword [0x7dc0ac]
lea ecx, [esp + 0x28]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, edi
jne 0x5a6443
mov edx, dword [esp + 0x28]
mov dword [esi + 0xf9], edx
jmp 0x5a6491
lea ecx, [esp + 0x10]
mov dword [esi + 0xf9], ebx
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0xb
call fcn.005a5661
test eax, eax
je 0x5a6480
mov ecx, dword [0x7dc0ac]
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0d0]
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, edi
jne 0x5a64c2
mov edx, dword [esp + 0x30]
mov dword [esi + 0xfd], edx
jmp 0x5a6510
lea ecx, [esp + 0x10]
mov dword [esi + 0xfd], edi
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0xc
call fcn.005a5661
test eax, eax
je 0x5a64ff
mov ecx, dword [0x7dc0d0]
push edi
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0d4]
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, edi
mov ebx, 0xd
jne 0x5a6546
mov edx, dword [esp + 0x18]
mov dword [esi + 0x101], edx
jmp 0x5a6593
lea ecx, [esp + 0x10]
mov dword [esi + 0x101], edi
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], bl
call fcn.005a5661
test eax, eax
je 0x5a6582
mov ecx, dword [0x7dc0d4]
push edi
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov eax, dword [0x7dc0b0]
mov ecx, ebp
push eax
call fcn.005a88b7
cmp eax, 0x200
jae 0x5a65b7
mov ecx, dword [0x7dc0b0]
push ecx
mov ecx, ebp
call fcn.005a88b7
jmp 0x5a65bc
mov eax, 0x200
push eax
mov eax, dword [0x7dc0b0]
lea edx, [esi + 0x263]
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.005a886a
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, edi
jne 0x5a661d
cmp dword [esi + 0x343], ebx
jne 0x5a6624
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardType]
push 0
call ebx
cmp eax, 7
jne 0x5a6624
push edi
call ebx
cmp eax, 2
je 0x5a6611
push edi
call ebx
and eax, 0xff00
cmp eax, 0xd00
jne 0x5a6624
mov dword [esi + 0x343], 0x90
jmp 0x5a6624
mov ecx, esi
call fcn.005a6c51
mov eax, dword [0x7dc0b8]
mov ecx, ebp
push eax
call fcn.005a88b7
cmp eax, 0x1e
jae 0x5a6646
mov ecx, dword [0x7dc0b8]
push ecx
mov ecx, ebp
call fcn.005a88b7
jmp 0x5a664b
mov eax, 0x1e
push eax
mov eax, dword [0x7dc0b8]
lea edx, [esi + 0x863]
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.005a886a
mov edx, dword [0x7dc0b4]
mov ecx, ebp
push edx
call fcn.005a88b7
cmp eax, 0xa0
jae 0x5a6689
mov eax, dword [0x7dc0b4]
mov ecx, ebp
push eax
call fcn.005a88b7
jmp 0x5a668e
mov eax, 0xa0
mov edx, dword [0x7dc0b4]
lea ecx, [esi + 0x881]
push eax
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
call fcn.005a886a
mov ecx, dword [0x7dc0bc]
push ecx
mov ecx, ebp
call fcn.005a88b7
cmp eax, 0x40
jae 0x5a66ca
mov edx, dword [0x7dc0bc]
mov ecx, ebp
push edx
call fcn.005a88b7
mov eax, dword [0x7dc0bc]
lea ebx, [esi + 0x10]
push 0x40
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.005a886a
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, edi
je 0x5a674b
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0xe
call fcn.005a5661
test eax, eax
je 0x5a6735
mov ecx, dword [0x7dc0bc]
push 0x40
push ebx
push 3
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8816
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov edi, 1
mov eax, dword [0x7dc0c0]
lea ebx, [esi + 0x51]
push 0x40
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.005a886a
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, edi
je 0x5a67cc
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0xf
call fcn.005a5661
test eax, eax
je 0x5a67b6
mov ecx, dword [0x7dc0c0]
push 0x40
push ebx
push 3
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8816
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov edi, 1
mov eax, dword [0x7dc0c4]
lea ebx, [esi + 0x91]
push 0x40
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.005a886a
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, edi
je 0x5a684b
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0x10
call fcn.005a5661
test eax, eax
je 0x5a683a
mov ecx, dword [0x7dc0c4]
push 0x40
push ebx
push 3
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8816
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov eax, dword [0x7dc0c8]
lea ebx, [esi + 0xd1]
push 0x1c
push ebx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.005a886a
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
setge dl
xor edx, 1
je 0x5a6921
mov ecx, 6
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0x11
call fcn.005a5661
test eax, eax
je 0x5a68be
mov ecx, dword [0x7dc0c8]
push 0x1c
push ebx
push 3
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8816
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
lea ecx, [esp + 0x10]
mov dword [ebx], 1
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0x12
call fcn.005a5661
test eax, eax
je 0x5a6910
mov ecx, dword [0x7dc0c8]
push 0x1c
push ebx
push 3
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005a8816
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
mov ecx, dword [0x7dc0dc]
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x18]
xor edi, edi
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x2c], edi
call fcn.005a8ca3
mov edx, dword [eax]
xor ecx, ecx
cmp edx, edi
setge cl
xor ecx, 1
jne 0x5a6959
mov edx, dword [esp + 0x20]
mov dword [esi + 0xb35], edx
jmp 0x5a69ad
lea ecx, [esp + 0x10]
mov dword [esi + 0xb35], edi
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0x13
call fcn.005a5661
test eax, eax
je 0x5a699c
mov ecx, dword [esi + 0xb35]
mov edx, dword [0x7dc0dc]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.005a8c5e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 0
call fcn.005a87fa
lea ebx, [esi + 0xb3d]
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edx, dword [0x7dc0e4]
push eax
lea ecx, [esp + 0x9c]
push 0x20
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebp
call fcn.005a8b14
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
je 0x5a6aa3
lea edx, [esp + 0x10]
lea eax, [esp + 0x54]
push edx
push eax
mov dword [esp + 0x18], 0x20
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x20
lea ecx, [esp + 0x58]
push ebx
push ecx
call fcn.0059ce4a
add esp, 0xc
test eax, eax
jne 0x5a6a28
push 0x7c95f4
push ebx
call fcn.006754be
add esp, 8
test ebx, ebx
je 0x5a6b6f
push ebx
push ebx
call fcn.006754be
add esp, 8
lea edx, [esp + 0x54]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x54]
push 0x20
push edx
push ebx
rep stosd dword es:[edi], eax
call fcn.0059cde7
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0x14
call fcn.005a5661
test eax, eax
je 0x5a6a92
mov edx, dword [0x7dc0e4]
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.005a8ac4
mov byte [esp + 0x1c4], 0
lea ecx, [esp + 0x10]
jmp 0x5a6b6a
push 0x20
lea ecx, [esp + 0x9c]
push ebx
push ecx
call fcn.0059ce4a
add esp, 0xc
test eax, eax
jne 0x5a6b6f
lea edx, [esp + 0x10]
lea eax, [esp + 0x54]
push edx
push eax
mov dword [esp + 0x18], 0x20
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x20
lea ecx, [esp + 0x58]
push ebx
push ecx
call fcn.0059ce4a
add esp, 0xc
test eax, eax
jne 0x5a6af8
push 0x7c95f4
push ebx
call fcn.006754be
add esp, 8
test ebx, ebx
je 0x5a6b6f
push ebx
push ebx
call fcn.006754be
add esp, 8
lea edx, [esp + 0x54]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x54]
push 0x20
push edx
push ebx
rep stosd dword es:[edi], eax
call fcn.0059cde7
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0059c0f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x1c8], 0x15
call fcn.005a5661
test eax, eax
je 0x5a6b5e
mov edx, dword [0x7dc0e4]
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.005a8ac4
mov byte [esp + 0x1c4], 0
lea ecx, [esp + 0x10]
call fcn.005a87fa
lea ebx, [esi + 0xb7d]
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edx, dword [0x7dc0e8]
push eax
lea ecx, [esp + 0x7c]
push 0x20
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebp
call fcn.005a8b14
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
jne 0x5a6bbd
push 0x20
lea edx, [esp + 0x7c]
push ebx
push edx
call fcn.0059ce4a
add esp, 0xc
test eax, eax
jne 0x5a6bc8
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x7dc0e0]
mov ecx, ebp
push eax
call fcn.005a88b7
cmp eax, 0xa0
jae 0x5a6bea
mov ecx, dword [0x7dc0e0]
push ecx
mov ecx, ebp
call fcn.005a88b7
mov edx, dword [0x7dc0e0]
add esi, 0x123
push 0xa0
push esi
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
call fcn.005a886a
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
setge cl
xor ecx, 1
je 0x5a6c22
mov ecx, 0x28
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.005a87fa
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret 4