Function at 0x100219b0
Capabilities:
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100835a0
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100ac1c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0x38], xmm0
push eax
mov dword [ebp - 0x20], 0x107b2
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
sbb eax, dword [ebp - 0x34]
push 0
push 0x989680
push eax
push ecx
call fcn.10047ae0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0
call fcn.10008540
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.1003a650
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x10021a5e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.10003cf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10005880
push dword [ebp - 0x44]
push 0
push str.test_wait_second
push 0x1008a364
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov ecx, 0x7080
cmovne ecx, eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x34], ecx
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021ae1
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x10021ae1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10021ade
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10021b64
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 5
push str.now_timestamp:
push esi
call fcn.10006d00
add esp, 8
mov ecx, esi
push dword [ebp - 0x30]
call fcn.1001b400
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.10006f00
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021b64
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10021b64
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10021b64
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021bad
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x10021bad
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10021baa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10021c36
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xdc]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 9
push str.wait_second:
push esi
call fcn.10006d00
add esp, 8
mov ecx, esi
push dword [ebp - 0x34]
call fcn.1001b400
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xdc]
call fcn.10006f00
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021c39
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10021c39
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10021c39
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x10021c39
or esi, 0xffffffff
mov eax, dword [ebp - 0x30]
sub eax, dword [0x100ad9dc]
cmp eax, dword [ebp - 0x34]
jbe 0x10021d13
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021c94
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x10021c94
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10021c91
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10021d0c
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xdc]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 0xd
push str.time_interval_reached_8_hour__will_work
push esi
call fcn.10006d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xdc]
call fcn.10006f00
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10021d0c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10021d0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10021d0c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
mov dword [0x100ad9dc], eax
je 0x10021d60
push 1
mov dword [0x100ad9d8], 1
call fcn.100084a0
mov ecx, eax
call fcn.10022bc0
push 0
push 0
push dword [0x100ad9cc]
push 0x1001ed90
push 0
push 0
call fcn.10057c6e
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10021e24
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10021dab
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x10021dab
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10021da8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10021e24
lea eax, [ebp - 0x18]
push eax
call fcn.10024780
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
mov edi, dword [eax]
call fcn.100049d0
mov esi, eax
mov byte [ebp - 4], 0x11
push str.time_interval_no_reached
push esi
call fcn.10006d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
call fcn.10006f00
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10021e24
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10021e24
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10021e24
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021e46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10047acb
mov esp, ebp
pop ebp
ret