Function at 0x41f374
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd7c
xor eax, eax
lea ecx, [ebp - 0x268]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, 1
push esi
push edi
lea edi, [ebp - 0x268]
mov esi, 0x4b0f48
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
lea edx, [edi + 8]
push edx
push ecx
call fcn.004986dc
add esp, 8
push esi
push 0x4b0f25
push 0x4b102b
lea eax, [ebp - 0x284]
push eax
call fcn.0049d914
add esp, 0x10
lea edx, [ebx + 0xb8]
lea ecx, [ebp - 0x204]
lea eax, [ebp - 0x284]
push edx
push pe_nt_image_headers32
push ecx
push 0x4b0f24
push eax
lea edx, [ebp - 0x268]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41f454
mov dword [ebp - 4], 1
movsx ecx, byte [ebp - 0x204]
cmp ecx, 0x44
jne 0x41f42d
push edi
lea eax, [ebp - 0x202]
push eax
push ebx
call fcn.0041da7c
add esp, 0xc
test eax, eax
je 0x41f44e
jmp 0x41f60b
push edi
lea edx, [ebp - 0x202]
push edx
push ebx
call fcn.0041da7c
add esp, 0xc
test eax, eax
je 0x41f44e
mov dword [edi + 4], 1
jmp 0x41f60b
inc esi
jmp 0x41f3b7
cmp dword [ebx + 0x2b8], 0
jne 0x41f5f7
lea ecx, [ebx + 0xb8]
lea eax, [ebp - 0x204]
push ecx
push pe_nt_image_headers32
push eax
push 0x4b0f24
lea edx, [ebp - 0x268]
push 0x4b0fef
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41f55d
push edi
lea edi, [ebp - 0x268]
mov eax, edi
mov esi, 0x4b0ff5
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
lea edx, [ebp - 0x204]
push edx
lea ecx, [ebp - 0x268]
push ecx
call fcn.004986dc
add esp, 8
mov esi, 1
push esi
push 0x4b0f25
push 0x4b102b
lea eax, [ebp - 0x284]
push eax
call fcn.0049d914
add esp, 0x10
lea edx, [ebx + 0xb8]
lea ecx, [ebp - 0x204]
lea eax, [ebp - 0x284]
push edx
push pe_nt_image_headers32
push ecx
push 0x4b0f24
push eax
lea edx, [ebp - 0x268]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41f55d
mov dword [ebp - 4], 1
movsx ecx, byte [ebp - 0x204]
cmp ecx, 0x44
jne 0x41f536
push edi
lea eax, [ebp - 0x202]
push eax
push ebx
call fcn.0041da7c
add esp, 0xc
test eax, eax
je 0x41f557
jmp 0x41f60b
push edi
lea edx, [ebp - 0x202]
push edx
push ebx
call fcn.0041da7c
add esp, 0xc
test eax, eax
je 0x41f557
mov dword [edi + 4], 1
jmp 0x41f60b
inc esi
jmp 0x41f4c0
mov esi, 1
push esi
push 0x4b0f25
push 0x4b102b
lea eax, [ebp - 0x284]
push eax
call fcn.0049d914
add esp, 0x10
lea edx, [ebx + 0xb8]
lea ecx, [ebp - 0x204]
lea eax, [ebp - 0x284]
push edx
push pe_nt_image_headers32
push ecx
push 0x4b0f24
push eax
push str.USER_Default_
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41f5f7
mov dword [ebp - 4], 1
movsx edx, byte [ebp - 0x204]
cmp edx, 0x44
jne 0x41f5d3
push edi
lea ecx, [ebp - 0x202]
push ecx
push ebx
call fcn.0041da7c
add esp, 0xc
test eax, eax
je 0x41f5f1
jmp 0x41f60b
push edi
lea eax, [ebp - 0x202]
push eax
push ebx
call fcn.0041da7c
add esp, 0xc
test eax, eax
je 0x41f5f1
mov dword [edi + 4], 1
jmp 0x41f60b
inc esi
jmp 0x41f562
cmp dword [ebp - 4], 0
jne 0x41f60b
mov dword [edi + 4], 1
mov byte [edi + 0x23d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret