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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e686
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.1003fe30
test al, al
je 0x100079a9
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 0x100079a9
call fcn.10048470
test al, al
je 0x1000719d
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.sgephook.dll
call esi
test eax, eax
jne 0x1000700d
push str.sgephook_signed.dll
call esi
test eax, eax
jne 0x1000700d
push 0x10098538
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0xb34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x100079a9
mov edi, dword [ebp - 0xb34]
test edi, edi
je 0x10007071
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007020
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x10007071
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.1004f430
mov esi, esp
test esi, esi
je 0x1000706c
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 0x10007073
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 0x10007097
xor ecx, ecx
jmp 0x100070a9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100070a0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa30]
call fcn.10002340
push 1
push 0xffffffffffffffff
push 0x10098534
lea ecx, [ebp - 0xa30]
mov dword [ebp - 4], 0
call fcn.100253e0
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.1002add0
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 0x1000711b
mov eax, dword [ecx]
jmp 0x1000711d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.10002210
mov byte [ebp - 4], 0
call fcn.1004c530
mov eax, dword [ebp - 0xa1c]
add esp, 0x30
cmp eax, 0x10
jb 0x1000718c
mov ecx, dword [ebp - 0xa30]
inc eax
cmp eax, 0x1000
jb 0x10007183
test cl, 0x1f
je 0x1000715f
call fcn.1006fbb9
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000716b
call fcn.1006fbb9
sub ecx, eax
cmp ecx, 4
jae 0x10007177
call fcn.1006fbb9
cmp ecx, 0x23
jbe 0x10007181
call fcn.1006fbb9
mov ecx, eax
push ecx
call fcn.1004ebb6
add esp, 4
push dword [ebp - 0xb34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x100079a9
mov edi, dword [ebp - 0xb34]
test edi, edi
je 0x100071f7
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100071b0
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x100071f7
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.1004f430
mov esi, esp
test esi, esi
je 0x100071f7
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 0x100071f9
xor esi, esi
lea eax, [ebp - 0xa7c]
push esi
push eax
call fcn.1001b810
push 0x9c
lea eax, [ebp - 0xb30]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.10064410
add esp, 0x14
lea ecx, [ebp - 0xb30]
push str.Download_Cookie_is__s
call fcn.10011bb0
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.1002a7d0
push eax
mov dword [ebp - 0xa1c], 0x1000b140
call fcn.1000c060
add esp, 8
lea eax, [ebp - 0xa60]
lea ecx, [ebp - 0xb30]
push eax
call fcn.1002a860
cmp dword [eax + 0x14], 0x10
jb 0x100072a1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xa4c]
cmp eax, 0x10
jb 0x100072f8
mov ecx, dword [ebp - 0xa60]
inc eax
cmp eax, 0x1000
jb 0x100072ef
test cl, 0x1f
je 0x100072cb
call fcn.1006fbb9
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100072d7
call fcn.1006fbb9
sub ecx, eax
cmp ecx, 4
jae 0x100072e3
call fcn.1006fbb9
cmp ecx, 0x23
jbe 0x100072ed
call fcn.1006fbb9
mov ecx, eax
push ecx
call fcn.1004ebb6
add esp, 4
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.10064410
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10064410
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 0x100073e9
push str._sDownloader.exe
lea ecx, [ebp - 0xbd8]
call fcn.10011d10
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.1002a7d0
mov dword [ebp - 0xa1c], 0x1000b160
call fcn.1000c0d0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010930
add esp, 0x10
lea ecx, [ebp - 0xbd8]
mov byte [ebp - 4], 6
call fcn.100168b0
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.1004c220
mov eax, dword [ebp - 0xa4c]
add esp, 0xc
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x10007402
inc eax
lea ecx, [ebp - 0xa60]
push eax
push dword [ebp - 0xa60]
call fcn.10023310
jmp 0x10007402
push str.C:UserschenhaoDesktopDownloader.exe
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.1004c220
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.10046d60
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 0x10007497
push 0x100985f0
lea ecx, [ebp - 0xbd8]
call fcn.10011d10
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.1002a7d0
mov dword [ebp - 0xa1c], 0x1000b190
call fcn.1000c0d0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010930
add esp, 0x10
mov esi, eax
jmp 0x10007586
cmp dword [ebp - 0xa68], 0x10
lea edi, [ebp - 0xa7c]
cmovae edi, dword [ebp - 0xa7c]
test edi, edi
jne 0x100074b7
mov dword [ebp - 0xb3c], edi
jmp 0x10007506
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100074c0
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x100074fe
lea eax, [ebx + ebx]
call fcn.1004f430
mov esi, esp
test esi, esi
je 0x100074fe
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 0x10007500
xor esi, esi
mov dword [ebp - 0xb3c], esi
push str._s__s
lea ecx, [ebp - 0xbd8]
call fcn.10011d10
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.1002a7d0
mov dword [ebp - 0xa1c], 0x1000b190
call fcn.1000c0d0
lea ecx, [ebp - 0xb3c]
mov dword [ebp - 0xa20], fcn.1002a7d0
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1000b190
call fcn.1000c0d0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010930
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0xa48]
cmp eax, esi
je 0x100075d3
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x100075ae
inc eax
lea ecx, [ebp - 0xa48]
push eax
push dword [ebp - 0xa48]
call fcn.10023310
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.1001db50
mov eax, dword [ebp - 0xa4c]
cmp eax, 8
jb 0x100075f1
inc eax
lea ecx, [ebp - 0xa60]
push eax
push dword [ebp - 0xa60]
call fcn.10023310
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.100168b0
cmp dword [ebp - 0xa34], 8
lea edi, [ebp - 0xa48]
cmovae edi, dword [ebp - 0xa48]
test edi, edi
je 0x1000767d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007636
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x1000767d
lea ebx, [ecx + ecx]
mov eax, ebx
call fcn.1004f430
mov esi, esp
test esi, esi
je 0x1000767d
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 0x1000767f
xor esi, esi
mov dword [ebp - 0xa1c], 0xf
mov dword [ebp - 0xa20], 0
mov byte [ebp - 0xa30], 0
cmp byte [esi], 0
jne 0x100076a3
xor ecx, ecx
jmp 0x100076b1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100076a8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa30]
call fcn.10002340
lea eax, [ebp - 0xa30]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xa61]
call fcn.10002a80
mov eax, dword [ebp - 0xa1c]
mov byte [ebp - 4], 0xe
cmp eax, 0x10
jb 0x100076fd
inc eax
lea ecx, [ebp - 0xa30]
push eax
push dword [ebp - 0xa30]
call fcn.10002440
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 0x10007773
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007735
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x10007773
lea eax, [ebx + ebx]
call fcn.1004f430
mov esi, esp
test esi, esi
je 0x10007773
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 0x10007775
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.10011d10
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.1002a7d0
mov dword [ebp - 0xa1c], 0x1000b160
call fcn.1000c0d0
lea ecx, [ebp - 0xb34]
mov dword [ebp - 0xa20], fcn.1002a7d0
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1000b190
call fcn.1000c0d0
lea ecx, [ebp - 0xb38]
mov dword [ebp - 0xa20], fcn.1002a7d0
mov dword [ebp - 0xa24], ecx
lea ecx, [ebp - 0xa24]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1000b170
call fcn.1000c0d0
push eax
lea eax, [ebp - 0xa60]
push eax
call fcn.10010930
add esp, 0x20
mov esi, eax
lea eax, [ebp - 0xa48]
cmp eax, esi
je 0x1000789f
mov eax, dword [ebp - 0xa34]
cmp eax, 8
jb 0x10007876
inc eax
lea ecx, [ebp - 0xa48]
push eax
push dword [ebp - 0xa48]
call fcn.10023310
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.1001db50
mov eax, dword [ebp - 0xa4c]
cmp eax, 8
jb 0x100078bd
inc eax
lea ecx, [ebp - 0xa60]
push eax
push dword [ebp - 0xa60]
call fcn.10023310
xor eax, eax
mov dword [ebp - 0xa4c], 7
lea ecx, [ebp - 0xbd8]
mov dword [ebp - 0xa50], 0
mov word [ebp - 0xa60], ax
call fcn.100168b0
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 0x1000792a
inc eax
lea ecx, [ebp - 0xa94]
push eax
push dword [ebp - 0xa94]
call fcn.10002440
mov eax, dword [ebp - 0xa34]
mov dword [ebp - 0xa80], 0xf
mov dword [ebp - 0xa84], 0
mov byte [ebp - 0xa94], 0
cmp eax, 8
jb 0x10007963
inc eax
lea ecx, [ebp - 0xa48]
push eax
push dword [ebp - 0xa48]
call fcn.10023310
xor eax, eax
mov dword [ebp - 0xa34], 7
lea ecx, [ebp - 0xb30]
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
call fcn.10016790
mov ecx, dword [ebp - 0xa68]
cmp ecx, 0x10
jb 0x100079a9
inc ecx
push ecx
push dword [ebp - 0xa7c]
lea ecx, [ebp - 0xa7c]
call fcn.10002440
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.1004ebbb
mov esp, ebp
pop ebp
ret 0x24