Function at 0x436935
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4cb020
call fcn.0045d02c
sub esp, 0x120
push ebx
push esi
push edi
mov esi, ecx
call fcn.004c3f08
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
add eax, 0xc4
push eax
call fcn.004bd77d
xor edi, edi
mov dword [ebp - 4], edi
call fcn.004c3f08
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc0]
cmp dword [eax - 8], edi
je 0x436a21
lea eax, [ebp - 0x10]
push str.btn_bar_close_hover.gif
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004bdc9d
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.004bdc9d
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.004bdc9d
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.0041b628
mov ebx, eax
lea ecx, [ebp - 0x20]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 2
inc bl
call fcn.004bda08
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004bda08
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bda08
test bl, bl
je 0x436a3a
push 0
push 0
push 0xc7
push 0xc9
push 0xc6
mov ecx, edi
jmp 0x436a35
push edi
push edi
push 0xc7
push 0xc9
push 0xc6
lea ecx, [esi + 0x48]
call fcn.0041b958
push str.face.ini
lea ecx, [ebp - 0x10]
call fcn.004bdde4
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 0x436fa9
test eax, eax
jl 0x436fa9
add eax, ecx
test eax, eax
je 0x436fa9
lea ebx, [eax + 1]
mov eax, ebx
imul eax, eax, 0x1c
push eax
call fcn.004bdf6c
test eax, eax
pop ecx
je 0x436ac4
dec ebx
mov dword [ebp - 0x28], ebx
jmp 0x436ac6
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.0045d230
and dword [ebp - 0x24], 0
add esp, 0xc
cmp dword [esi + 0xd8], 0
mov ebx, 0x104
jle 0x436cd9
and dword [ebp - 0x20], 0
mov eax, dword [0x5056f0]
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.004b7e2b
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d230
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.0045d290
test eax, eax
pop ecx
je 0x436ca5
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 [0x5056f0]
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.004b7e2b
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str.bc_top_d_c2
push eax
call fcn.004b7e2b
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d230
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.0045d290
test eax, eax
pop ecx
je 0x436cae
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d230
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.0045d290
test eax, eax
pop ecx
je 0x436cae
push dword [ebp - 0x10]
mov ecx, 0x50ded0
push 0
push dword [ebp - 0x18]
push edi
call fcn.00435f38
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx + 0x10], eax
push dword [ebp - 0x10]
mov ecx, 0x50ded0
push 0
push dword [ebp - 0x14]
push edi
call fcn.00435f38
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.004bda08
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bda08
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bda08
inc dword [ebp - 0x24]
add dword [ebp - 0x20], 0x1c
mov eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0xd8]
jl 0x436b05
jmp 0x436cd9
and dword [esi + 0xd4], 0
jmp 0x436ccd
and dword [esi + 0xd4], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004bda08
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004bda08
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bda08
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
cmp eax, 1
mov dword [ebp - 0x24], eax
jl 0x436ed1
lea edx, [eax - 1]
add eax, ecx
imul eax, eax, 0x1c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov eax, dword [0x5056f0]
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.004b7e2b
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d230
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.0045d290
test eax, eax
pop ecx
je 0x436e9d
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 [0x5056f0]
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.004b7e2b
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push str.bc_bot_d_c2
push eax
call fcn.004b7e2b
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d230
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.0045d290
test eax, eax
pop ecx
je 0x436ea6
push ebx
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0045d230
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.0045d290
test eax, eax
pop ecx
je 0x436ea6
push dword [ebp - 0x10]
mov ecx, 0x50ded0
push 0
push dword [ebp - 0x14]
push edi
call fcn.00435f38
mov ecx, dword [esi + 0xd0]
mov edx, dword [ebp - 0x20]
mov dword [edx + ecx + 0x10], eax
push dword [ebp - 0x10]
mov ecx, 0x50ded0
push 0
push dword [ebp - 0x18]
push edi
call fcn.00435f38
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.004bda08
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004bda08
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bda08
dec dword [ebp - 0x24]
sub dword [ebp - 0x20], 0x1c
dec dword [ebp - 0x28]
cmp dword [ebp - 0x24], 1
jge 0x436cff
jmp 0x436ed1
and dword [esi + 0xd4], 0
jmp 0x436ec5
and dword [esi + 0xd4], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004bda08
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004bda08
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004bda08
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.0045d230
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.0045d290
test eax, eax
pop ecx
jne 0x436f6c
and dword [esi + 0xd4], eax
push dword [ebp - 0x10]
mov ecx, 0x50ded0
push 0
push ebx
push edi
call fcn.00435f38
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 0x436fb0
and dword [esi + 0xd4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bda08
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret