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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083b8c
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100ae254]
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.10051ad0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0
call fcn.10008ad0
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100442c0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1002274e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.10003d20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100058f0
push dword [ebp - 0x44]
push 0
push str.test_wait_second
push 0x1008a498
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.10025520
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 edi, 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100227d1
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x100227d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100227ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10022867
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
mov esi, dword [eax]
push 1
push 2
call fcn.10004050
mov byte [ebp - 4], 6
lea eax, [ebp - 0xdc]
push str.now_timestamp:
push eax
call fcn.10006d70
add esp, 8
lea ecx, [ebp - 0xdc]
push dword [ebp - 0x30]
call fcn.1001b9c0
mov eax, dword [esi]
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.10006f70
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10022867
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10022867
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10022867
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 8
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 0x100228b0
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x100228b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100228ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10022946
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xdc]
mov esi, dword [eax]
push 1
push 2
call fcn.10004050
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xdc]
push str.wait_second:
push eax
call fcn.10006d70
add esp, 8
lea ecx, [ebp - 0xdc]
push dword [ebp - 0x34]
call fcn.1001b9c0
mov eax, dword [esi]
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xdc]
call fcn.10006f70
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10022946
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10022946
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10022946
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
sub eax, dword [0x100af9dc]
cmp eax, dword [ebp - 0x34]
jbe 0x10022a30
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 0xd
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 0x100229a1
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x100229a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1002299e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10022a29
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xdc]
mov esi, dword [eax]
push 1
push 2
call fcn.10004050
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xdc]
push str.time_interval_reached_8_hour__will_work
push eax
call fcn.10006d70
mov eax, dword [esi]
lea ecx, [ebp - 0xdc]
add esp, 8
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xdc]
call fcn.10006f70
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10022a29
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10022a29
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10022a29
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 [0x100af9dc], eax
je 0x10022a7d
push 1
mov dword [0x100af9d8], 1
call fcn.10008a30
mov ecx, eax
call fcn.10023960
push 0
push 0
push dword [0x100af9cc]
push 0x1001f870
push 0
push 0
call fcn.100600a4
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10022b4e
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 0x12
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 0x10022ac6
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x10022ac6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10022ac3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x29]
test al, al
je 0x10022b4e
lea eax, [ebp - 0x18]
push eax
call fcn.10025520
add esp, 4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xdc]
mov esi, dword [eax]
push 1
push 2
call fcn.10004050
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xdc]
push str.time_interval_no_reached
push eax
call fcn.10006d70
mov eax, dword [esi]
lea ecx, [ebp - 0xdc]
add esp, 8
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xdc]
call fcn.10006f70
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10022b4e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10022b4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10022b4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10022b6d
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.10051ab7
mov esp, ebp
pop ebp
ret