Function at 0x47d8e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49353d
mov eax, dword fs:[0]
push eax
mov eax, 0x10c8
call fcn.00488c90
mov eax, dword [0x4b74b0]
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 esi, ecx
mov dword [ebp - 0x10d0], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0x10c0], eax
lea eax, [ebp - 0x1088]
push eax
mov dword [ebp - 0x10d4], edi
mov dword [ebp - 0x10cc], ebx
mov byte [ebp - 0x10b9], 1
call fcn.00479030
lea eax, [ebp - 0x1088]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0047b5b0
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.00478da0
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
cmp dword [esi + 0x28], 0
je 0x47dc87
cmp byte [esi + 0x38], 0
je 0x47db8b
push dword [ebp - 0x10c0]
lea ecx, [ebp - 0x1040]
call fcn.00401ff0
cmp dword [ebp - 0x102c], 8
lea eax, [ebp - 0x1040]
mov edx, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1040]
cmovae eax, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c4], eax
lea edi, [ebp - 0x1040]
mov eax, dword [ebp - 0x1030]
cmovae ecx, edx
cmovae edi, edx
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x47da20
mov esi, dword [ebp - 0x10c4]
mov ebx, eax
sub esi, edi
movzx eax, word [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [esi + edi], ax
add esp, 4
add edi, 2
cmp edi, ebx
jne 0x47da02
mov ebx, dword [ebp - 0x10cc]
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.00479030
push eax
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 4
push eax
call fcn.0047b5b0
push eax
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 5
push eax
call fcn.00478da0
add esp, 0x18
lea ecx, [ebp - 0x10a0]
call fcn.00408510
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00408510
mov esi, dword [ebp - 0x10d0]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x47da83
mov eax, dword [eax]
cmp dword [ebp - 0x1044], 8
lea ecx, [ebp - 0x1058]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1058]
cmp dword [ebx + 0x14], 8
jb 0x47daa1
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x496770
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47dac4
mov edi, dword [ebp - 0x10d4]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404550
mov edx, dword [ebp - 0x1044]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x47db28
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47db1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47db7b
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0x102c]
xor eax, eax
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x47db8b
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47db81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47db81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x47dc01
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x47db9d
mov eax, dword [eax]
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
mov edx, ebx
cmovae ecx, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x47dbbb
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x496770
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47dbe0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404550
mov eax, dword [edi + 0x10]
mov byte [ebp - 0x10b9], 1
test eax, eax
jne 0x47dc87
mov byte [ebp - 0x10b9], 1
cmp byte [esi + 0x38], al
jne 0x47dc87
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x47dc27
mov eax, dword [eax]
mov edx, dword [ebp - 0x10c0]
cmp dword [edx + 0x14], 8
jb 0x47dc35
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x47dc3f
mov ecx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x496770
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47dc62
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404550
mov byte [ebp - 0x10b9], 0
cmp dword [edi + 0x10], 0
jne 0x47dd02
cmp dword [esi + 0x10], 0
je 0x47dd02
cmp dword [esi + 0x14], 8
jb 0x47dc9f
mov esi, dword [esi]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x47dcbb
mov ebx, dword [ebx]
push esi
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x496770
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea ecx, [edx + 2]
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x47dce0
sub edx, ecx
lea eax, [ebp - 0x1010]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00404550
mov bl, 1
jmp 0x47dd08
mov bl, byte [ebp - 0x10b9]
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x47dd48
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47dd3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47dde2
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0x105c]
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 0x10
jb 0x47dd9b
mov ecx, dword [ebp - 0x1070]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47dd91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47dde2
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0x1074]
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], 0
cmp edx, 0x10
jb 0x47ddf2
mov ecx, dword [ebp - 0x1088]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47dde8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47dde8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
mov al, bl
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.00487877
mov esp, ebp
pop ebp
ret 0xc