Function at 0x42f1d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2fdd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x65ccf8]
mov dword [ebp - 0x24], ebx
cmp eax, dword [ebx + 4]
jle 0x42f23d
push 0x65ccf8
call fcn.00483c2d
add esp, 4
cmp dword [0x65ccf8], 0xffffffff
jne 0x42f23d
push 0x5d7ea0
call fcn.00484084
push 0x65ccf8
call fcn.00483be3
add esp, 8
call fcn.0044f160
test eax, eax
je 0x42f742
call fcn.004227f0
test eax, eax
jne 0x42f742
mov eax, dword [0x65cc38]
cmp eax, dword [ebx + 4]
jle 0x42f2a4
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x42f2a4
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov dword [ebp - 4], 0xffffffff
call fcn.00483be3
add esp, 8
mov ecx, 0x65cc40
call fcn.00412eb0
mov esi, eax
mov ecx, 0x65cc40
lea eax, [ebp - 0x14]
push eax
call fcn.00412f90
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42f303
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42f2fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or edi, 0xffffffff
jmp 0x42f3fa
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x42f756
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push str.update_time
lea ecx, [ebp - 0x10]
call fcn.00411c70
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x42f3ce
cmp dword [esi - 0xc], 0
je 0x42f3ce
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push 0
push esi
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.SHLWAPI.dll_StrToInt64ExW]
add esi, 0xfffffff0
or edi, 0xffffffff
test eax, eax
je 0x42f3d4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, edi
mov byte [ebp - 4], 2
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f38a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42f398
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f3c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
jmp 0x42f42a
add esi, 0xfffffff0
or edi, 0xffffffff
mov eax, edi
mov byte [ebp - 4], 2
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f3ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42f3fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f422
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x54]
call fcn.00416500
mov dword [ebp - 0x44], vtable.cf::time::KTimeSpan.0
mov ecx, dword [eax + 8]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
sbb eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
push 0
push 0x3c
push eax
mov dword [ebp - 4], 4
push ecx
mov dword [ebp - 0x54], vtable.cf::time::KTime.0
call fcn.005cf3c0
mov ecx, dword [0x65cc38]
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebx + 4]
jle 0x42f4af
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x42f4af
mov byte [ebp - 4], 5
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov byte [ebp - 4], 4
call fcn.00483be3
add esp, 8
push ecx
push str.config
mov ecx, 0x65cc40
call fcn.0040d740
test eax, eax
jne 0x42f4cb
lea ebx, [eax + 0x1d]
jmp 0x42f55b
push str.common
mov ecx, 0x65cc40
call fcn.0040dbe0
test eax, eax
jne 0x42f4e3
lea ebx, [eax + 0x1d]
jmp 0x42f55b
push str.update_interval_minute
mov ecx, 0x65cc40
call fcn.0040dbe0
test eax, eax
jne 0x42f4fb
lea ebx, [eax + 0x1d]
jmp 0x42f55b
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x42f756
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x65cc40
call fcn.0040daf0
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
jne 0x42f537
mov ebx, 0x1d
jmp 0x42f540
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov ebx, eax
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov ecx, edi
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42f55b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x20], ebx
jge 0x42f576
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x34]
call fcn.00416500
mov ebx, eax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x24]
mov ecx, dword [0x65cc38]
cmp ecx, dword [esi + 4]
jle 0x42f5cf
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x42f5cf
mov byte [ebp - 4], 8
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov byte [ebp - 4], 7
call fcn.00483be3
add esp, 8
push dword [ebx + 0xc]
mov ecx, 0x65cc40
push dword [ebx + 8]
call fcn.004125b0
mov byte [ebp - 4], 4
call fcn.00451de0
mov dword [ebp - 0x30], 0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x42f756
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xa
mov eax, dword [0x65cc38]
cmp eax, dword [esi + 4]
jle 0x42f65b
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x42f65b
mov byte [ebp - 4], 0xb
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov byte [ebp - 4], 0xa
call fcn.00483be3
add esp, 8
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.004127f0
push 0x639b50
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.0040fa40
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00406a90
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f6aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f6c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.00452880
mov esi, dword [ebp - 0x28]
movzx ebx, al
mov dword [ebp - 0x18], 0
test esi, esi
je 0x42f703
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x18], 0x103
jne 0x42f703
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [ebp - 4], 0xf
test esi, esi
je 0x42f712
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42f72e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3