Function at 0x41eb89
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, 0x4b2aa0
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.0049ae68
add esp, 8
push esi
push 0x4b2a7d
push 0x4b2b83
lea eax, [ebp - 0x284]
push eax
call fcn.004a00a0
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 0x4b2a7c
push eax
lea edx, [ebp - 0x268]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41ec69
mov dword [ebp - 4], 1
movsx ecx, byte [ebp - 0x204]
cmp ecx, 0x44
jne 0x41ec42
push edi
lea eax, [ebp - 0x202]
push eax
push ebx
call fcn.0041d22e
add esp, 0xc
test eax, eax
je 0x41ec63
jmp 0x41ee20
push edi
lea edx, [ebp - 0x202]
push edx
push ebx
call fcn.0041d22e
add esp, 0xc
test eax, eax
je 0x41ec63
mov dword [edi + 4], 1
jmp 0x41ee20
inc esi
jmp 0x41ebcc
cmp dword [ebx + 0x2b8], 0
jne 0x41ee0c
lea ecx, [ebx + 0xb8]
lea eax, [ebp - 0x204]
push ecx
push pe_nt_image_headers32
push eax
push 0x4b2a7c
lea edx, [ebp - 0x268]
push 0x4b2b47
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41ed72
push edi
lea edi, [ebp - 0x268]
mov eax, edi
mov esi, 0x4b2b4d
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.0049ae68
add esp, 8
mov esi, 1
push esi
push 0x4b2a7d
push 0x4b2b83
lea eax, [ebp - 0x284]
push eax
call fcn.004a00a0
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 0x4b2a7c
push eax
lea edx, [ebp - 0x268]
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41ed72
mov dword [ebp - 4], 1
movsx ecx, byte [ebp - 0x204]
cmp ecx, 0x44
jne 0x41ed4b
push edi
lea eax, [ebp - 0x202]
push eax
push ebx
call fcn.0041d22e
add esp, 0xc
test eax, eax
je 0x41ed6c
jmp 0x41ee20
push edi
lea edx, [ebp - 0x202]
push edx
push ebx
call fcn.0041d22e
add esp, 0xc
test eax, eax
je 0x41ed6c
mov dword [edi + 4], 1
jmp 0x41ee20
inc esi
jmp 0x41ecd5
mov esi, 1
push esi
push 0x4b2a7d
push 0x4b2b83
lea eax, [ebp - 0x284]
push eax
call fcn.004a00a0
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 0x4b2a7c
push eax
push str.USER_Default_
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
je 0x41ee0c
mov dword [ebp - 4], 1
movsx edx, byte [ebp - 0x204]
cmp edx, 0x44
jne 0x41ede8
push edi
lea ecx, [ebp - 0x202]
push ecx
push ebx
call fcn.0041d22e
add esp, 0xc
test eax, eax
je 0x41ee06
jmp 0x41ee20
push edi
lea eax, [ebp - 0x202]
push eax
push ebx
call fcn.0041d22e
add esp, 0xc
test eax, eax
je 0x41ee06
mov dword [edi + 4], 1
jmp 0x41ee20
inc esi
jmp 0x41ed77
cmp dword [ebp - 4], 0
jne 0x41ee20
mov dword [edi + 4], 1
mov byte [edi + 0x23d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret