Function at 0x401000
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
push 0xb
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
and byte [ebp - 0x25c], al
rep stosd dword es:[edi], eax
push 6
lea edi, [ebp - 0x58]
pop ecx
mov dword [ebp - 0x5c], ebx
rep stosd dword es:[edi], eax
push 0x3f
lea edi, [ebp - 0x25b]
pop ecx
and byte [ebp - 0x15c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x15b]
rep stosd dword es:[edi], eax
push dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
stosw word es:[edi], ax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
stosb byte es:[edi], al
call fcn.00404200
pop ecx
mov ecx, 0xfe
cmp eax, ecx
jle 0x401070
mov eax, ecx
push eax
lea eax, [ebp - 0x15c]
push dword [ebp + 0x10]
push eax
call fcn.00404244
mov eax, str.35840
add esp, 0xc
mov ecx, eax
test ecx, ecx
jne 0x401096
mov dword [0x406970], ebx
jmp 0x4010a2
push eax
call fcn.00404440
pop ecx
mov dword [0x406970], eax
push ebx
call fcn.00403a9f
cmp eax, dword [0x406970]
pop ecx
mov edi, 0x40610c
setg al
test al, al
mov byte [0x406c7a], al
jne 0x4011f0
mov esi, 0x406b74
push 0xff
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, esi
test eax, eax
je 0x4010ea
push esi
call fcn.00404200
pop ecx
lea ecx, [eax - 1]
mov eax, esi
test eax, eax
je 0x401114
mov dl, byte [ecx + 0x406b74]
lea eax, [ecx + 0x406b74]
test dl, dl
je 0x401114
cmp ecx, ebx
jl 0x401114
cmp dl, 0x2e
jne 0x401111
and byte [eax], 0
xor ecx, ecx
dec ecx
jmp 0x4010f3
push str..ini
push esi
call fcn.0040428d
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop ecx
pop ecx
push esi
push 5
push str.toolbar_padding
push edi
call ebx
mov byte [0x406041], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040375d
pop ecx
pop ecx
push esi
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push str.window_x
push edi
call ebx
push esi
push 1
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
push ecx
push str.window_y
push edi
call ebx
push esi
push 0
push str.speed
push edi
mov dword [ebp - 0x10], eax
call ebx
movzx eax, al
push esi
push 8
push str.speed_custom
push edi
mov dword [0x406008], eax
call ebx
push esi
push 0
push str.topmost
push edi
mov byte [0x406040], al
call ebx
neg eax
sbb eax, eax
push esi
push 0
and eax, 0x40000
push str.record_key
push edi
mov dword [0x406964], eax
call ebx
mov byte [0x406c78], al
push esi
push 0
push str.play_key
push edi
call ebx
mov byte [0x406c79], al
xor ebx, ebx
push 0x30
lea eax, [ebp - 0x40]
pop esi
push esi
push ebx
push eax
call fcn.004040f3
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
push 0xfa1
push eax
mov dword [ebp - 0x38], 0x401437
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
mov esi, str.TinyTaskClass
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x401261
push 0x12030
push edi
push str.Startup_Failure:_RegisterClass
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40139c
cmp dword [ebp - 4], 0xe0
jle 0x401271
mov eax, 0x20000
jmp 0x401273
xor eax, eax
push ebx
or eax, 0x86c80000
push dword [ebp + 8]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push eax
mov eax, dword [0x406964]
neg eax
sbb eax, eax
push edi
and eax, 8
push esi
or eax, 0x40000
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [0x406940], eax
jne 0x4012bb
push 0x12030
push edi
push str.Startup_Failure:_CreateWindow
jmp 0x401255
mov cl, byte [0x406c7a]
neg cl
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x406940]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 0x10], ebx
je 0x40135f
cmp byte [ebp - 0x15c], 0
je 0x40135f
lea eax, [ebp - 0x15c]
xor esi, esi
test eax, eax
je 0x40130a
lea eax, [ebp - 0x15c]
push eax
call fcn.00404200
pop ecx
mov edi, eax
jmp 0x40130c
xor edi, edi
lea eax, [ebp - 0x15c]
test eax, eax
je 0x401345
mov cl, byte [ebp + esi - 0x15c]
lea eax, [ebp + esi - 0x15c]
test cl, cl
je 0x401345
cmp cl, 0x22
jne 0x401342
mov ecx, edi
sub ecx, esi
push ecx
lea ecx, [eax + 1]
push ecx
push eax
call fcn.004041c2
add esp, 0xc
dec edi
jmp 0x401316
inc esi
jmp 0x401316
lea eax, [ebp - 0x15c]
push ebx
push eax
call fcn.00402dbe
test eax, eax
je 0x4013f8
jmp 0x4013e1
cmp byte [0x406c7a], 0
je 0x4013f8
lea eax, [ebp - 0x25c]
push 0xff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [0x406970]
lea eax, [ebp - 0x25c]
push eax
call fcn.00402dbe
test eax, eax
jne 0x4013a3
xor eax, eax
jmp 0x401430
mov eax, str.00000
mov ecx, eax
test ecx, ecx
jne 0x4013b6
and byte [0x406c76], al
jmp 0x4013c2
push eax
call fcn.00404440
pop ecx
mov byte [0x406c76], al
mov eax, str.00001
mov ecx, eax
test ecx, ecx
jne 0x4013d5
mov dword [0x40600c], ebx
jmp 0x4013e1
push eax
call fcn.00404440
pop ecx
mov dword [0x40600c], eax
push ebx
push 0x8003
push 0x111
push dword [0x406940]
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call esi
cmp eax, ebx
je 0x40142d
cmp eax, 0xffffffff
je 0x40142d
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
jmp 0x401405
mov eax, dword [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret 0x10