Function at 0x41ffd0
Capabilities:
Get session user name

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4720
push eax
mov al, byte [0x4cf6b2]
mov dword fs:[0], esp
sub esp, 0x24
test al, al
push ebx
push esi
push edi
mov edi, ecx
je 0x42049c
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push str.config.ini
push 0x52fad4
push eax
call sub.MFC42u.DLL_operator_4
push 0x4e2868
lea ecx, [esp + 0x24]
push str.account_id
push ecx
call fcn.004250b0
add esp, 0x10
push 0x4e2868
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call sub.MFC42u.DLL_CString::CString_4
mov edx, dword [esp + 0x14]
mov eax, dword [0x1404c18]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x4200fe
push 0x1404c18
mov ecx, 0x4e3a90
call sub.MFC42u.DLL_CString::operator_2
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1404c18
call sub.MFC42u.DLL_CString::CString_3
push ecx
mov byte [esp + 0x40], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.lastping.cfg
push 0x1404c10
push ecx
call sub.MFC42u.DLL_operator_4
mov byte [esp + 0x40], 0
call fcn.0040ac30
add esp, 8
mov ecx, 0x1404c18
push 0x4e2868
call fcn.004b03dc
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.UploadAgentInfo
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x44], 2
mov edx, esp
mov dword [esp + 0x20], esp
push 0x1404c18
push str.New_ping_IP:
push edx
call sub.MFC42u.DLL_operator_3
mov byte [esp + 0x44], 0
call fcn.00421fb0
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.UploadAgentInfo
call sub.MFC42u.DLL_CString::CString_2
push ecx
mov byte [esp + 0x44], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4e3a90
call sub.MFC42u.DLL_CString::CString_3
mov byte [esp + 0x44], 0
call fcn.00421fb0
add esp, 0xc
lea eax, [esp + 0x24]
mov word [esp + 0x12], 0
mov word [esp + 0x10], 1
push eax
push 0x52fe70
mov dword [esp + 0x2c], 0x3c
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x52fe70
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call sub.MFC42u.DLL_CString::MakeLower
push str.AGENTINFOM
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_2
push 0x4cf25c
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call sub.MFC42u.DLL_CString::CString_4
mov ecx, dword [esp + 0x14]
mov edx, dword [0x52fda4]
push ecx
push edx
call esi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x4201c8
push str.AGENTINF2M
lea ecx, [esp + 0x10]
call fcn.004b0454
push 0x52fbc0
lea ecx, [esp + 0x10]
call fcn.004b0394
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42u.DLL_CString::operator_1
push 0x52ed38
lea ecx, [esp + 0x10]
call fcn.004b0394
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x18]
push eax
call fcn.00428c50
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 6
call fcn.004b0394
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
push 0x52ed3c
lea ecx, [esp + 0x10]
call fcn.004b0394
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [esp + 0x1c]
push 0x4e28c0
push eax
call esi
add esp, 8
test eax, eax
je 0x420288
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
call fcn.004b0394
jmp 0x420296
push 0x4e28c0
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [edi + 0x108]
add edi, 0x108
push 0x4e28c0
push eax
call esi
add esp, 8
test eax, eax
jne 0x420351
lea ecx, [esp + 0x28]
push ecx
call fcn.00455c00
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x3c], 7
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x14]
push edx
call fcn.004566f0
mov eax, dword [esp + 0x18]
mov bl, 8
push 0x4e28c0
push eax
mov byte [esp + 0x44], bl
call esi
add esp, 0xc
test eax, eax
je 0x420343
push 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42u.DLL_CString::CString_3
push ecx
mov byte [esp + 0x44], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push str.sysinfo.cfg
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x44], bl
call fcn.004255a0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call sub.MFC42u.DLL_CString::CString
push edi
lea ecx, [esp + 0x10]
call fcn.004b0394
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42u.DLL_CString::operator_1
push str.9.639
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
mov ecx, dword [0x1404c0c]
cmp dword [ecx - 8], 3
jl 0x4203cd
push 0x4d0e4c
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
lea edx, [esp + 0x28]
push 3
push edx
mov ecx, 0x1404c0c
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0xa
call fcn.004b0394
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 5
call sub.MFC42u.DLL_CString::CString
push 0x4d0e48
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42u.DLL_CString::operator_1
push 0x4d107c
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::operator_1
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push 0x4cf278
push 0x1404c10
push edx
call sub.MFC42u.DLL_operator_4
push 0x4e2868
lea eax, [esp + 0x28]
push str.last_modtime
push eax
call fcn.004250b0
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xb
push ecx
lea ecx, [esp + 0x10]
call fcn.004b0394
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
mov ecx, 0x52fd38
call fcn.004aa340
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret