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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100891c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x100bc1b4]
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.100536c0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push 1
push eax
mov dword [ebp - 0x34], 0
call fcn.10052020
add esp, 8
mov dword [ebp - 4], 0
push dword [ebp - 0x3c]
push 0
push str.test_wait_second
push 0x1008fd28
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.10033da0
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 0x100305f0
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x100305f0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100305ed
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x10030673
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 3
push str.now_timestamp:
push esi
call fcn.1000a400
add esp, 8
mov ecx, esi
push dword [ebp - 0x28]
call fcn.100280e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.1000a600
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10030673
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10030673
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10030673
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
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 0x100306bc
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x100306bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100306b9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x10030745
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 7
push str.wait_second:
push esi
call fcn.1000a400
add esp, 8
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.100280e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.1000a600
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10030748
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10030748
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10030748
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x10030748
or esi, 0xffffffff
mov eax, dword [ebp - 0x28]
sub eax, dword [0x100bdfc0]
cmp eax, dword [ebp - 0x2c]
jbe 0x10030822
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
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 0x100307a3
mov ecx, esi
lock xadd dword [edi + 4], ecx
jne 0x100307a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100307a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x1003081b
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0xb
push str.time_interval_reached_8_hour__will_work
push esi
call fcn.1000a400
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.1000a600
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1003081b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1003081b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1003081b
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 [0x100bdfc0], eax
je 0x1003086f
push 1
mov dword [0x100bdfbc], 1
call fcn.1001e7c0
mov ecx, eax
call fcn.10031f50
push 0
push 0
push dword [0x100bdfb0]
push 0x1002d250
push 0
push 0
call fcn.10061154
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10030933
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
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 0x100308ba
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x100308ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100308b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x21]
test al, al
je 0x10030933
lea eax, [ebp - 0x18]
push eax
call fcn.10033da0
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
mov edi, dword [eax]
call fcn.10008420
mov esi, eax
mov byte [ebp - 4], 0xf
push str.time_interval_no_reached
push esi
call fcn.1000a400
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.1000a600
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10030933
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10030933
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10030933
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 0x10030955
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.100536aa
mov esp, ebp
pop ebp
ret