Function at 0x100209d0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6932
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edx, dword [0x10108750]
mov edi, dword [ebp + 8]
add edx, edi
cmp eax, edx
jbe 0x10021356
call esi
mov dword [0x10108750], eax
lea eax, [ebp - 0x58]
push eax
call fcn.10047850
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10020bd9
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020b26
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10007b10
mov byte [ebp - 4], 5
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0xfa
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100042c0
mov esi, eax
push str.ghp_not_exist__path:
push esi
mov byte [ebp - 4], 6
call fcn.100053b0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x100d2be4
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.100031d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.100054e0
lea ecx, [ebp - 0x70]
call fcn.10004d30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10004d30
xor eax, eax
mov dword [ebp - 0x30], 0
push eax
push 0x100d1904
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10014220
push 6
xor eax, eax
mov byte [ebp - 4], 7
push str.no_ghp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.10014220
push 3
xor eax, eax
mov byte [ebp - 4], 8
push 0x100d686c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10014220
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001e660
mov ecx, eax
call fcn.10042fa0
lea ecx, [ebp - 0x28]
call fcn.10004d80
lea ecx, [ebp - 0x70]
call fcn.10004d80
lea ecx, [ebp - 0x40]
call fcn.10004d80
lea ecx, [ebp - 0x58]
call fcn.10004d80
jmp 0x10021435
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.10072000
add esp, 4
test eax, eax
jne 0x10020d47
call fcn.100537a0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020ccc
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d658c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 0xb
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x100
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100042c0
mov esi, eax
push str.SignCheck_error.
push esi
mov byte [ebp - 4], 0xc
call fcn.100053b0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x100d2be4
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.100031d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.100054e0
lea ecx, [ebp - 0x40]
call fcn.10004d30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.10004d30
push 0x100d1904
lea ecx, [ebp - 0x28]
call fcn.1001e010
push str.no_ghp_sign
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.1001e010
push 0x100d686c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.1001e010
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001e660
mov ecx, eax
call fcn.10042fa0
lea ecx, [ebp - 0x88]
call fcn.10004d80
lea ecx, [ebp - 0x40]
call fcn.10004d80
lea ecx, [ebp - 0x28]
call fcn.10004d80
lea ecx, [ebp - 0x58]
call fcn.10004d80
jmp 0x10021435
push str._DownLoad
lea ecx, [ebp - 0x8c]
call fcn.10003d70
mov byte [ebp - 4], 0x10
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020e32
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 0x12
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x106
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100042c0
mov esi, eax
push str.guardhp_path:
push esi
mov byte [ebp - 4], 0x13
call fcn.100053b0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x100d2be4
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.100031d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.100054e0
lea ecx, [ebp - 0x40]
call fcn.10004d30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.10004d30
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x8c]
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xd0], 0x3c
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xcc], 0x440
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020f5f
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 0x15
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x10e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100042c0
mov esi, eax
push str.RunDownLoadFile_start
push esi
mov byte [ebp - 4], 0x16
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.100054e0
lea ecx, [ebp - 0x40]
call fcn.10004d30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.10004d30
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100211fe
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x28]
push 0xea60
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x98]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x100210fc
cmp esi, 1
je 0x100210fc
cmp esi, 0x102
jne 0x10021270
push 0x100d1904
lea ecx, [ebp - 0x28]
call fcn.1001e010
push str.ghp_timeout
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
call fcn.1001e010
push 0x100d686c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1e
call fcn.1001e010
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001e660
mov ecx, eax
call fcn.10042fa0
lea ecx, [ebp - 0x88]
call fcn.10004d80
lea ecx, [ebp - 0x40]
call fcn.10004d80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.10004d80
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021270
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 0x21
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x11b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100042c0
mov esi, eax
push str.RunDownLoadFile_timeout.
push esi
mov byte [ebp - 4], 0x22
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.100054e0
lea ecx, [ebp - 0x40]
call fcn.10004d30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.10004d30
jmp 0x10021270
push 0x100d1904
lea ecx, [ebp - 0x28]
call fcn.1001e010
push str.ghp_succ
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.1001e010
push 0x100d686c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
call fcn.1001e010
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001e660
mov ecx, eax
call fcn.10042fa0
lea ecx, [ebp - 0x88]
call fcn.10004d80
lea ecx, [ebp - 0x40]
call fcn.10004d80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.10004d80
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021327
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 0x1b
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x116
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100042c0
mov esi, eax
mov byte [ebp - 4], 0x1c
push str.RunDownLoadFile_success_end
jmp 0x100212fb
push 0x100d1904
lea ecx, [ebp - 0x28]
call fcn.1001e010
push str.ghp_fail
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x23
call fcn.1001e010
push 0x100d686c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x24
call fcn.1001e010
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1001e660
mov ecx, eax
call fcn.10042fa0
lea ecx, [ebp - 0x88]
call fcn.10004d80
lea ecx, [ebp - 0x40]
call fcn.10004d80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.10004d80
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021327
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 0x27
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x120
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100042c0
mov esi, eax
mov byte [ebp - 4], 0x28
push str.RunDownLoadFile_end
push esi
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.100054e0
lea ecx, [ebp - 0x40]
call fcn.10004d30
lea ecx, [ebp - 0x28]
call fcn.10004d30
mov edx, dword [ebp - 0x8c]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021349
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x58]
call fcn.10004d80
jmp 0x10021435
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021435
call esi
mov ebx, dword [0x10108750]
lea ecx, [ebp - 0x88]
push 0x5a
add ebx, edi
mov dword [ebp - 0x78], 0
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
sub ebx, eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10007b10
mov byte [ebp - 4], 1
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x200]
push 0xf5
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100042c0
mov esi, eax
push str.wait
push esi
mov byte [ebp - 4], 2
call fcn.100053b0
add esp, 8
mov ecx, esi
push ebx
call fcn.1000f3e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x200]
call fcn.100054e0
lea ecx, [ebp - 0x70]
call fcn.10004d30
lea ecx, [ebp - 0x88]
call fcn.10004d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret 4