Function at 0x436e24
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4cb564
call fcn.0045d534
sub esp, 0x120
push ebx
push esi
push edi
mov esi, ecx
call fcn.004c43c0
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
add eax, 0xc4
push eax
call fcn.004bdc37
xor edi, edi
mov dword [ebp - 4], edi
call fcn.004c43c0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc0]
cmp dword [eax - 8], edi
je 0x436f10
lea eax, [ebp - 0x10]
push str.btn_bar_close_hover.gif
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004be157
mov ebx, dword [eax]
lea eax, [ebp - 0x10]
push str.btn_bar_close_pressed.gif
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.004be157
mov eax, dword [eax]
push str.btn_bar_close_normal.gif
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.004be157
mov eax, dword [eax]
push 0
push 0
push ebx
push dword [ebp - 0x28]
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [ebp - 4], 3
push eax
call fcn.0041b9a6
mov ebx, eax
lea ecx, [ebp - 0x20]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 2
inc bl
call fcn.004bdec2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004bdec2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bdec2
test bl, bl
je 0x436f29
push 0
push 0
push 0xc7
push 0xc9
push 0xc6
mov ecx, edi
jmp 0x436f24
push edi
push edi
push 0xc7
push 0xc9
push 0xc6
lea ecx, [esi + 0x48]
call fcn.0041bcea
push str.face.ini
lea ecx, [ebp - 0x10]
call fcn.004be29e
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, str.BORDER_STYLE
push 0
push str.grade
push edi
call ebx
push dword [ebp - 0x10]
mov dword [esi + 0xd4], eax
push 0xffffffffffffffff
push str.section_top
push edi
call ebx
push dword [ebp - 0x10]
mov dword [esi + 0xd8], eax
push 0xffffffffffffffff
push str.section_bottom
push edi
call ebx
mov ecx, dword [esi + 0xd8]
mov dword [esi + 0xdc], eax
test ecx, ecx
jl 0x437498
test eax, eax
jl 0x437498
add eax, ecx
test eax, eax
je 0x437498
lea ebx, [eax + 1]
mov eax, ebx
imul eax, eax, 0x1c
push eax
call fcn.004be426
test eax, eax
pop ecx
je 0x436fb3
dec ebx
mov dword [ebp - 0x28], ebx
jmp 0x436fb5
xor eax, eax
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
mov dword [esi + 0xd0], eax
lea ecx, [ecx + edx + 1]
imul ecx, ecx, 0x1c
push ecx
push 0
push eax
call fcn.0045d740
and dword [ebp - 0x24], 0
add esp, 0xc
cmp dword [esi + 0xd8], 0
mov ebx, 0x104
jle 0x4371c8
and dword [ebp - 0x20], 0
mov eax, dword [0x505810]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push str.bc_top_h_d
push eax
call fcn.004b82e3
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d740
add esp, 0x18
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
push 0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
je 0x437194
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx + 0x18], eax
mov eax, dword [0x505810]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push str.bc_top_d_c1
push eax
call fcn.004b82e3
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str.bc_top_d_c2
push eax
call fcn.004b82e3
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d740
add esp, 0x24
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
push 0
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
je 0x43719d
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d740
add esp, 0xc
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
je 0x43719d
push dword [ebp - 0x10]
mov ecx, 0x50dff0
push 0
push dword [ebp - 0x18]
push edi
call fcn.00436428
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx + 0x10], eax
push dword [ebp - 0x10]
mov ecx, 0x50dff0
push 0
push dword [ebp - 0x14]
push edi
call fcn.00436428
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 5
mov dword [ecx + edx + 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.004bdec2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bdec2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bdec2
inc dword [ebp - 0x24]
add dword [ebp - 0x20], 0x1c
mov eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0xd8]
jl 0x436ff4
jmp 0x4371c8
and dword [esi + 0xd4], 0
jmp 0x4371bc
and dword [esi + 0xd4], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004bdec2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bdec2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bdec2
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
cmp eax, 1
mov dword [ebp - 0x24], eax
jl 0x4373c0
lea edx, [eax - 1]
add eax, ecx
imul eax, eax, 0x1c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov eax, dword [0x505810]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push str.bc_bot_h_d
push eax
call fcn.004b82e3
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d740
add esp, 0x18
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
push 0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
je 0x43738c
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov dword [edx + ecx + 0x18], eax
mov eax, dword [0x505810]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push str.bc_bot_d_c1
push eax
call fcn.004b82e3
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push str.bc_bot_d_c2
push eax
call fcn.004b82e3
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d740
add esp, 0x24
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
je 0x437395
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d740
add esp, 0xc
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
push 0
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
je 0x437395
push dword [ebp - 0x10]
mov ecx, 0x50dff0
push 0
push dword [ebp - 0x14]
push edi
call fcn.00436428
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov dword [edx + ecx + 0x10], eax
push dword [ebp - 0x10]
mov ecx, 0x50dff0
push 0
push dword [ebp - 0x18]
push edi
call fcn.00436428
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
mov dword [edx + ecx + 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.004bdec2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004bdec2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bdec2
dec dword [ebp - 0x24]
sub dword [ebp - 0x20], 0x1c
dec dword [ebp - 0x28]
cmp dword [ebp - 0x24], 1
jge 0x4371ee
jmp 0x4373c0
and dword [esi + 0xd4], 0
jmp 0x4373b4
and dword [esi + 0xd4], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004bdec2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004bdec2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bdec2
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + 0xd0]
imul ecx, ecx, 0x1c
mov edx, dword [eax]
push ebx
mov dword [ecx + eax], edx
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + 0xd0]
imul ecx, ecx, 0x1c
mov edx, dword [eax + 8]
push 0
mov dword [ecx + eax + 8], edx
mov eax, dword [esi + 0xd8]
imul eax, eax, 0x1c
mov ecx, dword [esi + 0xd0]
add eax, ecx
mov ecx, dword [eax - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xd8]
imul eax, eax, 0x1c
mov ecx, dword [esi + 0xd0]
add eax, ecx
mov ecx, dword [eax + 0x20]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d740
add esp, 0xc
lea eax, [ebp - 0x12c]
push dword [ebp - 0x10]
push ebx
push eax
mov ebx, str.bc_c1
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
push eax
call fcn.0045d7a0
test eax, eax
pop ecx
jne 0x43745b
and dword [esi + 0xd4], eax
push dword [ebp - 0x10]
mov ecx, 0x50dff0
push 0
push ebx
push edi
call fcn.00436428
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xd0]
imul ecx, ecx, 0x1c
mov dword [ecx + edx + 0x10], eax
mov eax, dword [esi + 0xd8]
imul eax, eax, 0x1c
mov ecx, dword [esi + 0xd0]
add eax, ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], ecx
jmp 0x43749f
and dword [esi + 0xd4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bdec2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret