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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7298
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x100d10d4]
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 - 0x38]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x38], 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 - 0x30]
push eax
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0x30], xmm0
push eax
mov dword [ebp - 0x20], 0x107b2
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sbb eax, dword [ebp - 0x2c]
push 0
push 0x989680
push eax
push ecx
call fcn.10061ed0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push 1
push eax
mov dword [ebp - 0x34], 0
call fcn.10060830
add esp, 8
mov dword [ebp - 4], 0
push dword [ebp - 0x3c]
push 0
push str.test_wait_second
push 0x100add08
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 - 0x2c], ecx
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x21], al
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x100387d0
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x100387d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100387cd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x10038853
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 3
push str.now_timestamp:
push esi
call fcn.1000ca10
add esp, 8
mov ecx, esi
push dword [ebp - 0x28]
call fcn.1002f940
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.1000cc10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10038853
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10038853
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10038853
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x21], al
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1003889c
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x1003889c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10038899
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x10038925
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 7
push str.wait_second:
push esi
call fcn.1000ca10
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.1002f940
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.1000cc10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10038928
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10038928
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10038928
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x10038928
or esi, 0xffffffff
mov eax, dword [ebp - 0x28]
sub eax, dword [0x100d3544]
cmp eax, dword [ebp - 0x2c]
jbe 0x10038a02
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x21], al
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10038983
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x10038983
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10038980
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x100389fb
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 0xb
push str.time_interval_reached_8_hour__will_work
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd4]
call fcn.1000cc10
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100389fb
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100389fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100389fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x28]
mov dword [0x100d3544], eax
je 0x10038a4f
push 1
mov dword [0x100d3540], 1
call fcn.10025840
mov ecx, eax
call fcn.1003a210
push 0
push 0
push dword [0x100d3534]
push 0x100354f0
push 0
push 0
call fcn.10076314
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10038b13
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
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 - 0x21], al
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10038a9a
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x10038a9a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10038a97
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x10038b13
lea eax, [ebp - 0x18]
push eax
call fcn.1003c060
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.1000aa80
mov esi, eax
mov byte [ebp - 4], 0xf
push str.time_interval_no_reached
push esi
call fcn.1000ca10
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
call fcn.1000cc10
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10038b13
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10038b13
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10038b13
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10038b35
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.10061eb3
mov esp, ebp
pop ebp
ret