Function at 0x412fe0
Capabilities:
Access peb ldr_data
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4ecc50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
call fcn.004199a0
mov ecx, dword [esp + 0x3c]
cmp eax, 4
jne 0x4131d6
cmp ecx, 0x23
jne 0x4130ea
lea eax, [esp + 0x1c]
push eax
mov ecx, str.GoogleGoogle_Pinyin_2
call fcn.00405cc0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push 0x2a
push edx
mov byte [esp + 0x3c], 1
call fcn.00412fe0
add esp, 0xc
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41308f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, str.data
lea esi, [esp + 0x18]
call fcn.00414530
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
call fcn.00414530
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00406260
mov esi, dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4131e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4131e8
cmp ecx, 0x1a
jne 0x4131d6
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.GoogleGoogle_Pinyin_2
call fcn.00405cc0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push 0x2a
push eax
mov byte [esp + 0x3c], 4
call fcn.00412fe0
add esp, 0xc
mov byte [esp + 0x30], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, str.user
lea esi, [esp + 0x14]
call fcn.00414530
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x24], ebx
call esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c83da
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [esp + 0x38], 7
call esi
mov eax, edi
lea esi, [esp + 0x14]
call fcn.00414530
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
call fcn.00414530
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00406260
mov esi, dword [esp + 0x38]
add eax, 0x10
push edi
mov dword [esi], eax
mov byte [esp + 0x34], 6
call fcn.004c9b0b
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x18]
add esp, 4
jmp 0x4130c5
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
push edx
push esi
call fcn.00413230
add esp, 8
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41320c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret