Function at 0x41bf10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de6c1
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.004bf8f0
mov eax, dword [0x53d9f8]
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 edi, ecx
mov dword [ebp - 0x1064], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1060], eax
lea eax, [ebp - 0x1058]
push ebx
push eax
call fcn.00418320
lea eax, [ebp - 0x1058]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.0041b340
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.00417e60
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add edi, 0x18
add esp, 0x24
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x41bfbe
mov edx, dword [edi]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
mov ecx, esi
cmovae eax, dword [ebp - 0x1028]
cmp dword [esi + 0x14], 8
jb 0x41bfdc
mov ecx, dword [esi]
push edx
push 0x800
lea edx, [ebp - 0x1010]
push edx
push 0x4f0da4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c000
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1060]
push eax
call fcn.004033b0
mov eax, dword [ebp - 0x1060]
mov byte [ebp - 0x1059], 1
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x41c09e
cmp dword [edi + 0x14], 8
jb 0x41c03e
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x41c046
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c050
mov eax, dword [esi]
push edi
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x4f0da4
push ebx
push eax
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 0x41c073
mov edi, dword [ebp - 0x1060]
lea eax, [ebp - 0x1010]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004033b0
mov eax, dword [edi + 0x10]
xor bl, bl
jmp 0x41c0aa
mov bl, byte [ebp - 0x1059]
mov edi, dword [ebp - 0x1060]
test eax, eax
jne 0x41c120
mov ecx, dword [ebp - 0x1064]
cmp dword [ecx + 0x14], 8
jb 0x41c0bc
mov ecx, dword [ecx]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
cmp dword [esi + 0x14], 8
jb 0x41c0d8
mov esi, dword [esi]
push ecx
push 0x800
lea ecx, [ebp - 0x1010]
push ecx
push 0x4f0da4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x1010]
lea esi, [edx + 2]
jmp 0x41c100
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41c100
sub edx, esi
lea eax, [ebp - 0x1010]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.004033b0
mov bl, 1
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x41c160
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c1fa
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x102c]
xor eax, eax
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 0x10
jb 0x41c1b3
mov ecx, dword [ebp - 0x1040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c1a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c1fa
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x1044]
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
cmp edx, 0x10
jb 0x41c20a
mov ecx, dword [ebp - 0x1058]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c200
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41c200
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
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.004bee49
mov esp, ebp
pop ebp
ret 0xc