Function at 0x4029a0
Capabilities:
Get session user name
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bb9c
push eax
mov eax, 0x1478
mov dword fs:[0], esp
call fcn.00405190
push ebp
push esi
push edi
call fcn.00414403
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x148c], 0
call fcn.00414403
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x148c], 1
call fcn.0040f1ba
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x1490], 2
call fcn.00402860
add esp, 4
mov ecx, dword [esp + 0xc]
push ecx
push 0x1450
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x1498], 3
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [esp + 0x1c], 0x104
mov eax, dword [ebp - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
sub eax, 0x104
or eax, ecx
lea edi, [esp + 0x34]
jge 0x402a72
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401900
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test ebp, ebp
jne 0x402a86
xor eax, eax
jmp 0x402a9f
mov eax, ebp
lea edx, [eax + 1]
jmp 0x402a90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402a90
sub eax, edx
js 0x402c32
cmp eax, dword [ebp - 8]
jg 0x402c32
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
mov al, byte [esp + 0x34]
test al, al
je 0x402b98
jmp 0x402ac0
push str.General
push edi
call fcn.00404af2
add esp, 8
test eax, eax
jne 0x402add
mov ecx, dword [esp + 0x28]
push edi
push ecx
jmp 0x402b6a
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
jge 0x402b05
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401900
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push edx
push 0x104
push esi
push 0x41d9c0
push str.UserName
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test esi, esi
jne 0x402b29
xor eax, eax
jmp 0x402b3f
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b30
sub eax, edx
js 0x402c32
cmp eax, dword [esi - 8]
jg 0x402c32
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [esi - 0xc]
test eax, eax
je 0x402b90
push esi
push ebp
call fcn.00404af2
add esp, 8
test eax, eax
je 0x402b90
mov eax, dword [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.0040f3db
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b78
sub eax, edx
lea edi, [edi + eax + 1]
cmp byte [edi], 0
jne 0x402ac0
jmp 0x402b98
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x148c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x148c], 1
call fcn.0040f20c
lea eax, [ebp - 0x10]
mov byte [esp + 0x148c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x148c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1484]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1484
ret
push 0x80070057
call fcn.00401420
int3