Function at 0x40c370
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d49b5
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x290], ebx
push 0x63e93c
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x26c], 0
call fcn.0040e900
push 0x11
mov dword [ebp - 4], 0
mov ecx, ebx
push str.Crash_Signature:
mov dword [ebp - 0x26c], 1
call fcn.0040f430
mov eax, dword [esi + 0x18]
mov ecx, ebx
push dword [eax - 0xc]
push eax
call fcn.0040f430
mov eax, dword [esi + 0x10]
mov ecx, ebx
push dword [eax - 0xc]
push eax
call fcn.0040f430
mov dword [ebp - 4], 2
call fcn.00409450
mov ecx, eax
test ecx, ecx
je 0x40ca81
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x26c], 3
lea esi, [eax + 0x10]
mov dword [ebp - 0x270], esi
call fcn.00415550
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov dword [ebp - 0x278], eax
test eax, eax
je 0x40c4be
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x40c4be
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x40c496
push edi
lea ecx, [ebp - 0x270]
call fcn.0040f0e0
mov esi, dword [ebp - 0x270]
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x278]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp edi, dword [esi - 8]
jg 0x40ca8b
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x40c4cf
lea ecx, [ebp - 0x270]
call fcn.0040f380
mov esi, dword [ebp - 0x270]
mov edx, dword [ebp - 0x274]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c4ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x27c], eax
test ecx, ecx
je 0x40c50a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40c518
call fcn.00409450
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 5
test ecx, ecx
je 0x40ca95
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x274]
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], 7
push esi
push 6
mov edx, str.GUID:
mov dword [ebp - 0x274], eax
call fcn.0040ee40
add esp, 0xc
mov esi, dword [ebp - 0x274]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x280], eax
test ecx, ecx
je 0x40c57a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40c588
call fcn.00409450
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov byte [ebp - 4], 7
test ecx, ecx
je 0x40ca9f
mov eax, dword [ecx]
call dword [eax + 0xc]
push 2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x278]
push 0x63fc34
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], 0xf
mov edx, esi
mov dword [ebp - 0x278], eax
call fcn.0040ee40
mov esi, dword [ebp - 0x278]
add esp, 0xc
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.0040f430
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40c5f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x280]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c60c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x26c], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c634
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x27c]
call fcn.00415330
mov dword [ebp - 4], 8
mov ecx, ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040f430
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x40c672
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x105
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x40c6ce
push 0x13
push str.Computer_User_Name:
mov ecx, ebx
call fcn.0040f430
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c6b0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0040f430
push 2
push 0x63fc34
mov ecx, ebx
call fcn.0040f430
mov edi, dword [ebp - 0x288]
mov edx, str.not_rhino_r_n
mov eax, str.rhino_report_r_n
cmp dword [edi + 0x108], 0
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c700
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040f430
push 2
push 0x63fc34
mov ecx, ebx
call fcn.0040f430
cmp byte [edi + 0x111], 0
mov edx, str.hash_check_error_r_n
mov eax, str.no_hash_check_error_r_n
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c740
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040f430
cmp dword [edi + 0x124], 0
je 0x40c8e4
lea eax, [edi + 0x114]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004561b0
push eax
mov edx, str._r_nDelayLoad_module:
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x250]
call fcn.0040f960
add esp, 0xc
push 0x63fc34
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040fab0
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 8
jb 0x40c7ba
mov edx, dword [edx]
test edx, edx
jne 0x40c7c2
xor ecx, ecx
jmp 0x40c7d6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c7c7
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040f430
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x40c823
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c819
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40caa9
push ecx
push edx
call fcn.005a242d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp ecx, 8
jb 0x40c884
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c87a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40caa9
push ecx
push edx
call fcn.005a242d
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 8
jb 0x40c8e4
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c8da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40caa9
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, dword [ebp - 0x28c]
cmp dword [eax + 0x64], 0
je 0x40ca61
add eax, 0x54
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004561b0
push eax
mov edx, str._r_nSogouPY_IME_Version:
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x238]
call fcn.0040f960
add esp, 0xc
push 0x63fc34
push eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0xd
push eax
call fcn.0040fab0
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 0xe
cmp dword [edx + 0x14], 8
jb 0x40c946
mov edx, dword [edx]
test edx, edx
jne 0x40c94e
xor ecx, ecx
jmp 0x40c962
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c953
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0040f430
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x40c9ab
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c9a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40caae
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp ecx, 8
jb 0x40ca08
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c9fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40caae
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp ecx, 8
jb 0x40ca61
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40caae
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00409320
push 0x80070057
call fcn.00409320
push 0x80004005
call fcn.00409320
push 0x80004005
call fcn.00409320
call fcn.005a7b3f
call fcn.005a7b3f
int3