joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444df1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x444e2e
cmp dword [ebp + 0x14], edi
je 0x444e2e
cmp ecx, edi
jne 0x444e35
call fcn.00441d61
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043c1aa
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x444e49
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x444e6a
cmp ebx, 0xffffffff
je 0x444e59
push ebx
push edi
push ecx
call fcn.0043bdc0
add esp, 0xc
cmp esi, edi
je 0x444e16
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x444e16
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x444e86
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x444e8d
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x444f7e
test word [esi + 0xc], 0x10c
je 0x444ee1
mov eax, dword [esi + 4]
test eax, eax
je 0x444ee1
jl 0x444fdf
cmp ebx, eax
mov edi, ebx
jb 0x444eb2
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x444f86
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043bd41
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x444f76
cmp ebx, dword [ebp - 0xc]
jb 0x444f4e
cmp dword [ebp - 0xc], 0
je 0x444f0b
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x444f00
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x444f07
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x444f16
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x444f16
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x444fb2
push eax
push dword [ebp - 8]
push esi
call fcn.00444b34
pop ecx
push eax
call fcn.00441bd4
add esp, 0xc
test eax, eax
je 0x444ff1
cmp eax, 0xffffffff
je 0x444fdf
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x444f76
push esi
call fcn.0044f1bb
cmp eax, 0xffffffff
pop ecx
je 0x444fe3
cmp dword [ebp - 4], 0
je 0x444fb2
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x444e95
mov eax, dword [ebp + 0x14]
jmp 0x444e30
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x444f9d
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043bdc0
add esp, 0xc
call fcn.00441d61
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x444e26
cmp dword [ebp + 0xc], 0xffffffff
je 0x444fc8
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043bdc0
add esp, 0xc
call fcn.00441d61
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x444e26
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x444e30
or dword [esi + 0xc], 0x10
jmp 0x444fe3
Function at 0x4464cc
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x49db50]
je 0x4464e7
inc edi
cmp edi, 0x17
jb 0x4464d8
cmp edi, 0x17
jae 0x446667
push ebp
push 3
call fcn.00453d04
cmp eax, 1
pop ecx
je 0x446633
push 3
call fcn.00453d04
test eax, eax
pop ecx
jne 0x44651b
cmp dword [0x49d760], 1
je 0x446633
cmp ebx, 0xfc
je 0x446666
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4a14c0
push ebp
call fcn.00449744
add esp, 0xc
test eax, eax
je 0x446551
push esi
push esi
push esi
push esi
push esi
call int.0043c0ae
add esp, 0x14
push 0x104
mov esi, 0x4a14d9
push esi
push 0
mov byte [0x4a15dd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x446595
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00449744
add esp, 0xc
test eax, eax
je 0x446595
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call int.0043c0ae
add esp, 0x14
push esi
call fcn.0043c350
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4465da
push esi
call fcn.0043c350
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4a17d4
push 0x482c3c
sub ecx, eax
push ecx
push eax
call fcn.0044cc70
add esp, 0x14
test eax, eax
je 0x4465da
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call int.0043c0ae
add esp, 0x14
jmp 0x4465dc
xor esi, esi
push 0x482c38
push ebx
push ebp
call fcn.0044cbff
add esp, 0xc
test eax, eax
je 0x4465fc
push esi
push esi
push esi
push esi
push esi
call int.0043c0ae
add esp, 0x14
push dword [edi*8 + 0x49db54]
push ebx
push ebp
call fcn.0044cbff
add esp, 0xc
test eax, eax
je 0x44661e
push esi
push esi
push esi
push esi
push esi
call int.0043c0ae
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00453b47
add esp, 0xc
jmp 0x446666
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x446666
cmp ebp, 0xffffffff
je 0x446666
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x49db54]
push dword [esi]
call fcn.0043c350
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x453b47
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044707c
xor ebx, ebx
cmp dword [0x4a1f08], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x453c1d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x453cfd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x453cfd
push eax
call fcn.0044700e
mov dword [esp], 0x483f30
push edi
mov dword [0x4a1f08], eax
call esi
push eax
call fcn.0044700e
mov dword [esp], 0x483f1c
push edi
mov dword [0x4a1f0c], eax
call esi
push eax
call fcn.0044700e
mov dword [0x4a1f10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043c6fc
test eax, eax
pop ecx
pop ecx
je 0x453beb
push ebx
push ebx
push ebx
push ebx
push ebx
call int.0043c0ae
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x453c1d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044700e
cmp eax, ebx
pop ecx
mov dword [0x4a1f18], eax
je 0x453c1d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044700e
pop ecx
mov dword [0x4a1f14], eax
mov eax, dword [0x4a1f14]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x453ca2
cmp dword [0x4a1f18], ecx
je 0x453ca2
push eax
call fcn.00447085
push dword [0x4a1f18]
mov esi, eax
call fcn.00447085
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x453ca2
cmp edi, ebx
je 0x453ca2
call esi
cmp eax, ebx
je 0x453c6f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x453c6f
test byte [ebp - 0x18], 1
jne 0x453ca2
lea eax, [ebp - 0x10]
push eax
call fcn.0043c733
test eax, eax
pop ecx
je 0x453c8a
push ebx
push ebx
push ebx
push ebx
push ebx
call int.0043c0ae
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x453c99
or dword [ebp + 0x10], 0x200000
jmp 0x453cdd
or dword [ebp + 0x10], 0x40000
jmp 0x453cdd
mov eax, dword [0x4a1f0c]
cmp eax, dword [ebp - 8]
je 0x453cdd
push eax
call fcn.00447085
cmp eax, ebx
pop ecx
je 0x453cdd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x453cdd
mov eax, dword [0x4a1f10]
cmp eax, dword [ebp - 8]
je 0x453cdd
push eax
call fcn.00447085
cmp eax, ebx
pop ecx
je 0x453cdd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a1f08]
call fcn.00447085
cmp eax, ebx
pop ecx
je 0x453cfd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x453cff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45c530
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.00405ca0
mov dword [ebp - 0xc], eax
cmp dword [0x4a2524], 6
jae 0x45c55e
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x45c63b
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c57e
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x45c63b
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45c633
mov dword [ebp - 0x18], 1
lea ecx, [ebp + 8]
call fcn.004039c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45c5c2
mov dword [ebp - 0x20], 0
jmp 0x45c611
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45c5e4
mov dword [ebp - 0x24], 0
jmp 0x45c60b
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446420
mov dword [ebp - 0x28], esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00405c50
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.00401830
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret
Function at 0x45d400
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405ca0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d445
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._UnPinStartMenu__Source_link_not_exists:
push eax
call fcn.00404130
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f040
jmp 0x45d46a
cmp dword [0x4a2524], 6
jb 0x45d46a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
push str.startunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401830
mov esp, ebp
pop ebp
ret

Function at 0x45d480
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405ca0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d4c5
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._PinStartMenu__Source_link_not_exists:
push eax
call fcn.00404130
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f040
jmp 0x45d4ea
cmp dword [0x4a2524], 6
jb 0x45d4ea
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401830
mov esp, ebp
pop ebp
ret

Function at 0x45d780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x28], eax
call fcn.00405ca0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d854
lea eax, [ebp + 8]
push eax
push str._RedirectSource__File_Not_Exists:
lea ecx, [ebp - 0x24]
push ecx
call fcn.00404130
add esp, 0xc
mov ecx, eax
call fcn.004039c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d7dd
mov dword [ebp - 0x2c], 0
jmp 0x45d82c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45d7ff
mov dword [ebp - 0x30], 0
jmp 0x45d826
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446420
mov dword [ebp - 0x34], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00405c50
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call int.0043c1ef
push 0x49479c
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00442d96
lea ecx, [ebp - 0x24]
call fcn.00401830
lea edx, [ebp + 8]
push edx
mov ecx, 0x4a2684
call fcn.004039f0
lea eax, [ebp + 8]
push eax
mov ecx, 0x4a24bc
call fcn.004039f0
lea ecx, [ebp + 8]
call fcn.00401830
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret
Function at 0x45f660
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45f6c4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0
lea ecx, [ebp + 8]
call fcn.00401830
mov eax, dword [ebp - 0x248]
jmp 0x45f777
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45f755
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00403ac0
lea ecx, [ebp - 0x244]
call fcn.00401d20
lea ecx, [ebp + 8]
call fcn.00401d20
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00405df0
add esp, 8
movzx edx, al
test edx, edx
je 0x45f745
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.00401830
lea ecx, [ebp + 8]
call fcn.00401830
mov eax, dword [ebp - 0x24c]
jmp 0x45f777
lea ecx, [ebp - 0x244]
call fcn.00401830
jmp 0x45f6cb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea ecx, [ebp + 8]
call fcn.00401830
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret

Function at 0x460630
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405ca0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460675
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._UnPinTaskBar__Source_link_not_exists:
push eax
call fcn.00404130
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f040
jmp 0x46069a
cmp dword [0x4a2524], 6
jb 0x46069a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401830
mov esp, ebp
pop ebp
ret

Function at 0x4606b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405ca0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4606f5
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push 0x486438
push eax
call fcn.00404130
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f040
jmp 0x46071a
cmp dword [0x4a2524], 6
jb 0x46071a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401830
mov esp, ebp
pop ebp
ret
Function at 0x461b90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ac1b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.00405ca0
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461c9f
lea eax, [ebp + 8]
push eax
push str._RegDLL__Source_file_not_found:
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00404130
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
call fcn.004039c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x461c21
mov dword [ebp - 0x50], 0
jmp 0x461c73
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x461c43
mov dword [ebp - 0x54], 0
jmp 0x461c6d
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.00446420
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00405c50
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call int.0043c1ef
push 0x49479c
lea edx, [ebp - 0x34]
push edx
call fcn.00442d96
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401830
lea ecx, [ebp + 8]
call fcn.004039c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x461d1b
mov byte [ebp - 4], 2
push str.DllRegisterServer
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x461cd6
call dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x461d14
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401830
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret
Function at 0x462c00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x462c54
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x462d10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x462cf4
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00403ac0
lea ecx, [ebp - 0x244]
call fcn.00401d20
lea ecx, [ebp + 8]
call fcn.00401d20
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00405df0
add esp, 8
movzx edx, al
test edx, edx
je 0x462ce4
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x462ce4
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.00401830
jmp 0x462c5b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x462d10
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret
Function at 0x469f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba87
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x49d7b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
push ecx
push 0x4695f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.00404220
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a2634], eax
lea ecx, [ebp - 0x14]
call fcn.00406af0
mov dword [ebp - 4], 0
mov eax, dword [0x4a2634]
push eax
push str.QiyiShellParser::ExecInstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401850
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004036b0
mov dword [ebp - 0x24], eax
mov ecx, 0x4a23f0
call fcn.0046f040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x46e3f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46e443
lea ecx, [ebp - 0x28]
push ecx
call dword [ebp - 4]
jmp 0x46e44d
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x28]
cmp eax, 6
je 0x46e45f
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
jne 0x46e463
mov al, 1
jmp 0x46e465
xor al, al
mov esp, ebp
pop ebp
ret