Function at 0x10038196
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072252
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10038249
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x10038217
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], eax
push 0
mov ecx, dword [ebp - 0x90]
call fcn.10009b6a
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x10038244
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x10038244
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x10038590
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x10], 0x971c
mov dword [ebp - 0x60], 0xffffffff
push 1
lea ecx, [ebp - 0xbc]
call fcn.10009afa
and dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0x857b1a09
mov dword [ebp - 0x20], 0xeb61943e
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x3c], 0x97fb
mov dword [ebp - 0x94], 0xc6aa
mov dword [ebp - 0x28], 0
jmp 0x100382b6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x100382d2
push dword [ebp - 0x28]
lea ecx, [ebp - 0xbc]
call fcn.10009b6a
mov dword [eax], 0x6548aab5
jmp 0x100382af
cmp dword [ebp - 0x10], 0
jne 0x10038313
cmp dword [ebp - 0x10], 1
je 0x100382e7
mov dword [ebp - 0x74], 1
jmp 0x100382eb
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x74]
je 0x10038305
mov eax, 0x6038
test eax, eax
je 0x10038305
mov dword [ebp - 0x40], 1
jmp 0x10038309
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
je 0x1003854a
mov dword [ebp - 0x1c], 0xfffffff7
mov dword [ebp - 0x18], 0x5d73
mov dword [ebp - 0x8c], 0xfffffffd
mov dword [ebp - 0x24], 0
jmp 0x1003833b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10038351
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xc8], 0xfffffff6
jmp 0x10038334
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jg 0x10038362
mov dword [ebp - 0x58], 1
jmp 0x10038366
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
push 0
lea ecx, [ebp - 0xbc]
call fcn.10009b6a
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x18]
cmp eax, 1
je 0x1003839c
cmp dword [ebp - 0x18], 0
je 0x1003839c
mov dword [ebp - 0x48], 1
jmp 0x100383a0
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0xc8], ecx
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x18]
je 0x100383de
mov dword [ebp - 0x50], 1
jmp 0x100383e2
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x50], eax
jle 0x100383f3
mov dword [ebp - 0x68], 1
jmp 0x100383f7
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x68], eax
jg 0x10038408
mov dword [ebp - 0x78], 1
jmp 0x1003840c
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x78]
jl 0x1003841d
mov dword [ebp - 0x44], 1
jmp 0x10038421
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x44]
cmp dword [ebp - 0x10], eax
jne 0x1003843b
mov dword [ebp - 0x34], 1
jmp 0x1003843f
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x1c], 0x594484f7
cmp dword [ebp - 0x1c], 0x5c2f4fe1
jl 0x10038523
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x20], 0
jne 0x1003847e
mov dword [ebp - 0x54], 1
jmp 0x10038482
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
sub eax, 9
jne 0x10038496
cmp dword [ebp - 0x10], 0
jne 0x10038496
and dword [ebp - 0x5c], 0
jmp 0x1003849d
mov dword [ebp - 0x5c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
add eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jle 0x100384be
mov dword [ebp - 0x2c], 1
jmp 0x100384c2
and dword [ebp - 0x2c], 0
push 0
lea ecx, [ebp - 0xbc]
call fcn.10009b6a
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
inc eax
cmp eax, dword [ebp - 0x20]
jne 0x100384e6
mov dword [ebp - 0x30], 1
jmp 0x100384ea
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0xc8], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x30], eax
jle 0x1003850b
mov dword [ebp - 0x64], 1
jmp 0x1003850f
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x64], eax
jle 0x10038523
mov dword [ebp - 0x6c], 1
jmp 0x10038527
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x6c]
jge 0x10038538
mov dword [ebp - 0x38], 1
jmp 0x1003853c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x94], eax
jmp 0x1003856b
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003856b
push 0
push 0x23b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.10009b5c
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push 0
call fcn.10033639
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret