Function at 0x407c07
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59cb85
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x61e810]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push 0x13
push eax
mov dword [esp + 0x1c], ebx
mov esi, edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebx + 0x974]
xor edi, edi
cmp ecx, edi
je 0x407c83
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x974]
cmp ecx, edi
je 0x407c7d
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov dword [ebx + 0x974], edi
cmp dword [ebp + 8], edi
jne 0x408041
cmp dword [ebp + 0xc], edi
jne 0x408041
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x24]
push 1
push eax
mov edx, 0x5fe23c
mov ecx, esi
mov dword [esp + 0x2f8], edi
call fcn.00446d80
pop ecx
pop ecx
push 7
pop eax
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edi
mov word [esp + 0x64], cx
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], edi
mov word [esp + 0x48], ax
mov byte [esp + 0x2f0], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
cmp eax, edi
jbe 0x407f58
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
call fcn.004469e0
mov esi, 0x5fe240
push esi
call fcn.0048aa3a
pop ecx
mov ecx, dword [esp + 0x10]
push eax
push esi
xor eax, eax
call fcn.0040ab6e
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
je 0x407d9a
push eax
push edi
push dword [esp + 0x18]
lea esi, [esp + 0x8c]
call fcn.0040a121
mov ebx, eax
lea eax, [esp + 0x64]
mov byte [esp + 0x2f0], 3
call fcn.00401560
push 1
xor edi, edi
mov byte [esp + 0x2f4], 2
call fcn.004019e2
lea esi, [esp + 0x64]
call fcn.004469e0
mov esi, str.Version
push esi
call fcn.0048aa3a
pop ecx
mov edi, eax
mov eax, dword [esp + 0x74]
push esi
lea ecx, [esp + 0x68]
call fcn.00402380
test eax, eax
je 0x407db3
mov ebx, dword [esp + 0x14]
xor edi, edi
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 0x1c
cmp eax, dword [esp + 0x1c]
jb 0x407d0a
jmp 0x407dfc
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
inc eax
push eax
push dword [esp + 0x18]
lea esi, [esp + 0x8c]
call fcn.0040a121
mov ebx, eax
lea eax, [esp + 0x48]
mov byte [esp + 0x2f0], 4
call fcn.00401560
push 1
xor edi, edi
mov byte [esp + 0x2f4], 2
call fcn.004019e2
lea esi, [esp + 0x48]
call fcn.004469e0
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x58], edi
je 0x407f58
cmp dword [esp + 0x5c], 8
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
jae 0x407e1d
lea ebx, [esp + 0x48]
lea esi, [esp + 0x34]
call fcn.0040f4e0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xb8]
xor ebx, ebx
push 0x5fd8e0
add edi, 0x740
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004014b3
push 0x5fdbb4
push eax
lea eax, [esp + 0x90]
mov byte [esp + 0x300], 5
call fcn.0040b69d
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0xbc]
mov byte [esp + 0x2f4], 7
call fcn.004019e2
xor eax, eax
push 0x206
mov word [esp + 0xd8], ax
lea eax, [esp + 0xda]
push ebx
push eax
call fcn.0048b3f0
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], 8
jae 0x407eb9
lea eax, [esp + 0x80]
push eax
push 0x104
lea eax, [esp + 0xdc]
push eax
push 0x5fc63c
push str.Version
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ebx, [esp + 0xd4]
lea esi, [esp + 0x1c]
call fcn.0040f4e0
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.00403395
test al, al
je 0x407f3c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
xor ebx, ebx
inc ebx
push ebx
push ebx
call dword [eax + 4]
push ebx
xor edi, edi
lea esi, [esp + 0x84]
call fcn.004019e2
push ebx
lea esi, [esp + 0x4c]
call fcn.004019e2
push ebx
xor edi, edi
lea esi, [esp + 0x68]
call fcn.004019e2
lea esi, [esp + 0x24]
call fcn.0040a257
jmp 0x40804c
push 1
xor edi, edi
lea esi, [esp + 0x84]
mov byte [esp + 0x2f4], 2
call fcn.004019e2
mov ebx, dword [esp + 0x14]
lea eax, [ebx + 0x75c]
cmp dword [eax + 0x14], 8
jb 0x407f66
mov eax, dword [eax]
push dword [ebx + 0x794]
push eax
lea eax, [esp + 0xa4]
push str._s__i___d___d
push eax
call fcn.004466c0
add esp, 0x10
lea esi, [ebx + 0x7bc]
mov byte [esp + 0x2f0], 8
cmp dword [esi + 0x14], 8
jb 0x407f9a
mov eax, dword [esi]
jmp 0x407f9c
mov eax, esi
push eax
call fcn.0040357a
pop ecx
test al, al
je 0x407fd4
mov edi, str.___tgid
push edi
call fcn.0048aa3a
pop ecx
push edi
mov edi, eax
lea eax, [esp + 0xa0]
call fcn.00401664
push 0
push esi
or eax, 0xffffffff
lea esi, [esp + 0xa4]
call fcn.004015c7
cmp dword [esp + 0xb0], 8
mov ecx, dword [esp + 0x9c]
jae 0x407fec
lea ecx, [esp + 0x9c]
lea eax, [ebx + 0x75c]
cmp dword [eax + 0x14], 8
jb 0x407ffa
mov eax, dword [eax]
push ecx
push eax
lea eax, [esp + 0x3c]
call fcn.00449440
pop ecx
pop ecx
push 1
test eax, eax
jne 0x408036
mov esi, ebx
call fcn.0041255d
push 1
xor edi, edi
lea esi, [esp + 0xa0]
call fcn.004019e2
push 1
lea esi, [esp + 0x4c]
call fcn.004019e2
push 1
jmp 0x407f23
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
jmp 0x408014
mov eax, dword [ebx]
push 1
push 1
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret 8