Function at 0x476a1c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0x476a24
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4772c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x4849b8]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849b8]
call fcn.004040a8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.004084a8
mov dword [0x485d94], 0x80
push 0x485d94
push 0x485d14
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x28]
mov edx, 0x485d14
mov ecx, 0x80
call fcn.00403e50
cmp dword [ebp - 0x28], 0
jne 0x476aab
mov esi, 0x4772d0
mov edi, 0x485d14
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov ecx, 8
mov edx, 8
mov eax, dword [0x4849b4]
call fcn.004040a8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.004084a8
mov eax, dword [ebp - 0x14]
mov edx, 0x477358
call fcn.00403fb0
jne 0x476be1
xor eax, eax
push ebp
push 0x476bd7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x4849b0]
call fcn.00403ea0
mov ecx, eax
mov edx, 9
mov eax, dword [0x4849b0]
call fcn.004040a8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
call fcn.004084a8
push 0x477364
push dword [ebp - 0xc]
push 0x477398
push dword [ebp - 8]
push 0x4773b0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d8]
call fcn.0042bf08
push dword [ebp - 0x34]
push 0x4773c8
lea eax, [ebp - 0x38]
call fcn.004768c8
push dword [ebp - 0x38]
push 0x4773dc
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 0x28]
call fcn.0040860c
push dword [ebp - 0x3c]
push 0x4773f0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x4849c0]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849c0]
call fcn.004040a8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00408458
push dword [ebp - 0x40]
push 0x477408
lea eax, [ebp - 0x20]
mov edx, 0xd
call fcn.00403f60
mov eax, dword [ebp - 0x20]
call fcn.00404064
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
mov edx, 0x47741c
mov eax, dword [ebp - 0x20]
call fcn.004764fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476be1
lea eax, [ebp - 0x48]
push eax
mov ecx, 0xa
mov edx, 0xa
mov eax, dword [0x4849ec]
call fcn.004040a8
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x14]
call fcn.004084a8
mov eax, dword [ebp - 0x14]
mov edx, 0x477358
call fcn.00403fb0
jne 0x476e53
xor eax, eax
push ebp
push 0x476e49
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x4849f0]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849f0]
call fcn.004040a8
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
call fcn.004084a8
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x4849f4]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849f4]
call fcn.004040a8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x1c]
call fcn.004084a8
mov al, byte [0x47742c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
call fcn.004768c8
mov ecx, dword [ebp - 0x58]
mov edx, 0x477438
mov eax, dword [ebp - 0x1c]
call fcn.0040bdd4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
call fcn.00403cb8
mov al, byte [0x47742c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [0x4849d0]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849d0]
call fcn.004040a8
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00408458
mov ecx, dword [ebp - 0x60]
mov edx, 0x477448
mov eax, dword [ebp - 0x1c]
call fcn.0040bdd4
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x1c]
call fcn.00403cb8
mov al, byte [0x47742c]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x477458
mov eax, dword [ebp - 0x1c]
call fcn.0040bdd4
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
call fcn.00403cb8
mov al, byte [0x47742c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
mov edx, 0x485d14
mov ecx, 0x80
call fcn.00403e50
mov ecx, dword [ebp - 0x70]
mov edx, 0x47746c
mov eax, dword [ebp - 0x1c]
call fcn.0040bdd4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x1c]
call fcn.00403cb8
mov al, byte [0x47742c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x477480
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d8]
call fcn.0042bf08
push dword [ebp - 0x7c]
push 0x477494
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00403f60
mov ecx, dword [ebp - 0x78]
mov edx, 0x4774a0
mov eax, dword [ebp - 0x1c]
call fcn.0040bdd4
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x1c]
call fcn.00403cb8
mov al, byte [0x47742c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4849c0]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849c0]
call fcn.004040a8
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00408458
mov ecx, dword [ebp - 0x84]
mov edx, 0x4774b4
mov eax, dword [ebp - 0x1c]
call fcn.0040bdd4
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
call fcn.00403cb8
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00403eec
mov eax, dword [ebp - 0x8c]
call fcn.00404064
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00403eec
mov eax, dword [ebp - 0x90]
mov edx, 0x4774c8
call fcn.004764fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e53
lea eax, [ebp - 0x94]
push eax
mov ecx, 9
mov edx, 9
mov eax, dword [0x4849e0]
call fcn.004040a8
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x14]
call fcn.004084a8
mov eax, dword [ebp - 0x14]
mov edx, 0x477358
call fcn.00403fb0
jne 0x47725f
xor eax, eax
push ebp
push 0x477255
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4774dc
push dword [ebp - 8]
push 0x4774f8
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d8]
call fcn.0042bf08
push dword [ebp - 0x98]
push 0x47750c
lea eax, [ebp - 0x9c]
call fcn.004768c8
push dword [ebp - 0x9c]
push 0x477524
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [0x4849d0]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849d0]
call fcn.004040a8
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.00408458
push dword [ebp - 0xa0]
push 0x477538
lea eax, [ebp - 0xac]
push eax
mov eax, dword [0x4849c0]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849c0]
call fcn.004040a8
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00408458
push dword [ebp - 0xa8]
push 0x477550
lea eax, [ebp - 0x10]
mov edx, 0xb
call fcn.00403f60
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [0x4849e8]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849e8]
call fcn.004040a8
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x18]
call fcn.004084a8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x454384]
call fcn.00454600
mov ebx, eax
xor eax, eax
push ebp
push 0x477239
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [0x4849e4]
call fcn.00403ea0
mov ecx, eax
mov edx, 0xa
mov eax, dword [0x4849e4]
call fcn.004040a8
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.004084a8
mov edx, dword [ebp - 0xb4]
lea eax, [ebx + 0x1026c]
call fcn.00403c74
mov dword [ebx + 0x100ac], 0x19
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
cmp byte [ebx + 0x10290], 0
je 0x47722f
xor eax, eax
push ebp
push 0x477225
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 0x1026c]
lea eax, [ebp - 0xbc]
mov edx, 0x47755c
call fcn.00403eec
mov edx, dword [ebp - 0xbc]
mov eax, ebx
call fcn.00454e20
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.00454ea4
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x47756c
mov eax, ebx
call fcn.00454e20
lea edx, [ebp - 0xc4]
mov eax, ebx
call fcn.00454ea4
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0xc8]
mov ecx, dword [ebp - 0x18]
mov edx, 0x477594
call fcn.00403eec
mov edx, dword [ebp - 0xc8]
mov eax, ebx
call fcn.00454e20
lea edx, [ebp - 0xcc]
mov eax, ebx
call fcn.00454ea4
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x4775a8
mov eax, ebx
call fcn.00454e20
lea edx, [ebp - 0xd0]
mov eax, ebx
call fcn.00454ea4
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x4775b8
push dword [ebp - 0x18]
push 0x4775d0
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.00403f60
mov edx, dword [ebp - 0xd4]
mov eax, ebx
call fcn.00454e20
push 0x4775dc
push dword [ebp - 8]
push 0x4775ec
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00403f60
mov edx, dword [ebp - 0xd8]
mov eax, ebx
call fcn.00454e20
lea eax, [ebp - 0xdc]
mov ecx, dword [ebp - 8]
mov edx, 0x47760c
call fcn.00403eec
mov edx, dword [ebp - 0xdc]
mov eax, ebx
call fcn.00454e20
call fcn.00409828
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xe4]
call fcn.0040a410
mov ecx, dword [ebp - 0xe4]
lea eax, [ebp - 0xe0]
mov edx, 0x477630
call fcn.00403eec
mov edx, dword [ebp - 0xe0]
mov eax, ebx
call fcn.00454e20
mov edx, 0x477640
mov eax, ebx
call fcn.00454e20
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00454e20
mov edx, 0x477660
mov eax, ebx
call fcn.00454e20
lea edx, [ebp - 0xe8]
mov eax, ebx
call fcn.00454ea4
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47722f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x477243
mov eax, dword [ebp - 4]
call fcn.00402ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47725f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4772c9
lea eax, [ebp - 0xe8]
mov edx, 0x14
call fcn.00403c44
lea eax, [ebp - 0x98]
call fcn.00403c20
lea eax, [ebp - 0x94]
mov edx, 6
call fcn.00403c44
lea eax, [ebp - 0x7c]
call fcn.00403c20
lea eax, [ebp - 0x78]
mov edx, 0x11
call fcn.00403c44
lea eax, [ebp - 0x34]
call fcn.00403c20
lea eax, [ebp - 0x30]
mov edx, 0xb
call fcn.00403c44
ret