joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aeb10
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4aeb39
and eax, 0xffffffdf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4aeb39
mov eax, 1
pop esi
ret 4
push esi
push 0x4bf
call fcn.00466160
push eax
mov eax, dword [0x513954]
push eax
call fcn.00498e30
add esp, 0xc
xor eax, eax
pop esi
ret 4

Function at 0x4af00b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d8620]
jne 0x4af015
repz ret
jmp fcn.004b4efc

Function at 0x4be6e0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004b7bbb
and dword [ebp - 4], 0
cmp dword [0x572dc8], 0
mov ebx, eax
jne 0x4be791
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4be842
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4be842
push eax
call fcn.004b7b49
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x572dc8], eax
call esi
push eax
call fcn.004b7b49
mov dword [esp], 0x4cec98
push edi
mov dword [0x572dcc], eax
call esi
push eax
call fcn.004b7b49
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x572dd0], eax
call esi
push eax
call fcn.004b7b49
pop ecx
mov dword [0x572dd8], eax
test eax, eax
je 0x4be791
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b7b49
pop ecx
mov dword [0x572dd4], eax
mov eax, dword [0x572dd4]
cmp eax, ebx
je 0x4be7e9
cmp dword [0x572dd8], ebx
je 0x4be7e9
push eax
call fcn.004b7bc4
push dword [0x572dd8]
mov esi, eax
call fcn.004b7bc4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4be7e9
test edi, edi
je 0x4be7e9
call esi
test eax, eax
je 0x4be7e0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4be7e0
test byte [ebp - 0xc], 1
jne 0x4be7e9
or dword [ebp + 0x10], 0x200000
jmp 0x4be822
mov eax, dword [0x572dcc]
cmp eax, ebx
je 0x4be822
push eax
call fcn.004b7bc4
pop ecx
test eax, eax
je 0x4be822
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4be822
mov eax, dword [0x572dd0]
cmp eax, ebx
je 0x4be822
push eax
call fcn.004b7bc4
pop ecx
test eax, eax
je 0x4be822
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x572dc8]
call fcn.004b7bc4
pop ecx
test eax, eax
je 0x4be842
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4be844
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401190
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
call fcn.00439c9c
xor ebx, ebx
mov esi, 0x69256c
call fcn.0045e958
and al, 0xff
inc ebx
mov byte [esi], al
inc esi
cmp ebx, 0xeed
jl 0x4011a5
mov dword [ebp - 8], 0x468622
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edx, eax
mov esi, 0x465104
mov al, byte [edx]
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
and eax, 0xff
mov al, byte [eax + 0x468422]
mov ecx, dword [ebp - 8]
add al, byte [ecx]
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x69256c], al
inc ebx
inc dword [ebp - 8]
add esi, 4
inc edx
cmp ebx, 0x64
jl 0x4011cb
xor eax, eax
mov edx, dword [0x465294]
xor ebx, ebx
mov esi, 0x69256c
cmp edx, ebx
je 0x40120d
add al, byte [esi]
inc ebx
inc esi
cmp ebx, 0xeed
jl 0x401207
and eax, 0xff
mov al, byte [eax + 0x468422]
mov byte [edx + 0x69256c], al
push 0x468686
mov edx, dword [ebp + 8]
push edx
call fcn.00458c50
add esp, 8
mov esi, eax
xor ebx, ebx
mov edi, 0x69256c
push esi
xor eax, eax
mov al, byte [edi]
push eax
call fcn.0045b67c
add esp, 8
inc ebx
inc edi
cmp ebx, 0xeed
jl 0x401242
call fcn.0045e958
mov ecx, 0x3e8
cdq
idiv ecx
mov edi, edx
xor ebx, ebx
cmp edi, ebx
jle 0x401288
push esi
call fcn.0045e958
and eax, 0xff
push eax
call fcn.0045b67c
add esp, 8
inc ebx
cmp edi, ebx
jg 0x40126f
push esi
call fcn.004587c0
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x401534
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, 0x6deb14
cmp byte [0x466515], 0
jne 0x40164a
call fcn.004102c8
push eax
push ebx
call fcn.0045695c
add esp, 8
push str.localdir
call fcn.004172c0
pop ecx
test al, al
jne 0x401608
push 0x69a2d0
push str.AppDir
call fcn.00417374
add esp, 8
test al, al
je 0x401595
push 0x69a2d0
push ebx
call fcn.0045695c
add esp, 8
jmp 0x401636
push str.APPDATA
call fcn.004609b4
pop ecx
test eax, eax
je 0x401636
push str.APPDATA
call fcn.004609b4
pop ecx
push eax
push ebx
call fcn.0045695c
add esp, 8
push 0x2f
push 0x5c
push ebx
call fcn.00443a08
add esp, 0xc
push 0x4684fa
push ebx
call fcn.00456880
add esp, 8
push str.schoolbell
push ebx
call fcn.00456880
add esp, 8
push 0x69a2d0
push ebx
call sub.user32.dll_OemToCharA
push 0x69a2d0
push ebx
call fcn.0045695c
add esp, 8
push ebx
call fcn.0041e7cc
pop ecx
jmp 0x401636
push str._settings
push ebx
call fcn.00456880
add esp, 8
push 0x69a2d0
push ebx
call sub.user32.dll_OemToCharA
push 0x69a2d0
push ebx
call fcn.0045695c
add esp, 8
push ebx
call fcn.0041e7cc
pop ecx
mov byte [0x466515], 1
push 0x5c
push 0x2f
push ebx
call fcn.00443a08
add esp, 0xc
push ebx
call sub.kernel32.dll_SetCurrentDirectoryA
pop ebx
pop ebp
ret

Function at 0x401654
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x466516], 0
jne 0x4016ac
call fcn.004102c8
push eax
push 0x6ded08
call fcn.0045695c
add esp, 8
push 0x69a2d0
push 0x6ded08
call sub.user32.dll_OemToCharA
push 0x69a2d0
push 0x6ded08
call fcn.0045695c
add esp, 8
mov byte [0x466516], 1
push 0x5c
push 0x2f
push 0x6ded08
call fcn.00443a08
add esp, 0xc
push 0x6ded08
call sub.kernel32.dll_SetCurrentDirectoryA
pop ebp
ret
Function at 0x40f6dc
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x46d0fc]
shl eax, 2
mov dword [0x46d100], eax
push edi
push ecx
xor eax, eax
mov edi, 0x69256c
mov ecx, 0x708724
cmp ecx, edi
jbe 0x40f700
sub ecx, edi
cld
rep stosb byte es:[edi], al
pop ecx
pop edi
push edx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov edx, eax
call fcn.004564fc
pop edx
call fcn.004556d4
call fcn.00456500
push 0
call fcn.00457978
pop ecx
push 0x46d0c4
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x46d104], eax
push 0
jmp fcn.004613d4

Function at 0x42a61c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, dword [ebp + 8]
mov byte [ebx + 0x142], 1
push 0x58
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004567dc
mov dword [ebp - 0x58], 0x58
mov edx, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x54], edx
mov eax, dword [0x6e9058]
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x48], 0x40a
push 0
push 0x10
push 0x10
push 1
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call sub.user32.dll_LoadImageA
mov dword [ebp - 0x44], eax
lea ecx, [ebx + 9]
mov edx, dword [ebx]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], edx
push ecx
push eax
call fcn.0045695c
add esp, 8
lea edx, [ebp - 0x58]
push edx
push 0
call sub.shell32.dll_Shell_NotifyIconA
push 0
mov ecx, dword [ebx]
push ecx
call sub.user32.dll_ShowWindow
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a6a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, dword [ebp + 8]
push 0x58
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004567dc
mov dword [ebp - 0x58], 0x58
mov edx, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x58]
mov ecx, dword [ebx]
mov dword [ebp - 0x50], ecx
push eax
push 2
call sub.shell32.dll_Shell_NotifyIconA
push 5
mov edx, dword [ebx]
push edx
call sub.user32.dll_ShowWindow
push 9
mov ecx, dword [ebx]
push ecx
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x142], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cb90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x3f0]
push edx
call fcn.0045695c
add esp, 8
lea ecx, [ebp - 0x3f0]
push 0x5c
push 0x2f
push ecx
call fcn.00443a08
add esp, 0xc
push str.HKEY_CLASSES_ROOT
call fcn.0045698c
pop ecx
push eax
push str.HKEY_CLASSES_ROOT
lea eax, [ebp - 0x3f0]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cbf5
mov ebx, 1
jmp 0x42cc9f
push str.HKEY_CURRENT_USER
call fcn.0045698c
pop ecx
push eax
push str.HKEY_CURRENT_USER
lea eax, [ebp - 0x3f0]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cc20
mov ebx, 2
jmp 0x42cc9f
push str.HKEY_LOCAL_MACHINE
call fcn.0045698c
pop ecx
push eax
push str.HKEY_LOCAL_MACHINE
lea eax, [ebp - 0x3f0]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cc4b
mov ebx, 3
jmp 0x42cc9f
push str.HKEY_USERS
call fcn.0045698c
pop ecx
push eax
push str.HKEY_USERS
lea eax, [ebp - 0x3f0]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cc76
mov ebx, 4
jmp 0x42cc9f
push str.HKEY_CURRENT_CONFIG
call fcn.0045698c
pop ecx
push eax
push str.HKEY_CURRENT_CONFIG
lea eax, [ebp - 0x3f0]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cc9f
mov ebx, 5
push 0x5c
lea eax, [ebp - 0x3f0]
push eax
call fcn.00456a85
add esp, 8
mov edi, eax
lea eax, [ebp - 0x3f0]
inc edi
push 0x5c
push eax
call fcn.00456a91
add esp, 8
mov byte [eax], 0
cmp ebx, 5
ja case.0x42ccd0.0
jmp dword [ebx*4 + 0x42ccd7]
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
push edx
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
jmp 0x42cdaa
lea eax, [ebp - 8]
lea edx, [ebp - 4]
push eax
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push 0x80000001
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
jmp 0x42cdaa
lea eax, [ebp - 8]
lea edx, [ebp - 4]
push eax
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
jmp 0x42cdaa
lea eax, [ebp - 8]
lea edx, [ebp - 4]
push eax
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push 0x80000003
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
jmp 0x42cdaa
lea eax, [ebp - 8]
lea edx, [ebp - 4]
push eax
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push edi
push 0x80000005
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
jmp 0x42cdaa
xor eax, eax
jmp 0x42cdf4
test ebx, ebx
jne 0x42cdf2
push esi
call fcn.0045698c
pop ecx
inc eax
push eax
push esi
push 1
push 0
lea edx, [ebp - 0x3f0]
push edx
call fcn.0045698c
pop ecx
lea ecx, [ebp - 0x3ef]
add eax, ecx
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
jne 0x42cdee
mov al, 1
jmp 0x42cdf4
xor eax, eax
jmp 0x42cdf4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cdfc
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff82c
push ebx
push esi
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x3ec]
push edx
call fcn.0045695c
add esp, 8
lea ecx, [ebp - 0x3ec]
push 0x5c
push 0x2f
push ecx
call fcn.00443a08
add esp, 0xc
push 0x5c
lea eax, [ebp - 0x3ec]
push eax
call fcn.00456a91
add esp, 8
inc eax
push eax
lea edx, [ebp - 0x7d4]
push edx
call fcn.0045695c
add esp, 8
push str.HKEY_CLASSES_ROOT
call fcn.0045698c
pop ecx
push eax
push str.HKEY_CLASSES_ROOT
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42ce7f
mov ebx, 1
jmp 0x42cf29
push str.HKEY_CURRENT_USER
call fcn.0045698c
pop ecx
push eax
push str.HKEY_CURRENT_USER
lea eax, [ebp - 0x3ec]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42ceaa
mov ebx, 2
jmp 0x42cf29
push str.HKEY_LOCAL_MACHINE
call fcn.0045698c
pop ecx
push eax
push str.HKEY_LOCAL_MACHINE
lea eax, [ebp - 0x3ec]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42ced5
mov ebx, 3
jmp 0x42cf29
push str.HKEY_USERS
call fcn.0045698c
pop ecx
push eax
push str.HKEY_USERS
lea eax, [ebp - 0x3ec]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cf00
mov ebx, 4
jmp 0x42cf29
push str.HKEY_CURRENT_CONFIG
call fcn.0045698c
pop ecx
push eax
push str.HKEY_CURRENT_CONFIG
lea eax, [ebp - 0x3ec]
push eax
call fcn.00456a58
add esp, 0xc
test eax, eax
jne 0x42cf29
mov ebx, 5
push 0x5c
lea eax, [ebp - 0x3ec]
push eax
call fcn.00456a85
add esp, 8
mov esi, eax
inc esi
mov eax, ebx
cmp eax, 5
ja case.0x42cf44.0
jmp dword [eax*4 + 0x42cf4b]
push esi
push 0x80000000
call 0x463d9c
jmp case.0x42cf44.0
push esi
push 0x80000001
call 0x463d9c
jmp case.0x42cf44.0
push esi
push 0x80000002
call 0x463d9c
jmp case.0x42cf44.0
push esi
push 0x80000003
call 0x463d9c
jmp case.0x42cf44.0
push esi
push 0x80000005
call 0x463d9c
push 0x5c
lea edx, [ebp - 0x3ec]
push edx
call fcn.00456a91
add esp, 8
mov byte [eax], 0
cmp ebx, 5
ja case.0x42cfbb.0
jmp dword [ebx*4 + 0x42cfc2]
lea ecx, [ebp - 4]
push ecx
push esi
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
jmp case.0x42cfbb.0
lea eax, [ebp - 4]
push eax
push esi
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
jmp case.0x42cfbb.0
lea edx, [ebp - 4]
push edx
push esi
push 0x80000002
call sub.advapi32.dll_RegCreateKeyA
jmp case.0x42cfbb.0
lea ecx, [ebp - 4]
push ecx
push esi
push 0x80000003
call sub.advapi32.dll_RegCreateKeyA
jmp case.0x42cfbb.0
lea eax, [ebp - 4]
push eax
push esi
push 0x80000005
call sub.advapi32.dll_RegCreateKeyA
lea edx, [ebp - 0x7d4]
push edx
mov ecx, dword [ebp - 4]
push ecx
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff830
push ebx
push esi
push edi
mov esi, 0x62de26
lea edi, [ebp - 0x7d0]
mov ecx, 0x1f4
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x62de24]
test al, al
jne 0x42e12c
call fcn.0042dfe8
call fcn.0042e080
mov ebx, eax
mov al, byte [0x62de25]
test al, al
je 0x42e152
push 0x6ef43c
lea edx, [ebp - 0x7d0]
push edx
call fcn.0045695c
add esp, 8
jmp 0x42e163
lea ecx, [ebp - 0x7d0]
push ecx
push 0x7cf
call sub.kernel32.dll_GetTempPathA
push str.aotmpXXXXXX
lea eax, [ebp - 0x7d0]
push eax
call fcn.00456880
add esp, 8
lea edx, [ebp - 0x7d0]
push edx
call fcn.00458374
pop ecx
push 0x62f8ed
lea ecx, [ebp - 0x7d0]
push ecx
call fcn.00458c50
add esp, 8
test eax, eax
je 0x42e1a3
push eax
call fcn.004587c0
pop ecx
lea eax, [ebp - 0x7d0]
jmp 0x42e1b7
movsx edx, dl
cmp edx, 0x5c
jne 0x42e1b6
mov byte [eax], 0x2f
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x42e1ab
lea eax, [ebp - 0x7d0]
push eax
call fcn.0045698c
pop ecx
inc eax
push eax
call fcn.004555e4
mov esi, eax
mov eax, dword [0x62de1c]
pop ecx
lea edx, [ebp - 0x7d0]
mov dword [eax + ebx*4], esi
push edx
push esi
mov ecx, dword [0x62de1c]
call fcn.0045695c
add esp, 8
mov eax, dword [0x6ef434]
xor edx, edx
mov dword [eax + ebx*4], edx
mov dword [0x6ef438], ebx
mov ecx, dword [0x62de1c]
mov eax, dword [ecx + ebx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e974
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0045698c
pop ecx
add eax, eax
add eax, 5
push eax
call fcn.004555e4
pop ecx
mov ebx, eax
push esi
push ebx
call fcn.00443c20
add esp, 8
push ebx
call fcn.0045698c
pop ecx
inc eax
push eax
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push esi
call sub.kernel32.dll_GlobalLock
push ebx
push eax
call fcn.0045695c
add esp, 8
push esi
call sub.kernel32.dll_GlobalUnlock
push 0
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
push esi
push 1
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
push ebx
call fcn.004555f4
pop ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x42e9e8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x42e9fc
xor eax, eax
pop ebx
pop ebp
ret
push 0
call sub.user32.dll_OpenClipboard
mov eax, dword [0x62f59c]
test eax, eax
je 0x42ea13
push eax
call fcn.004555f4
pop ecx
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x42ea4f
push ebx
call sub.kernel32.dll_GlobalSize
push eax
call fcn.004555e4
pop ecx
mov dword [0x62f59c], eax
push ebx
call sub.kernel32.dll_GlobalLock
push eax
mov eax, dword [0x62f59c]
push eax
call fcn.0045695c
add esp, 8
push ebx
call sub.kernel32.dll_GlobalUnlock
jmp 0x42ea57
xor edx, edx
mov dword [0x62f59c], edx
call sub.user32.dll_CloseClipboard
mov eax, dword [0x62f59c]
pop ebx
pop ebp
ret
Function at 0x42ea64
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x3e8
push eax
push 0x6f04dc
call sub.kernel32.dll_GetComputerNameA
test ebx, ebx
je 0x42ea93
push 0x6f04dc
push ebx
call fcn.0045695c
add esp, 8
mov eax, 0x6f04dc
pop ebx
pop ecx
pop ebp
ret

Function at 0x42ea9c
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, 0x6e907c
mov cl, byte [edi]
test cl, cl
jne 0x42ebf6
mov byte [0x62d984], 0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
mov dword [ebp - 0x50], 0xc
xor eax, eax
lea edx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
lea eax, [esi + esi*2]
mov dword [ebp - 0x48], 1
push 0
push edx
lea edx, [esi + esi*2]
lea eax, [esi + eax*4]
shl eax, 2
add eax, 0x6e909c
lea edx, [esi + edx*4]
shl edx, 2
push eax
add edx, 0x6e9098
push edx
call sub.kernel32.dll_CreatePipe
lea eax, [esi + esi*2]
lea edx, [esi + esi*2]
lea ecx, [ebp - 0x50]
push 0
lea eax, [esi + eax*4]
lea edx, [esi + edx*4]
shl eax, 2
push ecx
shl edx, 2
add eax, 0x6e90a4
push eax
add edx, 0x6e90a0
push edx
call sub.kernel32.dll_CreatePipe
lea eax, [esi + esi*2]
lea edx, [esi + esi*2]
lea ecx, [ebp - 0x50]
push 0
lea eax, [esi + eax*4]
lea edx, [esi + edx*4]
shl eax, 2
push ecx
shl edx, 2
add eax, 0x6e90ac
push eax
add edx, 0x6e90a8
push edx
call sub.kernel32.dll_CreatePipe
push 0x44
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.004567dc
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 0x101
mov eax, dword [edi + 0x28]
add esp, 0xc
mov dword [ebp - 8], eax
test bl, bl
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0xc], edx
mov ecx, dword [edi + 0x30]
mov dword [ebp - 4], ecx
mov word [ebp - 0x14], 5
je 0x42eba0
mov word [ebp - 0x14], 0
xor eax, eax
test bl, bl
je 0x42ebab
mov eax, 8
lea edx, [esi + esi*2]
lea ecx, [ebp - 0x44]
lea edx, [esi + edx*4]
shl edx, 2
add edx, 0x6e9080
push edx
push ecx
push 0
push 0
push eax
push 1
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x42ebe8
mov byte [0x62d984], 1
mov byte [edi], 0
or eax, 0xffffffff
jmp 0x42ec06
mov byte [edi], 1
mov byte [0x62d984], 1
mov eax, esi
jmp 0x42ec06
inc esi
add edi, 0x34
cmp esi, 0x64
jl 0x42eab5
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ec10
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
lea eax, [ebp - 0xc]
lea edx, [ebp - 4]
lea ecx, [ebp - 8]
push ebx
push esi
mov ebx, dword [ebp + 8]
push eax
push edx
push ecx
lea esi, [ebx + ebx*2]
lea eax, [ebp - 0xd]
push 1
push eax
lea esi, [ebx + esi*4]
mov eax, dword [esi*4 + 0x6e90a0]
push eax
call sub.kernel32.dll_PeekNamedPipe
mov edx, dword [ebp - 4]
test edx, edx
je 0x42ec6f
lea ecx, [ebp - 4]
push 0
push ecx
lea eax, [ebp - 0xd]
push 1
push eax
mov edx, dword [esi*4 + 0x6e90a0]
push edx
call sub.kernel32.dll_ReadFile
mov ecx, dword [ebp - 4]
cmp ecx, 1
jne 0x42ec6f
xor eax, eax
mov al, byte [ebp - 0xd]
jmp 0x42ecc0
lea edx, [ebp - 0xc]
lea ecx, [ebp - 4]
push edx
push ecx
lea eax, [ebp - 8]
lea edx, [ebp - 0xd]
push eax
push 1
push edx
mov ecx, dword [esi*4 + 0x6e90a8]
push ecx
call sub.kernel32.dll_PeekNamedPipe
mov eax, dword [ebp - 4]
test eax, eax
je 0x42ecbd
lea edx, [ebp - 4]
push 0
push edx
lea ecx, [ebp - 0xd]
push 1
push ecx
mov eax, dword [esi*4 + 0x6e90a8]
push eax
call sub.kernel32.dll_ReadFile
mov edx, dword [ebp - 4]
cmp edx, 1
jne 0x42ecbd
xor eax, eax
mov al, byte [ebp - 0xd]
jmp 0x42ecc0
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42eebc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc14
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x3ec]
push edx
push 0x3e8
mov ecx, dword [ebp + 8]
push ecx
call sub.kernel32.dll_GetFullPathNameA
push 1
push 0x62f8f1
push 0
lea eax, [ebp - 0x3ec]
push eax
push str.print
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jg 0x42ef03
xor eax, eax
jmp 0x42ef05
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x42ef0c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
lea edx, [ebp - 4]
mov dword [0x62d458], eax
push edx
push 0x6f1094
push 0x7d0
mov byte [0x6f08c4], 0
mov ecx, dword [ebp + 8]
push ecx
call sub.kernel32.dll_GetFullPathNameA
push 0x62f951
push 0x6f1094
call fcn.00456a9d
add esp, 8
test eax, eax
jne 0x42ef5d
push str..EXE
push 0x6f1094
call fcn.00456a9d
add esp, 8
test eax, eax
je 0x42ef76
mov byte [eax + 4], 0
add eax, 5
push eax
push 0x6f08c4
call fcn.0045695c
add esp, 8
push 1
push 0x62f8f1
push 0x6f08c4
push 0x6f1094
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jg 0x42ef9a
xor eax, eax
pop ecx
pop ebp
ret
mov dword [0x62d458], eax
mov al, 1
pop ecx
pop ebp
ret
Function at 0x42f84c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x18], edx
push str.riched20.dll
call sub.kernel32.dll_LoadLibraryA
mov esi, 0x50209044
mov al, byte [ebp + 0x28]
test al, al
jne 0x42f883
or esi, 0x100080
mov dl, byte [ebp + 0x2c]
test dl, dl
je 0x42f890
or esi, 0x800
mov dword [ebx + 0xc], edi
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x10], ecx
mov word [ebp - 0x14], 0
mov eax, dword [0x6e9058]
push 0
push eax
push 0x7b
mov edx, dword [ebp + 0x24]
push edx
mov ecx, dword [ebp + 0x20]
push ecx
push edi
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
push eax
mov edx, dword [ebp + 0x14]
push edx
push esi
push ecx
push str.RichEdit20W
push 0
call sub.user32.dll_CreateWindowExW
mov dword [ebx], eax
push 1
mov eax, dword [ebx]
push eax
call sub.user32.dll_ShowWindow
push 0x62f83c
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xfffffffffffffff4
call sub.gdi32.dll_CreateFontA
test eax, eax
je 0x42f90c
push 0
push eax
push 0x30
mov edx, dword [ebx]
push edx
call sub.user32.dll_SendMessageA
push 0xa
push 0x62f83c
push ebx
call fcn.0042f9b0
add esp, 0xc
push 0
push 0
push 0xc8
mov ecx, dword [ebx]
push ecx
call sub.user32.dll_SendMessageA
push 0x80001
push 0
push 0x445
mov eax, dword [ebx]
push eax
call sub.user32.dll_SendMessageA
push 0x500000
push 0
push 0x435
mov edx, dword [ebx]
push edx
call sub.user32.dll_SendMessageA
mov ecx, dword [ebx]
push ecx
push ebx
push 0x42fbec
call fcn.0042896c
add esp, 0xc
mov eax, dword [ebx]
push eax
call sub.user32.dll_UpdateWindow
mov byte [ebx + 8], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret