Function at 0x404630
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
mov eax, 0xc0c0c0
mov dword [0x438db4], eax
mov dword [0x438dac], eax
push ebx
push ebp
push esi
mov eax, 0xffffff
lea esi, [ecx + 0x20c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x438db0], eax
mov dword [0x438db8], eax
push esi
lea eax, [esp + 0x20]
push pe_nt_image_headers32
push eax
push 0x438dcc
mov edx, 0x808080
push str.FACE
push str.Color
mov dword [0x438da4], edx
mov dword [0x438da8], 0x404040
mov dword [0x438dbc], 0
mov dword [0x438dc0], 0xff4040
mov dword [0x438dc4], edx
call edi
mov al, byte [esp + 0x1c]
mov ebp, dword [sym.imp.MSVCRT.dll_isdigit]
mov ebx, dword [sym.imp.MSVCRT.dll_sscanf]
test al, al
je 0x40470c
movsx ecx, al
push ecx
call ebp
add esp, 4
test eax, eax
je 0x40470c
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d
push edx
call ebx
mov ecx, dword [esp + 0x28]
xor eax, eax
mov ah, byte [esp + 0x2c]
and ecx, 0xff
mov al, byte [esp + 0x24]
add esp, 0x14
shl eax, 8
or eax, ecx
mov dword [0x438db4], eax
push esi
lea edx, [esp + 0x20]
push pe_nt_image_headers32
push edx
push 0x438dcc
push str.SHADOW
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x404779
movsx eax, al
push eax
call ebp
add esp, 4
test eax, eax
je 0x404779
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__d
push ecx
call ebx
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x2c]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
mov dword [0x438da4], edx
push esi
lea ecx, [esp + 0x20]
push pe_nt_image_headers32
push ecx
push 0x438dcc
push str.DKSHADOW
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x4047e7
movsx edx, al
push edx
call ebp
add esp, 4
test eax, eax
je 0x4047e7
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x28]
push str._d__d__d
push eax
call ebx
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov ch, byte [esp + 0x2c]
and edx, 0xff
mov cl, byte [esp + 0x24]
add esp, 0x14
shl ecx, 8
or ecx, edx
mov dword [0x438da8], ecx
push esi
lea eax, [esp + 0x20]
push pe_nt_image_headers32
push eax
push 0x438dcc
push str.LIGHT
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x404854
movsx ecx, al
push ecx
call ebp
add esp, 4
test eax, eax
je 0x404854
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d
push edx
call ebx
mov ecx, dword [esp + 0x28]
xor eax, eax
mov ah, byte [esp + 0x2c]
and ecx, 0xff
mov al, byte [esp + 0x24]
add esp, 0x14
shl eax, 8
or eax, ecx
mov dword [0x438dac], eax
push esi
lea edx, [esp + 0x20]
push pe_nt_image_headers32
push edx
push 0x438dcc
push str.HIGHLIGHT
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x4048c1
movsx eax, al
push eax
call ebp
add esp, 4
test eax, eax
je 0x4048c1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__d
push ecx
call ebx
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x2c]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
mov dword [0x438db0], edx
push esi
lea ecx, [esp + 0x20]
push pe_nt_image_headers32
push ecx
push 0x438dcc
push str.WINDOW
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x40492f
movsx edx, al
push edx
call ebp
add esp, 4
test eax, eax
je 0x40492f
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x28]
push str._d__d__d
push eax
call ebx
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov ch, byte [esp + 0x2c]
and edx, 0xff
mov cl, byte [esp + 0x24]
add esp, 0x14
shl ecx, 8
or ecx, edx
mov dword [0x438db8], ecx
push esi
lea eax, [esp + 0x20]
push pe_nt_image_headers32
push eax
push 0x438dcc
push str.TEXT
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x40499c
movsx ecx, al
push ecx
call ebp
add esp, 4
test eax, eax
je 0x40499c
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x28]
push str._d__d__d
push edx
call ebx
mov ecx, dword [esp + 0x28]
xor eax, eax
mov ah, byte [esp + 0x2c]
and ecx, 0xff
mov al, byte [esp + 0x24]
add esp, 0x14
shl eax, 8
or eax, ecx
mov dword [0x438dbc], eax
push esi
lea edx, [esp + 0x20]
push pe_nt_image_headers32
push edx
push 0x438dcc
push str.LTTEXT
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x404a09
movsx eax, al
push eax
call ebp
add esp, 4
test eax, eax
je 0x404a09
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push str._d__d__d
push ecx
call ebx
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x2c]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
mov dword [0x438dc0], edx
push esi
lea ecx, [esp + 0x20]
push pe_nt_image_headers32
push ecx
push 0x438dcc
push str.GRAYTEXT
push str.Color
call edi
mov al, byte [esp + 0x1c]
test al, al
je 0x404a77
movsx edx, al
push edx
call ebp
add esp, 4
test eax, eax
je 0x404a77
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x28]
push str._d__d__d
push eax
call ebx
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov ch, byte [esp + 0x2c]
and edx, 0xff
mov cl, byte [esp + 0x24]
add esp, 0x14
shl ecx, 8
or ecx, edx
mov dword [0x438dc4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret