joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413b80
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
mov esi, ecx
mov ebx, edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x40c], edi
push 0
test edi, edi
jne 0x413bd2
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
push 0x4000000
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x413c0b
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
push 0x400
call fcn.0041d281
add esp, 4
test eax, eax
jne 0x413c3e
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 0
push 0x1f01ff
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov eax, 0xfffffffc
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push esi
call ebx
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x413cd8
push 0
lea edx, [ebp - 0x410]
push edx
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push edx
push esi
call ebx
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x413ca0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov eax, dword [ebp - 0x40c]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00454d73
mov esp, ebp
pop ebp
ret
Function at 0x413fe0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4140ad
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.004283fb
push 0xb7c
call fcn.00456237
add esp, 8
test eax, eax
je 0x414018
push eax
call fcn.00413d90
mov esi, eax
jmp 0x41401a
xor esi, esi
push edi
push str.ZNCCMUTEX
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414065
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x47fab0
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
push 0xb
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
test esi, esi
je 0x4140a6
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x100
push 0x96c80000
push 0x47fab0
push 0
mov ecx, esi
call fcn.004281cc
mov ecx, esi
call fcn.00427da6
mov ecx, esi
call fcn.00427ccd
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
xor eax, eax
pop ebp
ret 0x10

Function at 0x4142d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472258
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
or ebx, 0xffffffff
mov ecx, section..data
mov dword [ebp - 0x14], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
movzx ecx, word [eax + 8]
push ecx
push 0x480ae8
lea edi, [ebp - 0x10]
call fcn.004019a0
mov esi, dword [ebp - 0x10]
add esp, 8
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
jne 0x414384
mov dword [ebp - 4], ebx
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41436e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41439d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4143c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471969
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], esi
call ebx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00456a28
add esp, 4
lea edx, [ebp - 0x10]
mov esi, eax
push edx
push esi
call ebx
test eax, eax
jne 0x414497
test esi, esi
je 0x4144a4
push 0x47eac4
push edi
xor ebx, ebx
call fcn.00401e80
mov eax, dword [esi + 0x190]
test eax, eax
je 0x4144a4
dec eax
cmp ebx, eax
jae 0x414474
movzx eax, byte [esi + ebx + 0x194]
push 0x2d
push eax
push str._02X_c
call fcn.004138f0
add esp, 0xc
jmp 0x41448a
movzx ecx, byte [esi + ebx + 0x194]
push ecx
push str._02X
call fcn.004138f0
add esp, 8
mov eax, dword [esi + 0x190]
inc ebx
cmp ebx, eax
jb 0x414455
jmp 0x4144a4
push str.Get_Net_Adapter_Information._r_n
call fcn.00456b69
add esp, 4
push esi
call fcn.00456976
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x54
lea eax, [ebp - 0x46c]
push 0
push eax
mov dword [ebp - 0x470], 0x4c
call fcn.00457050
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x47eac4
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x464], 0x480c00
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
lea edx, [ebp - 0x210]
push 0x208
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], 0x208
mov dword [ebp - 0x440], 0x480c38
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x418]
push str.select_file_n
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x43c], 0x81200
call fcn.00456c26
add esp, 4
lea edx, [ebp - 0x470]
push edx
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x414ea2
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
jmp 0x414e70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414e70
sub eax, edx
lea ecx, [ebp - 0x210]
sar eax, 1
push ecx
push esi
mov ebx, eax
call fcn.00401e80
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00454d73
mov esp, ebp
pop ebp
ret
Function at 0x414f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
push str._e____s_
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004019a0
mov esi, dword [ebp - 0x10]
add esp, 8
push 1
push 0
push esi
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41500a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4157e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ecx, ecx
push edi
mov eax, 0x104
mov edx, 2
xor edi, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d281
mov esi, eax
xor ecx, ecx
mov eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d281
add esp, 8
push edi
mov ebx, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x415895
mov eax, dword [ebp - 4]
test eax, eax
je 0x415895
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x415895
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x415870
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415870
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
push esi
add eax, 2
push eax
push edx
call fcn.00454eda
add esp, 0xc
mov edi, 1
push esi
call fcn.00454f3d
push ebx
call fcn.00454f3d
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415910
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x150]
push eax
mov esi, 0xe
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.ntdll.dll
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je case.default.0x4159f6
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41599a
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x12c]
push edx
call eax
and dword [ebp - 0x128], 0xffff
lea ebx, [esi - 0xd]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je case.default.0x4159f6
mov eax, dword [ebp - 0x12c]
sub eax, 5
je 0x415ac7
dec eax
je 0x4159e7
sub eax, 4
jne case.default.0x4159f6
call fcn.004158c0
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x124]
cmp eax, 4
ja case.default.0x4159f6
jmp dword [eax*4 + 0x415b28]
xor eax, eax
cmp byte [ebp - 6], 1
pop edi
setne al
lea esi, [eax + 3]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 6], 1
jne 0x415a45
call fcn.004158c0
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 5
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 6], 1
jne 0x415a86
call fcn.004158c0
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov esi, 7
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 6], 1
jne 0x415a86
call fcn.004158c0
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 0xa
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x124]
sub eax, 0
je 0x415b13
dec eax
je 0x415afb
dec eax
jne case.default.0x4159f6
xor ecx, ecx
cmp word [ebp - 0x150], 9
pop edi
setne cl
lea esi, [ecx + 1]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret
xor esi, esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454d73
mov esp, ebp
pop ebp
ret
Function at 0x415e80
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48d000]
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 eax, dword [0x480e34]
mov edi, ecx
movzx edx, word [edi + 0x228]
mov ecx, dword [0x480e38]
mov dword [ebp - 0x18], eax
mov eax, dword [section..data]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x24], edi
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, 0x41
cmp si, word [edi + 0x228]
je 0x415f38
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x415f38
movzx ecx, si
push str.ZNCC
push ecx
push str._c:_s
lea edi, [ebp - 0x1c]
call fcn.004019a0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push edx
call ebx
test eax, eax
jne 0x416009
mov edi, dword [ebp - 0x24]
inc esi
cmp si, 0x5a
jb 0x415ef2
mov esi, 0x41
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], esi
jmp 0x415f50
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 0x228]
push edx
call fcn.00456de3
add esp, 4
cmp eax, dword [ebp - 0x20]
je 0x415fb9
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x415fb9
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, edi
jb 0x415fb9
mov edx, dword [ebp - 0x30]
ja 0x415f9d
cmp edx, ebx
jbe 0x415fb9
mov eax, edx
and eax, 0xc0000000
test ecx, ecx
jne 0x415faf
cmp eax, 0xc0000000
jbe 0x415fb9
movzx eax, si
mov dword [ebp - 0x28], eax
mov ebx, edx
mov edi, ecx
inc dword [ebp - 0x20]
inc esi
cmp si, 0x5a
jb 0x415f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415fe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ax, word [ebp - 0x28]
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.00454d73
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41602f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ax, si
jmp 0x415fed
Function at 0x418f30
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
mov edi, eax
mov dword [ebx], 0xffffffff
mov eax, dword [edi + 0x10]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d281
add esp, 4
cmp dword [edi + 0x14], 8
mov esi, eax
jb 0x418f6b
mov eax, dword [edi]
jmp 0x418f6d
mov eax, edi
push eax
mov eax, dword [edi + 0x10]
add eax, 2
push eax
push esi
call fcn.00454eda
push 0x44
lea ecx, [ebp - 0x58]
push 0
push ecx
call fcn.00457050
add esp, 0x18
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
push edx
push edx
push 0x10
push 1
push edx
push edx
push esi
push edx
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], dx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov edi, eax
call fcn.00454f3d
add esp, 4
test edi, edi
jne 0x418fdc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0xc]
push edx
call esi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4198d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470a80
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x48d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401a40
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x44
lea eax, [ebp - 0x6c]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00457050
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x208
add esp, 0xc
or eax, ecx
jge 0x419969
mov eax, 0x208
lea ecx, [ebp - 0x14]
call fcn.00401e20
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x10
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4199eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4199b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4199d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x20]
push eax
call edi
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419a4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x419a70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x20a
mov dword [ebp - 4], 0x105
mov dword [ebp - 8], 0
call fcn.0041d281
mov esi, eax
add esp, 4
test esi, esi
je 0x419ad8
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push esi
push ebx
call edi
test eax, eax
jne 0x419ae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x419b24
push esi
call fcn.00454f3d
mov edx, dword [ebp - 4]
lea eax, [edx + edx]
push eax
call fcn.0041d281
mov esi, eax
add esp, 8
test esi, esi
jne 0x419aa0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x419b24
lea esp, [esp]
cmp word [ebp + 8], ax
je 0x419b1d
mov eax, ecx
lea edi, [eax + 2]
jmp 0x419b00
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x419b00
sub eax, edi
sar eax, 1
lea ecx, [ecx + eax*2 + 2]
movzx eax, word [ecx]
test ax, ax
jne 0x419af0
jmp 0x419b24
mov dword [ebp - 8], 1
test esi, esi
je 0x419b31
push esi
call fcn.00454f3d
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41dcbe
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x46e587
call fcn.0045793e
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x41ddb5
cmp byte [esi + 0x4a], bl
je 0x41ddb5
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x41dcfa
xor al, al
jmp 0x41ddb7
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0041da84
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41dd58
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x41dd5d
dec eax
je 0x41dd61
dec eax
dec eax
je 0x41ddb1
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040d730
mov al, bl
jmp 0x41ddb7
mov edx, dword [ebp - 0x2c]
jmp 0x41dd23
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41dd6d
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x41dd93
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41dd80
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.00458cc0
add esp, 0x10
cmp edi, eax
jne 0x41dd46
cmp byte [esi + 0x4a], 0
je 0x41ddb1
test edi, edi
jne 0x41dd15
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004096b0
jmp 0x41dd15
mov bl, 1
jmp 0x41dd48
mov al, 1
call fcn.00457988
ret

Function at 0x428266
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x42827c
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x428288
or edi, 1
push 1
call esi
test ax, ax
jns 0x428294
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4282a0
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4282ac
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret