Function at 0x10006f20
Capabilities:
Create process on windows
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e586
mov eax, dword fs:[0]
push eax
sub esp, 0xbcc
mov eax, dword [0x100bb0a0]
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 esi, dword [ebp + 0xc]
mov ebx, 0x80004001
mov edi, dword [ebp + 0x10]
call fcn.1003fcd0
test al, al
je 0x10007969
mov eax, dword [esi]
lea ecx, [ebp - 0xb34]
push ecx
push 0
push edi
push esi
mov dword [ebp - 0xb34], 0
call dword [eax + 0x50]
test eax, eax
jne 0x10007969
call fcn.10048390
test al, al
je 0x1000715d
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sgephook.dll
call esi
test eax, eax
jne 0x10006fcd
push str.sgephook_signed.dll
call esi
test eax, eax
jne 0x10006fcd
push 0x10098538
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0xb34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10007969
mov edi, dword [ebp - 0xb34]
test edi, edi
je 0x10007031
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006fe0
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x10007031
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.1004f3e0
mov esi, esp
test esi, esi
je 0x1000702c
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
mov ebx, 0x80004001
test eax, eax
cmove esi, ecx
jmp 0x10007033
mov ebx, 0x80004001
xor esi, esi
mov dword [ebp - 0xa1c], 0xf
mov dword [ebp - 0xa20], 0
mov byte [ebp - 0xa30], 0
cmp byte [esi], 0
jne 0x10007057
xor ecx, ecx
jmp 0x10007069
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007060
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa30]
call fcn.100023a0
push 1
push 0xffffffffffffffff
push 0x10098534
lea ecx, [ebp - 0xa30]
mov dword [ebp - 4], 0
call fcn.10024fb0
sub esp, 0x18
inc eax
mov ecx, esp
mov dword [ebp - 0xb38], esp
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0xa30]
call fcn.1002a970
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x100070db
mov eax, dword [ecx]
jmp 0x100070dd
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.10002270
mov byte [ebp - 4], 0
call fcn.1004c460
mov eax, dword [ebp - 0xa1c]
add esp, 0x30
cmp eax, 0x10
jb 0x1000714c
mov ecx, dword [ebp - 0xa30]
inc eax
cmp eax, 0x1000
jb 0x10007143
test cl, 0x1f
je 0x1000711f
call fcn.1006fbaa
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000712b
call fcn.1006fbaa
sub ecx, eax
cmp ecx, 4
jae 0x10007137
call fcn.1006fbaa
cmp ecx, 0x23
jbe 0x10007141
call fcn.1006fbaa
mov ecx, eax
push ecx
call fcn.1004eb86
add esp, 4
push dword [ebp - 0xb34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10007969
mov edi, dword [ebp - 0xb34]
test edi, edi
je 0x100071b7
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007170
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x100071b7
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.1004f3e0
mov esi, esp
test esi, esi
je 0x100071b7
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x100071b9
xor esi, esi
lea eax, [ebp - 0xa7c]
push esi
push eax
call fcn.1001b3f0
push 0x9c
lea eax, [ebp - 0xb30]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.100643b0
add esp, 0x14
lea ecx, [ebp - 0xb30]
push str.Download_Cookie_is__s
call fcn.100118d0
cmp dword [ebp - 0xa68], 0x10
lea eax, [ebp - 0xa7c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0xa7c]
mov dword [ebp - 0xb3c], eax
lea eax, [ebp - 0xb3c]
mov dword [ebp - 0xa24], eax
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0xb30]
mov dword [ebp - 0xa20], fcn.10020d00
push eax
mov dword [ebp - 0xa1c], 0x1000ae60
call fcn.1000bd80
add esp, 8
lea eax, [ebp - 0xa60]
lea ecx, [ebp - 0xb30]
push eax
call fcn.1002a400
cmp dword [eax + 0x14], 0x10
jb 0x10007261
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xa4c]
cmp eax, 0x10
jb 0x100072b8
mov ecx, dword [ebp - 0xa60]
inc eax
cmp eax, 0x1000
jb 0x100072af
test cl, 0x1f
je 0x1000728b
call fcn.1006fbaa
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10007297
call fcn.1006fbaa
sub ecx, eax
cmp ecx, 4
jae 0x100072a3
call fcn.1006fbaa
cmp ecx, 0x23
jbe 0x100072ad
call fcn.1006fbaa
mov ecx, eax
push ecx
call fcn.1004eb86
add esp, 4
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.100643b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100643b0
add esp, 0x18
lea eax, [ebp - 0x218]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100073a9
push str._sDownloader.exe
lea ecx, [ebp - 0xbd8]
call fcn.10011a30
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 4
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa1c], 0x1000ae80
call fcn.1000bdf0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010650
add esp, 0x10
lea ecx, [ebp - 0xbd8]
mov byte [ebp - 4], 6
call fcn.10016660
cmp dword [ebp - 0xa4c], 8
lea eax, [ebp - 0xa60]
cmovae eax, dword [ebp - 0xa60]
push eax
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.1004c150
mov eax, dword [ebp - 0xa4c]
add esp, 0xc
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x100073c2
inc eax
lea ecx, [ebp - 0xa60]
push eax
push dword [ebp - 0xa60]
call fcn.10022f70
jmp 0x100073c2
push str.C:UserschenhaoDesktopDownloader.exe
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.1004c150
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.10046c80
xor eax, eax
mov dword [ebp - 0xa34], 7
add esp, 8
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa6c], eax
jne 0x10007457
push 0x100985f0
lea ecx, [ebp - 0xbd8]
call fcn.10011a30
lea ecx, [ebp - 0xb34]
mov byte [ebp - 4], 8
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa1c], 0x1000aeb0
call fcn.1000bdf0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010650
add esp, 0x10
mov esi, eax
jmp 0x10007546
cmp dword [ebp - 0xa68], 0x10
lea edi, [ebp - 0xa7c]
cmovae edi, dword [ebp - 0xa7c]
test edi, edi
jne 0x10007477
mov dword [ebp - 0xb3c], edi
jmp 0x100074c6
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007480
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x100074be
lea eax, [ebx + ebx]
call fcn.1004f3e0
mov esi, esp
test esi, esi
je 0x100074be
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x100074c0
xor esi, esi
mov dword [ebp - 0xb3c], esi
push str._s__s
lea ecx, [ebp - 0xbd8]
call fcn.10011a30
lea ecx, [ebp - 0xb34]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa1c], 0x1000aeb0
call fcn.1000bdf0
lea ecx, [ebp - 0xb3c]
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1000aeb0
call fcn.1000bdf0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010650
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0xa48]
cmp eax, esi
je 0x10007593
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x1000756e
inc eax
lea ecx, [ebp - 0xa48]
push eax
push dword [ebp - 0xa48]
call fcn.10022f70
xor eax, eax
mov dword [ebp - 0xa34], 7
push esi
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa38], eax
mov word [ebp - 0xa48], ax
call fcn.1001d720
mov eax, dword [ebp - 0xa4c]
cmp eax, 8
jb 0x100075b1
inc eax
lea ecx, [ebp - 0xa60]
push eax
push dword [ebp - 0xa60]
call fcn.10022f70
xor eax, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbd8]
mov dword [ebp - 0xa4c], 7
mov dword [ebp - 0xa50], eax
mov word [ebp - 0xa60], ax
call fcn.10016660
cmp dword [ebp - 0xa34], 8
lea edi, [ebp - 0xa48]
cmovae edi, dword [ebp - 0xa48]
test edi, edi
je 0x1000763d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100075f6
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x1000763d
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.1004f3e0
mov esi, esp
test esi, esi
je 0x1000763d
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x1000763f
xor esi, esi
mov dword [ebp - 0xa1c], 0xf
mov dword [ebp - 0xa20], 0
mov byte [ebp - 0xa30], 0
cmp byte [esi], 0
jne 0x10007663
xor ecx, ecx
jmp 0x10007671
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007668
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa30]
call fcn.100023a0
lea eax, [ebp - 0xa30]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xa61]
call fcn.10002ae0
mov eax, dword [ebp - 0xa1c]
mov byte [ebp - 4], 0xe
cmp eax, 0x10
jb 0x100076bd
inc eax
lea ecx, [ebp - 0xa30]
push eax
push dword [ebp - 0xa30]
call fcn.100024a0
cmp dword [ebp - 0xa80], 0x10
lea edi, [ebp - 0xa94]
mov dword [ebp - 0xa1c], 0xf
cmovae edi, dword [ebp - 0xa94]
mov dword [ebp - 0xa20], 0
mov byte [ebp - 0xa30], 0
test edi, edi
je 0x10007733
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100076f5
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x10007733
lea eax, [ebx + ebx]
call fcn.1004f3e0
mov esi, esp
test esi, esi
je 0x10007733
push ebx
push esi
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x10007735
xor esi, esi
push 1
push 0
push esi
lea eax, [ebp - 0xa18]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
mov dword [ebp - 0xb38], eax
cmp eax, 0x20
mov ebx, 0x80004001
push str.Download_notify:_DownloadPath_is__s__url_is__s__ShellExecute_HINSTANCE_is_0x_x
cmovg ebx, ecx
lea ecx, [ebp - 0xbd8]
call fcn.10011a30
lea ecx, [ebp - 0xa18]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa1c], 0x1000ae80
call fcn.1000bdf0
lea ecx, [ebp - 0xb34]
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1000aeb0
call fcn.1000bdf0
lea ecx, [ebp - 0xb38]
mov dword [ebp - 0xa20], fcn.10020d00
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1000ae90
call fcn.1000bdf0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010650
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0xa48]
cmp eax, esi
je 0x1000785f
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x10007836
inc eax
lea ecx, [ebp - 0xa48]
push eax
push dword [ebp - 0xa48]
call fcn.10022f70
xor eax, eax
mov dword [ebp - 0xa34], 7
push esi
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
call fcn.1001d720
mov eax, dword [ebp - 0xa4c]
cmp eax, 8
jb 0x1000787d
inc eax
lea ecx, [ebp - 0xa60]
push eax
push dword [ebp - 0xa60]
call fcn.10022f70
xor eax, eax
mov dword [ebp - 0xa4c], 7
lea ecx, [ebp - 0xbd8]
mov dword [ebp - 0xa50], 0
mov word [ebp - 0xa60], ax
call fcn.10016660
cmp dword [ebp - 0xa34], 8
lea eax, [ebp - 0xa48]
cmovae eax, dword [ebp - 0xa48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0xb34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0xa80]
cmp eax, 0x10
jb 0x100078ea
inc eax
lea ecx, [ebp - 0xa94]
push eax
push dword [ebp - 0xa94]
call fcn.100024a0
mov eax, dword [ebp - 0xa34]
mov dword [ebp - 0xa80], 0xf
mov dword [ebp - 0xa84], 0
mov byte [ebp - 0xa94], 0
cmp eax, 8
jb 0x10007923
inc eax
lea ecx, [ebp - 0xa48]
push eax
push dword [ebp - 0xa48]
call fcn.10022f70
xor eax, eax
mov dword [ebp - 0xa34], 7
lea ecx, [ebp - 0xb30]
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
call fcn.10016540
mov ecx, dword [ebp - 0xa68]
cmp ecx, 0x10
jb 0x10007969
inc ecx
push ecx
push dword [ebp - 0xa7c]
lea ecx, [ebp - 0xa7c]
call fcn.100024a0
mov eax, ebx
lea esp, [ebp - 0xbe8]
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.1004eb8b
mov esp, ebp
pop ebp
ret 0x24