Function at 0x482850
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498a7d
mov eax, dword fs:[0]
push eax
mov eax, 0x10c8
call fcn.0048dc60
mov eax, dword [0x4be4b0]
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.0047dfa0
lea eax, [ebp - 0x1088]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.00480520
lea eax, [ebp - 0x1070]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.0047dd10
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 0x482bf7
cmp byte [esi + 0x38], 0
je 0x482afb
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 0x482990
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 0x482972
mov ebx, dword [ebp - 0x10cc]
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.0047dfa0
push eax
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 4
push eax
call fcn.00480520
push eax
lea eax, [ebp - 0x1058]
mov byte [ebp - 4], 5
push eax
call fcn.0047dd10
add esp, 0x18
lea ecx, [ebp - 0x10a0]
call fcn.00408560
lea ecx, [ebp - 0x10b8]
mov byte [ebp - 4], 8
call fcn.00408560
mov esi, dword [ebp - 0x10d0]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x4829f3
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 0x482a11
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x49b7f0
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 0x482a34
mov edi, dword [ebp - 0x10d4]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004045a0
mov edx, dword [ebp - 0x1044]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x482a98
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x482a8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482aeb
push edx
push ecx
call fcn.0048c837
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 0x482afb
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x482af1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x482af1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c837
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x482b71
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x482b0d
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 0x482b2b
mov edx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x49b7f0
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 0x482b50
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004045a0
mov eax, dword [edi + 0x10]
mov byte [ebp - 0x10b9], 1
test eax, eax
jne 0x482bf7
mov byte [ebp - 0x10b9], 1
cmp byte [esi + 0x38], al
jne 0x482bf7
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x482b97
mov eax, dword [eax]
mov edx, dword [ebp - 0x10c0]
cmp dword [edx + 0x14], 8
jb 0x482ba5
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x482baf
mov ecx, dword [ebx]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x49b7f0
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 0x482bd2
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004045a0
mov byte [ebp - 0x10b9], 0
cmp dword [edi + 0x10], 0
jne 0x482c72
cmp dword [esi + 0x10], 0
je 0x482c72
cmp dword [esi + 0x14], 8
jb 0x482c0f
mov esi, dword [esi]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
cmp dword [ebx + 0x14], 8
jb 0x482c2b
mov ebx, dword [ebx]
push esi
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x49b7f0
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 0x482c50
sub edx, ecx
lea eax, [ebp - 0x1010]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.004045a0
mov bl, 1
jmp 0x482c78
mov bl, byte [ebp - 0x10b9]
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x482cb8
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x482cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482d52
push edx
push ecx
call fcn.0048c837
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 0x482d0b
mov ecx, dword [ebp - 0x1070]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482d01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482d52
push edx
push ecx
call fcn.0048c837
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 0x482d62
mov ecx, dword [ebp - 0x1088]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x482d58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x482d58
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c837
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.0048c845
mov esp, ebp
pop ebp
ret 0xc