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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [0x100a2ac], bl
je 0x100698f
mov eax, 0x3eb
jmp 0x1006a48
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10069ab
push edi
call fcn.0100679a
test al, al
jne 0x10069ab
mov eax, 0x3eb
jmp 0x1006a47
mov ecx, dword [ebp + 0x10]
test ecx, ecx
push esi
jne 0x10069d4
push dword [ebp + 0x14]
xor esi, esi
call fcn.010079f5
mov ebx, eax
test ebx, ebx
mov ecx, ebx
jne 0x10069d7
test edi, edi
je 0x10069cf
push edi
call fcn.010067cb
push 8
pop eax
jmp 0x1006a46
mov esi, dword [ebp + 0x18]
lea edx, [ecx + 0x18]
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
and dword [ecx + 0x2c], 0
mov dword [ecx + 0xc], edi
mov edi, dword [ebp + 0x20]
push edx
mov dword [ecx + 0x10], edi
mov edi, dword [ebp + 0x24]
push 0x100a2d4
push dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 0x14], edi
lea ecx, [ecx + esi + 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1006a42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x1006a42
cmp dword [ebp + 8], 0
je 0x1006a36
push dword [ebp + 8]
call fcn.010067cb
test ebx, ebx
je 0x1006a44
push ebx
call fcn.01007a82
jmp 0x1006a44
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 0x20

Function at 0x1006a52
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp byte [0x100a2ac], 0
je 0x1006a6a
mov eax, 0x3eb
jmp 0x1006aeb
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1006a83
push ebx
call fcn.0100679a
test al, al
jne 0x1006a83
mov eax, 0x3eb
jmp 0x1006aea
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
push edi
lea edx, [ecx + 0x18]
xor eax, eax
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], esi
mov esi, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x10], esi
mov esi, dword [ebp + 0x24]
push 0x100a2d4
push dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 0x14], esi
lea ecx, [ecx + edx + 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1006ae4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x1006ae4
test ebx, ebx
je 0x1006ae6
push ebx
call fcn.010067cb
jmp 0x1006ae6
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x20
Function at 0x1006c05
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp byte [0x100a2ac], bl
jne 0x1006c1e
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x1006c28
mov eax, 0x3eb
jmp 0x1006d86
push esi
push edi
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.010066ce
push dword [ebp - 4]
mov esi, dword [sym.imp.WSOCK32.dll_ntohs]
call esi
mov edi, dword [ebp + 0x14]
push edi
call esi
cmp dword [ebp + 8], ebx
mov dword [ebp + 0x14], ebx
je 0x1006c6b
push dword [ebp + 8]
call fcn.0100679a
test al, al
jne 0x1006c6b
mov eax, 0x3eb
jmp 0x1006d84
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x1006c95
call fcn.010079d4
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x14], esi
jne 0x1006c95
cmp dword [ebp + 8], ebx
je 0x1006c8d
push dword [ebp + 8]
call fcn.010067cb
push 8
pop eax
jmp 0x1006d84
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x20]
push ebx
push ebx
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov word [esi + 0x36], di
push 1
mov dword [esi + 0x2c], ebx
mov word [esi + 0x34], 2
mov dword [esi + 0x38], eax
lea edi, [esi + 0x54]
push ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [esi + 0x50], eax
je 0x1006d1f
push 9
push 0xffffffffffffffff
push esi
push 0x10068de
push eax
push edi
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x1006d1f
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp + 0x24]
push 0x30
mov dword [ecx], eax
push dword [esi + 0x50]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x1006d0a
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
jmp 0x1006d25
push ebx
push ebx
push ebx
push ebx
push 0x10
lea eax, [esi + 0x34]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_WSAConnect]
jmp 0x1006d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x1006d42
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [ebp + 0xc], eax
jne 0x1006d42
mov dword [ebp + 0xc], ebx
jmp 0x1006d81
cmp dword [ebp + 0xc], ebx
je 0x1006d81
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
mov edi, dword [edi]
cmp edi, ebx
je 0x1006d59
push edi
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
mov esi, dword [esi + 0x50]
cmp esi, ebx
je 0x1006d67
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], ebx
je 0x1006d74
push dword [ebp + 0x14]
call fcn.01007a82
cmp dword [ebp + 8], ebx
je 0x1006d81
push dword [ebp + 8]
call fcn.010067cb
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x414a2f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004148a5
Function at 0x404a03
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
mov esi, esp
sub esp, 0x44
mov eax, esp
mov edx, eax
add edx, 0x44
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x404a14
push str.psapi.dll
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [esp], eax
cmp dword [esp], 0
je 0x404b14
push str.EnumProcesses
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 4], eax
push str.EnumProcessModules
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 8], eax
push str.GetModuleBaseNameA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0xc], eax
push str.GetModuleFileNameExA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x10], eax
push str.EnumDeviceDrivers
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x14], eax
push str.GetDeviceDriverBaseNameA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x18], eax
push str.GetDeviceDriverFileNameA
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x1c], eax
push str.GetProcessMemoryInfo
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x20], eax
push str.EmptyWorkingSet
push dword [esp + 4]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x415274], eax
push 0x1000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [esp + 0x24], eax
push 0x1000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [esp + 0x28], eax
push 0x1000
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [esp + 0x2c], eax
push 0x4120d3
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [esp + 0x30], eax
cmp dword [esp + 0x30], 0
je 0x404b71
push str.CreateToolhelp32Snapshot
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x34], eax
push str.Thread32First
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x38], eax
push str.Thread32Next
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x3c], eax
push str.OpenThread
push dword [esp + 0x34]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esp + 0x40], eax
xor eax, eax
add esp, 0x44
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret
Function at 0x406e14
Capabilities:
Timestomp file

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
push dword [esp + 0x20]
pop dword [0x4122fc]
mov esi, esp
sub esp, 0x3c
mov eax, esp
mov edx, eax
add edx, 0x3c
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x406e2f
mov edx, dword [esi + 0x18]
lea ecx, [esp]
call fcn.0040b7d1
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
call fcn.0040b7d1
lea eax, [esp + 8]
lea eax, [esp + 0x10]
lea eax, [esp + 0x18]
lea eax, [esp + 0x20]
push dword [esp]
push 0
call fcn.0041067a
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x3c]
call sub.KERNEL32.DLL_GetFileTime
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push dword [esp + 0x1c]
call sub.KERNEL32.DLL_CreateFileA
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x40]
call sub.KERNEL32.DLL_SetFileTime
push dword [esp + 0x34]
call sub.KERNEL32.DLL_CloseHandle
push 0
call fcn.004104e9
mov edx, dword [esp + 0x38]
push dword [0x4122fc]
call fcn.0040b810
pop eax
jmp 0x406efc
mov edx, dword [esp]
call fcn.0040b830
mov edx, dword [esp + 4]
call fcn.0040b830
mov edx, dword [esp + 0x38]
call fcn.0040b830
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 8

Function at 0x406f26
Capabilities:
Set registry value

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
mov esi, esp
sub esp, 0x1c
mov eax, esp
mov edx, eax
add edx, 0x1c
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x406f37
mov eax, dword [esi + 0x18]
mov dword [esp], eax
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 4]
call fcn.0040b7d1
mov edx, dword [esi + 0x20]
lea ecx, [esp + 8]
call fcn.0040b7d1
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0xc]
call fcn.0040b7d1
mov dword [esp + 0x10], 0xffffffff
lea eax, [esp + 0x14]
push eax
push dword [esp + 8]
push dword [esp + 8]
call sub.ADVAPI32.dll_RegCreateKeyA
mov ebx, eax
cmp ebx, 0
jne 0x406fd4
mov eax, dword [esp + 0xc]
call fcn.0040b007
mov dword [esp + 0x18], eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push eax
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
call sub.ADVAPI32.dll_RegSetValueExA
mov ebx, eax
cmp ebx, 0
jne 0x406fcb
mov dword [esp + 0x10], 1
push dword [esp + 0x14]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, dword [esp + 0x10]
jmp 0x406fdc
mov edx, dword [esp + 8]
call fcn.0040b830
mov edx, dword [esp + 4]
call fcn.0040b830
mov edx, dword [esp + 0xc]
call fcn.0040b830
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 0x10
Function at 0x40ba10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
push dword [esp + 0x20]
pop dword [0x4122fc]
mov esi, esp
sub esp, 0x24
mov eax, esp
mov edx, eax
add edx, 0x24
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x40ba2b
mov edx, dword [esi + 0x18]
lea ecx, [esp]
call fcn.0040b7d1
mov eax, dword [esi + 0x1c]
mov byte [esp + 4], al
mov byte [esp + 5], 1
mov dword [esp + 6], 0x80000000
mov dword [esp + 0xa], 0
mov dword [esp + 0xe], 0
mov dword [esp + 0x12], 0
push dword [0x4122fc]
mov eax, 0x800
call fcn.0040b25b
lea ecx, [esp + 0x1a]
pop edx
call fcn.0040b764
mov edx, 0x412300
lea ecx, [esp + 0x1a]
call fcn.0040b7b0
push 0
push 0
push 0
movsx eax, byte [esp + 0x10]
push eax
push str.Opera_6.01
call sub.WININET.dll_InternetOpenA
mov dword [esp + 0xa], eax
push 0
push dword [esp + 0xa]
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x1e]
call sub.WININET.dll_InternetOpenUrlA
mov dword [esp + 0xe], eax
mov eax, 1
call fcn.004161c0
lea eax, [esp + 0x12]
push eax
mov eax, dword [esp + 0x1a]
call fcn.0040b007
push eax
mov eax, dword [esp + 0x1e]
push eax
push dword [esp + 0x1a]
call sub.WININET.dll_InternetReadFile
mov ebx, dword [esp + 0x12]
cmp ebx, 0
jne 0x40bb15
mov byte [esp + 5], 0
jmp 0x40bb42
mov edx, dword [esp + 0x1a]
push dword [0x4122fc]
call fcn.0040b810
push dword [0x4122fc]
push dword [esp + 0x1a]
mov eax, dword [esp + 0x22]
call fcn.0040afca
pop eax
lea ecx, [esp + 0x1e]
pop edx
call fcn.0040b764
mov ebx, dword [esp + 0x1e]
add ebx, dword [esp + 0x12]
mov dword [esp + 0x1e], ebx
movsx ebx, byte [esp + 5]
cmp ebx, 0
jne 0x40bade
push dword [esp + 0xe]
call sub.WININET.dll_InternetCloseHandle
push dword [esp + 0xa]
call sub.WININET.dll_InternetCloseHandle
mov edx, dword [esp + 0x1a]
push dword [0x4122fc]
call fcn.0040b810
pop eax
jmp 0x40bb84
mov edx, dword [esp + 0x16]
call fcn.0040b830
mov edx, dword [esp + 0x1a]
call fcn.0040b830
mov edx, dword [esp]
call fcn.0040b830
add esp, 0x24
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret 8

Function at 0x40bbb0
Capabilities:
Get common file path

Disassembly:
push ebx
push ecx
push ebp
push esi
push edi
push dword [esp + 0x18]
pop dword [0x4122fc]
mov esi, esp
sub esp, 4
mov eax, esp
mov edx, eax
add edx, 4
mov dword [eax], 0
add eax, 4
cmp eax, edx
jne 0x40bbcb
push dword [0x4122fc]
mov eax, 0x1f4
call fcn.0040b25b
lea ecx, [esp + 4]
pop edx
call fcn.0040b764
mov eax, dword [esp]
push eax
push 0x226
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov edx, dword [esp]
push dword [0x4122fc]
call fcn.0040b810
pop eax
jmp 0x40bc19
mov edx, dword [esp]
call fcn.0040b830
add esp, 4
pop edi
pop esi
pop ebp
pop ecx
pop ebx
ret
Function at 0x40df9e
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
cmp dword [ebp + 8], 0
je 0x40dfb8
push dword [ebp + 8]
push 0x40df30
call sub.USER32.dll_EnumWindows
jmp 0x40dfef
mov edi, dword [0x414250]
jmp 0x40dfeb
mov esi, dword [edi]
call sub.KERNEL32.DLL_GetCurrentThreadId
cmp dword [edi + 8], eax
jne 0x40dfe9
push 1
push dword [edi + 0xc]
call sub.USER32.dll_EnableWindow
mov eax, edi
add eax, 8
push eax
push 0x414250
call fcn.00410950
add esp, 8
mov edi, esi
or edi, edi
jne 0x40dfc0
pop edi
pop esi
pop ebp
ret 4

Function at 0x40e150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ebx, ebx
or esi, esi
je 0x40e228
mov dword [ebp - 0x40], esi
push esi
call sub.CRTDLL.dll_strlen
pop ecx
lea edi, [eax + esi - 1]
jmp 0x40e17a
dec edi
cmp edi, esi
jbe 0x40e183
cmp byte [edi], 0x5c
jne 0x40e179
cmp edi, esi
jbe 0x40e1b9
mov byte [edi], 0
push esi
lea eax, [ebp - 0x240]
push eax
call sub.CRTDLL.dll_strcpy
push 0x414266
lea eax, [ebp - 0x240]
push eax
call sub.CRTDLL.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x240]
mov dword [ebp - 0x40], eax
mov byte [edi], 0x5c
jmp 0x40e1bd
and dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
or eax, eax
je 0x40e1cc
cmp byte [eax], 0
je 0x40e1cc
mov dword [ebp - 0x40], eax
xor edi, edi
inc edi
test byte [ebp + 0x14], 2
je 0x40e1d7
xor edi, edi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x20], edi
lea eax, str.Open
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call sub.SHELL32.DLL_ShellExecuteExA
mov ebx, eax
or eax, eax
je 0x40e228
cmp dword [ebp - 4], 0
je 0x40e228
test byte [ebp + 0x14], 1
je 0x40e225
push 0xffffffffffffffff
push dword [ebp - 4]
call sub.KERNEL32.DLL_WaitForSingleObject
mov ebx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40f590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push 9
call sub.USER32.dll_GetKeyState
mov ebx, eax
movsx ebx, bx
test bl, 0x80
je 0x40f60a
push 0x11
call sub.USER32.dll_GetKeyState
mov ebx, eax
movsx ebx, bx
test bl, 0x80
jne 0x40f60a
push 0x10
call sub.USER32.dll_GetKeyState
mov ebx, eax
movsx ebx, bx
test bl, 0x80
jne 0x40f60a
push 0x12
call sub.USER32.dll_GetKeyState
mov ebx, eax
movsx ebx, bx
test bl, 0x80
jne 0x40f60a
call sub.USER32.dll_GetFocus
push 5
lea ebx, [ebp - 5]
push ebx
push eax
call sub.USER32.dll_GetClassNameA
push 4
push str.Rich
lea eax, [ebp - 5]
push eax
call sub.CRTDLL.dll_strncmp
add esp, 0xc
or eax, eax
jne 0x40f60a
jmp 0x40f650
mov edi, dword [0x415c68]
jmp 0x40f61e
cmp dword [edi + 8], esi
jne 0x40f61c
mov eax, dword [edi + 0x14]
jmp 0x40f650
mov edi, dword [edi]
or edi, edi
jne 0x40f612
jmp 0x40f646
mov ebx, edi
shl ebx, 4
mov edx, dword [0x415c24]
cmp dword [edx + ebx], esi
jne 0x40f645
mov ebx, edi
shl ebx, 4
mov edx, dword [0x415c24]
mov eax, dword [ebx + edx + 0xc]
jmp 0x40f650
inc edi
cmp edi, dword [0x415c20]
jl 0x40f624
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x13a16dd2
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xb823ea2
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add dh, dl
or byte [ebx - 0x3f7aebc0], cl
or ch, bl
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
aas
mov esi, dword [0x403a98]
push dword [edx]
test dword [ebx + eax*4 - 0x4b], edx
pop esi
pop ebp
ret 8
xor eax, eax
pop ebp
ja 0x40a417
add byte [eax + 0x4e3b], bh
pop ebp
ret 8
or byte [eax], al
nop
nop
sub byte [eax - 0x3c6fcf70], dl
nop
nop
nop
nop
or dl, byte [eax - 0x6fc7ed70]
nop
nop
nop
nop
nop
Function at 0x100098b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10063dab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10058de5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10009932
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10056cf7
mov eax, dword [eax]
push 0x1007cc48
push eax
call fcn.10049c44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10059070
test bl, bl
je 0x10009932
push 0x1007cc48
lea ecx, [esp + 0xc]
call fcn.10059400
push 0x1007cc54
lea ecx, [esp + 0xc]
call fcn.10059400
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1000996e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10059070
jmp 0x10009a39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x100099f2
lea edx, [esp + 0x7c]
push 0x1007cc50
push edx
call fcn.10049c44
add esp, 8
test eax, eax
je 0x100099f2
lea eax, [esp + 0x7c]
push 0x1007cc4c
push eax
call fcn.10049c44
add esp, 8
test eax, eax
je 0x100099f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10009982
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.10059070
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x1000a240
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1000a2a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x1000a2b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10063e2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100833a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x1000a3e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000a316
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10059070
xor eax, eax
jmp 0x1000a45f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100591ad
push esi
lea ecx, [esp + 0xc]
call fcn.1005943c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1000a43d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1000a240
test eax, eax
jne 0x1000a43d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.1000a240
test eax, eax
jne 0x1000a43d
lea eax, [esp + 0x14]
push 0x1007cc64
push eax
call fcn.1004ac80
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000a41c
lea ecx, [esp + 0x14]
push 0x1007cc60
push ecx
call fcn.1004ac00
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000a41c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000a41f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1005915d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000a32e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10059070
xor eax, eax
jmp 0x1000a45f
mov byte [esi], 0
push 0x1007cc5c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.10059070
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4