Function at 0x46fbac
Capabilities:
Read .ini file

Disassembly:
push 0x1d0
mov eax, 0x5ae199
call fcn.00588aeb
mov eax, dword [ebp + 0xc]
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 ecx, ecx
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.00423f75
add esp, 0xc
test edi, edi
je 0x46ff47
xor eax, eax
cmp ax, word [edi]
je 0x46ff47
test esi, esi
je 0x46ff6c
mov eax, dword [ebp - 0x1c4]
xor ecx, ecx
test eax, eax
je 0x46ff49
cmp cx, word [eax]
je 0x46ff47
xor eax, eax
push 0x140
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00587a70
push 0x5c0c88
lea eax, [ebp - 0x150]
push 0x20
push eax
call fcn.0058b0b1
add esp, 0x18
cmp dword [ebp + 0x24], 0
je 0x46fcb1
lea eax, [ebp - 0x150]
push eax
mov dword [ebp - 0x1b4], 5
call fcn.004701ba
pop ecx
xor ecx, ecx
mov dword [ebp - 0x1c8], ecx
cmp dword [ebp - 0x1b4], ecx
jbe 0x46ff49
lea eax, [ebx + ebx]
mov dword [ebp - 0x1d8], eax
lea edi, [ebp - 0x150]
mov ebx, dword [ebp - 0x1dc]
test ebx, ebx
je 0x46fd40
xor eax, eax
cmp ax, word [ebx]
je 0x46fd40
push ebx
call fcn.00588144
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x168]
call fcn.00403cef
push 0x5c0c88
push edi
call fcn.0058b527
pop ecx
pop ecx
test eax, eax
je 0x46fd5d
mov ebx, 0x5bfcec
push ebx
call fcn.00588144
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x168]
call fcn.00403b92
xor eax, eax
cmp word [edi], ax
je 0x46fd31
push edi
call fcn.00588144
pop ecx
push eax
push edi
lea ecx, [ebp - 0x168]
call fcn.00403b92
jmp 0x46fd5d
cmp word [edi], cx
jne 0x46fd49
mov eax, ecx
jmp 0x46fd50
push edi
call fcn.00588144
pop ecx
push eax
push edi
lea ecx, [ebp - 0x168]
call fcn.00403cef
push 7
pop edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x184], edx
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 0x46fdb6
mov eax, ecx
jmp 0x46fdbd
push ebx
call fcn.00588144
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x198]
call fcn.00403cef
push 0xffffffffffffffff
xor eax, eax
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00403c35
push 0x2dc
push str...CommonW32_CommonFunctions.cpp
push dword [ebp - 0x1d8]
call fcn.0045976f
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x46fe8c
push dword [ebp - 0x1c4]
cmp dword [ebp - 0x19c], 8
push dword [ebp - 0x1b8]
lea edx, [ebp - 0x1b0]
cmovae edx, dword [ebp - 0x1b0]
cmp dword [ebp - 0x184], 8
push ebx
push 0x5bef10
lea ecx, [ebp - 0x198]
cmovae ecx, dword [ebp - 0x198]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
cmp word [ebx], ax
je 0x46fe53
push ebx
call fcn.00588144
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x180]
call fcn.00403cef
cmp dword [ebp - 0x16c], 8
lea eax, [ebp - 0x180]
cmovae eax, dword [ebp - 0x180]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x1b8]
push esi
call fcn.0058b12c
push ebx
call fcn.00459786
add esp, 0x14
mov ebx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1c0]
push eax
push esi
inc ebx
call fcn.0046e2c3
test eax, eax
je 0x46feb7
push ebx
push eax
call fcn.0058b10d
pop ecx
pop ecx
test eax, eax
jne 0x46ff0c
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x180]
call fcn.00403a7f
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00403a7f
push ebx
push 1
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], bl
call fcn.00403a7f
mov eax, dword [ebp - 0x1c8]
inc eax
add edi, 0x40
xor ecx, ecx
mov dword [ebp - 0x1c8], eax
cmp eax, dword [ebp - 0x1b4]
jb 0x46fcd4
mov ebx, dword [ebp - 0x1b8]
jmp 0x46ff49
xor eax, eax
inc eax
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x1bc], eax
call fcn.00403a7f
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00403a7f
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], al
call fcn.00403a7f
jmp 0x46ff6c
xor ecx, ecx
test esi, esi
je 0x46ff6c
mov eax, dword [ebp - 0x1d4]
test eax, eax
je 0x46ff61
push eax
push ebx
push esi
call fcn.0058b0b1
jmp 0x46ff69
push ebx
push ecx
push esi
call fcn.00587a70
add esp, 0xc
push str.______________________OUT_n
push str.GetActualString
push 5
call fcn.00423f75
add esp, 0xc
xor eax, eax
push eax
push 1
lea ecx, [ebp - 0x168]
call fcn.00403a7f
mov eax, dword [ebp - 0x1bc]
call fcn.00588a9a
ret