Function at 0x1003ad38
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003b045
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1003addd
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1003add8
push 0
push 0x1465
push 0x1444
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
jmp 0x1003b040
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
xor eax, eax
inc eax
je 0x1003aefa
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0x68]
call fcn.100184a4
and dword [eax], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jl 0x1003aead
mov dword [ebp - 0x20], 1
jmp 0x1003aeb1
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x20]
cmp eax, 0x37eebdc1
jne 0x1003aec9
mov dword [ebp - 0x2c], 1
jmp 0x1003aecd
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jg 0x1003aee6
mov dword [ebp - 0x3c], 1
jmp 0x1003aeea
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
neg eax
je 0x1003aefa
mov dword [ebp - 0x18], 1
jmp 0x1003aefe
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0x70]
call fcn.100184a4
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x1003af25
mov eax, 0xd189
test eax, eax
je 0x1003af25
mov dword [ebp - 0x34], 1
jmp 0x1003af29
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
cmp ecx, 0x7f4
jl 0x1003af42
mov dword [ebp - 0xc], 1
jmp 0x1003af46
and dword [ebp - 0xc], 0
push 2
mov ecx, dword [ebp - 0x78]
call fcn.100184a4
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x1003af6e
mov dword [ebp - 0x24], 1
jmp 0x1003af72
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jl 0x1003af85
mov dword [ebp - 0x28], 1
jmp 0x1003af89
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
add eax, 0x652a1fb
cmp eax, 0x1f8626ba
jl 0x1003afa1
mov dword [ebp - 0x80], 1
jmp 0x1003afa5
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0xfffffff9
jle 0x1003afbf
mov eax, 0x47622b46
test eax, eax
jne 0x1003afbf
and dword [ebp - 0x88], 0
jmp 0x1003afc9
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xb1220059
jne 0x1003afe8
mov dword [ebp - 0x14], 1
jmp 0x1003afec
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 1
ja 0x1003b003
mov dword [ebp - 0x38], 1
jmp 0x1003b007
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
je 0x1003b01a
mov dword [ebp - 0x40], 1
jmp 0x1003b01e
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
je 0x1003b034
mov dword [ebp - 0x48], 1
jmp 0x1003b038
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1003b10f
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x1003b0af
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x1003b0ad
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1003b10f
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1003b0f2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x1003b10f
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xd8]
call fcn.100184a4
or dword [eax], 0xffffffff
jmp 0x1003b0e7
mov esp, ebp
pop ebp
ret