Function at 0x470de9
Capabilities:
Read .ini file

Disassembly:
push 0x1d0
mov eax, 0x5b50fc
call fcn.0058f792
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1d0], eax
xor eax, eax
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b4], 1
mov dword [ebp - 0x154], 7
mov dword [ebp - 0x158], ecx
mov word [ebp - 0x168], ax
push str.______________________IN_n
push str.GetActualString
push 5
mov dword [ebp - 4], ecx
call fcn.00424dad
add esp, 0xc
test edi, edi
je 0x471184
xor eax, eax
cmp ax, word [edi]
je 0x471184
test esi, esi
je 0x4711a9
mov eax, dword [ebp - 0x1c4]
xor ecx, ecx
test eax, eax
je 0x471186
cmp cx, word [eax]
je 0x471184
xor eax, eax
push 0x140
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0058e700
push 0x5c6d78
lea eax, [ebp - 0x150]
push 0x20
push eax
call fcn.00591d62
add esp, 0x18
cmp dword [ebp + 0x24], 0
je 0x470eee
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1b4], 5
push eax
call fcn.004713f7
pop ecx
xor ecx, ecx
mov dword [ebp - 0x1c8], ecx
cmp dword [ebp - 0x1b4], ecx
jbe 0x471186
lea eax, [ebx + ebx]
mov dword [ebp - 0x1d8], eax
lea edi, [ebp - 0x150]
mov ebx, dword [ebp - 0x1dc]
test ebx, ebx
je 0x470f7d
xor eax, eax
cmp ax, word [ebx]
je 0x470f7d
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x168]
call fcn.00404be0
push 0x5c6d78
push edi
call fcn.005921d4
pop ecx
pop ecx
test eax, eax
je 0x470f9a
mov ebx, 0x5c5de0
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x168]
call fcn.00404a83
xor eax, eax
cmp word [edi], ax
je 0x470f6e
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x168]
call fcn.00404a83
jmp 0x470f9a
cmp word [edi], cx
jne 0x470f86
mov eax, ecx
jmp 0x470f8d
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x168]
call fcn.00404be0
push 7
pop edx
xor ecx, ecx
mov dword [ebp - 0x184], edx
xor eax, eax
mov dword [ebp - 0x188], ecx
mov word [ebp - 0x198], ax
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], ecx
mov word [ebp - 0x1b0], ax
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], ecx
mov word [ebp - 0x180], ax
mov ebx, dword [ebp - 0x1cc]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c0], ecx
cmp word [ebx], cx
jne 0x470ff3
mov eax, ecx
jmp 0x470ffa
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x198]
call fcn.00404be0
push 0xffffffffffffffff
xor eax, eax
lea ecx, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00404b26
push 0x2dc
push str...CommonW32_CommonFunctions.cpp
push dword [ebp - 0x1d8]
call fcn.0045a88d
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4710c9
push dword [ebp - 0x1c4]
cmp dword [ebp - 0x19c], 8
lea edx, [ebp - 0x1b0]
push dword [ebp - 0x1b8]
cmovae edx, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x198]
cmp dword [ebp - 0x184], 8
push ebx
cmovae ecx, dword [ebp - 0x198]
push 0x5c4f10
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
cmp word [ebx], ax
je 0x471090
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x180]
call fcn.00404be0
cmp dword [ebp - 0x16c], 8
lea eax, [ebp - 0x180]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x180]
push eax
push dword [ebp - 0x1b8]
push esi
call fcn.00591ddd
push ebx
call fcn.0045a8a4
add esp, 0x14
mov ebx, dword [ebp - 0x1c0]
lea eax, [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1d0]
inc ebx
push eax
push esi
call fcn.0046f4e7
test eax, eax
je 0x4710f4
push ebx
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
jne 0x471149
xor ebx, ebx
lea ecx, [ebp - 0x180]
push ebx
push 1
call fcn.00404970
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00404970
push ebx
push 1
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], bl
call fcn.00404970
mov eax, dword [ebp - 0x1c8]
add edi, 0x40
inc eax
xor ecx, ecx
mov dword [ebp - 0x1c8], eax
cmp eax, dword [ebp - 0x1b4]
jb 0x470f11
mov ebx, dword [ebp - 0x1b8]
jmp 0x471186
xor eax, eax
lea ecx, [ebp - 0x180]
inc eax
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x1bc], eax
call fcn.00404970
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00404970
xor eax, eax
lea ecx, [ebp - 0x198]
push eax
push 1
mov byte [ebp - 4], al
call fcn.00404970
jmp 0x4711a9
xor ecx, ecx
test esi, esi
je 0x4711a9
mov eax, dword [ebp - 0x1d4]
test eax, eax
je 0x47119e
push eax
push ebx
push esi
call fcn.00591d62
jmp 0x4711a6
push ebx
push ecx
push esi
call fcn.0058e700
add esp, 0xc
push str.______________________OUT_n
push str.GetActualString
push 5
call fcn.00424dad
add esp, 0xc
lea ecx, [ebp - 0x168]
xor eax, eax
push eax
push 1
call fcn.00404970
mov eax, dword [ebp - 0x1bc]
call fcn.0058f741
ret