Function at 0x472f6d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5047c8
mov eax, dword fs:[0]
push eax
mov eax, 0x2a1c
call fcn.004eaef0
mov eax, dword [0x5475b0]
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 - 0x2a20], ecx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x218], ax
mov edi, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004deff0
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2a18], ax
lea eax, [ebp - 0x2a16]
push ebx
push eax
call fcn.004deff0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
add esp, 0x18
push dword [0x549e80]
push 0x104
push eax
push 0x512700
push str.guid
push str.tempuser
call esi
push dword [0x549e80]
lea eax, [ebp - 0x2a18]
push 0x1000
push eax
push 0x512700
push str.cookie
push str.tempuser
call esi
cmp word [ebp - 0x218], bx
je 0x473046
cmp word [ebp - 0x2a18], bx
je 0x473046
inc edi
jmp 0x473113
mov eax, dword [0x548750]
mov dword [ebp - 0x2a1c], eax
push str.tempuser.ini
push 0x54e030
lea eax, [ebp - 0x2a1c]
mov dword [ebp - 4], ebx
push 0x511e14
push eax
call fcn.0040306c
add esp, 0x10
mov dword [ebp - method.CIniFile.virtual_0], vtable.CIniFile.0
lea ecx, [ebp - 0x2a28]
mov dword [ebp - 0x2a24], ebx
push dword [ebp - 0x2a1c]
call fcn.00433da9
push dword [ebp - 0x2a24]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x512700
push str.guid
push str.tempuser
call esi
push dword [ebp - 0x2a24]
lea eax, [ebp - 0x2a18]
push 0x1000
push eax
push 0x512700
push str.cookie
push str.tempuser
call esi
cmp word [ebp - 0x218], 0
je 0x4730f1
xor eax, eax
inc eax
cmp word [ebp - 0x2a18], 0
cmovne edi, eax
lea ecx, [ebp - 0x2a28]
call fcn.00433ed4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a1c]
call fcn.00403080
test edi, edi
je 0x4731fe
mov ecx, dword [ebp - 0x2a20]
lea eax, [ebp - 0x218]
push eax
add ecx, 0xc
call fcn.004028f2
push 0x7ff
lea eax, [ebp - 0xa17]
mov byte [ebp - 0xa18], bl
push ebx
push eax
call fcn.004deff0
lea ecx, [ebp - 0x218]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x47314c
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x47316e
mov dword [ebp - 0x2a1c], ebx
jmp 0x47318d
add esi, esi
mov eax, esi
call fcn.004e37c0
mov ecx, esp
lea edx, [ebp - 0x218]
push 3
push esi
call fcn.00405007
mov dword [ebp - 0x2a1c], eax
lea ecx, [ebp - 0x2a18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x473196
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x4731cb
add esi, esi
mov eax, esi
call fcn.004e37c0
mov ecx, esp
lea edx, [ebp - 0x2a18]
push 3
push esi
call fcn.00405007
mov ebx, eax
push ecx
push dword [ebp - 0x2a1c]
lea edx, [ebp - 0xa18]
mov ecx, ebx
push 0x800
call fcn.004380b4
mov ecx, dword [ebp - 0x2a20]
lea eax, [ebp - 0xa18]
add esp, 0xc
lea ecx, [ecx + 8]
push eax
call fcn.00413d88
jmp 0x473213
mov ecx, dword [ebp - 0x2a20]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ecx + 0xc]
call fcn.004028f2
mov eax, edi
lea esp, [ebp - 0x2a38]
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.004d9731
mov esp, ebp
pop ebp
ret