Function at 0x432270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x4747c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x474088]
cmp al, 0xff
jne 0x4326ad
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0x466304
mov ebx, 0x4662f4
mov dword [ebp - 0x1b4], 0x478904
push edi
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1b0], 0x433840
mov dword [ebp - 0x1ac], 0x466314
mov dword [ebp - 0x1a8], 0x466324
mov dword [ebp - 0x1a4], 0x478908
mov dword [ebp - 0x1a0], 0x433bb0
mov dword [ebp - 0x19c], 0x466334
mov dword [ebp - 0x198], 0x466350
mov dword [ebp - 0x194], 0x47890c
mov dword [ebp - 0x190], 0x433ca0
mov dword [ebp - 0x18c], 0x466370
mov dword [ebp - 0x188], 0x46637c
mov dword [ebp - 0x184], 0x478910
mov dword [ebp - 0x180], 0x433a20
mov dword [ebp - 0x17c], 0x466388
mov dword [ebp - 0x178], 0x466398
mov dword [ebp - 0x174], 0x478914
mov dword [ebp - 0x170], 0x433ac0
mov dword [ebp - 0x16c], 0x4663ac
mov dword [ebp - 0x168], 0x4663c0
mov dword [ebp - 0x164], 0x478918
mov dword [ebp - 0x160], 0x433930
movups xmmword [ebp - 0x15c], xmm0
mov byte [0x474088], 0
call fcn.00432780
mov edi, eax
test edi, edi
jne 0x4323a9
mov dword [0x474078], eax
jmp 0x432698
push esi
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call fcn.00436d80
push 0
mov esi, eax
push 2
push esi
call fcn.004344b0
push esi
mov esi, eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call fcn.00436d80
push edi
call fcn.00434320
add esp, 0x40
mov dword [0x474078], esi
test esi, esi
je 0x432697
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x20
push 0x478840
push 0x46629c
push str.Language
push str.Default
call esi
cmp eax, 0x1f
je 0x432426
mov ax, word [0x478840]
cmp ax, 0xa
je 0x432426
test ax, ax
jne 0x432560
push dword [0x474078]
lea eax, [ebp - 0x44]
push 0x20
push eax
push 0x46629c
push str.CanonicalName
push str.Default
call esi
cmp eax, 0x1f
je 0x43267f
cmp word [ebp - 0x44], 0xa
je 0x43267f
cmp word [0x478840], 0
je 0x43267f
mov edi, dword [0x474078]
push 0x5c
push edi
mov dword [ebp - 0x148], edi
call fcn.00438f4f
mov esi, eax
add esp, 8
test esi, esi
je 0x43267f
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00438ea0
add esp, 8
test eax, eax
jne 0x43267f
lea eax, [ebp - 0x44]
push 0x2f
push eax
call fcn.00438ea0
add esp, 8
test eax, eax
jne 0x43267f
sub esi, edi
lea edi, [ebp - 0x44]
add esi, 2
lea ecx, [edi + 2]
sar esi, 1
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4324c0
sub edi, ecx
lea eax, [esi + 1]
push 0
sar edi, 1
add eax, edi
push 2
push eax
call fcn.004344b0
add esi, esi
mov dword [ebp - 0x14c], eax
push esi
push dword [ebp - 0x148]
push eax
call fcn.00438600
lea ecx, [edi*2 + 2]
mov edi, dword [ebp - 0x14c]
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + edi]
push eax
call fcn.00438600
add esp, 0x24
test edi, edi
je 0x43267f
push dword [0x474078]
call fcn.00434320
push edi
push 0x20
push 0x478840
push str.Language
push str.Default
mov dword [0x474078], edi
call fcn.00433020
add esp, 0x18
test al, al
je 0x43267f
cmp word [0x478840], 0
je 0x43267f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [0x474078], 0
je 0x432697
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x474078]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x144]
push 0x80
push eax
push str.System
push str._FONTNAME_
push 0x478840
mov byte [0x474088], 1
call esi
push dword [0x474078]
push 0x40
push 0x478880
push str.MS_Sans_Serif
push str._OFONTNAME_
push 0x478840
call esi
push dword [0x474078]
push 0xa
push str._FONTSIZE_
push 0x478840
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x144]
push ecx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
xor edi, edi
mov dword [0x478900], eax
test ebx, ebx
je 0x432660
xor esi, esi
nop
lea eax, [ebp - 0x2c]
push eax
push ebx
mov ebx, dword [ebp - 0x14c]
push ebx
call dword [sym.imp.USER32.dll_GetClassInfoW]
mov ecx, dword [ebp + esi - 0x1b4]
mov eax, dword [ebp + esi - 0x1b8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov dword [ecx], eax
mov eax, dword [ebp + esi - 0x1b0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
inc edi
mov esi, edi
shl esi, 4
mov ebx, dword [ebp + esi - 0x1bc]
test ebx, ebx
jne 0x432610
push dword [0x474078]
push 0
push str._COLLECT_
push 0x478840
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x47891c], eax
jmp 0x432697
push dword [0x474078]
call fcn.00434320
mov dword [0x474078], 0
add esp, 4
pop esi
mov al, byte [0x474088]
pop edi
pop ebx
test al, al
jne 0x4326af
mov dword [0x474078], 0x46627c
test al, al
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.00437271
mov esp, ebp
pop ebp
ret