joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40603f
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x431440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004110f3
lea eax, [ebp - 0x108]
push eax
call fcn.00407232
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004110f3
push 0x426a04
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004112fd
add esp, 0x28
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [ebp + 0xc]
mov edi, eax
cmp edi, 0xffffffff
je 0x406165
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x426598
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00403cbc
add esp, 0x14
lea eax, [ebp - 0x230]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x40614f
test byte [ebp - 0x230], 0x10
je 0x406149
lea eax, [ebp - 0x344]
push 0x426a08
push eax
call fcn.00418bf0
pop ecx
pop ecx
test eax, eax
je 0x40614f
lea eax, [ebp - 0x344]
push 0x426a0c
push eax
call fcn.00418bf0
pop ecx
pop ecx
test eax, eax
je 0x40614f
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040603f
pop ecx
pop ecx
add esi, eax
jmp 0x40614f
add esi, dword [ebp - 0x210]
lea eax, [ebp - 0x370]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4060c2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d5ca
leave
ret

Function at 0x40617d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x431440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x426a10
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00403cbc
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea eax, [ebp - 0x21c]
push 0x426a08
push eax
call fcn.00411399
pop ecx
pop ecx
test eax, eax
je 0x40620a
lea eax, [ebp - 0x21c]
push 0x426a0c
push eax
call fcn.00411399
pop ecx
pop ecx
test eax, eax
je 0x40620a
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00411399
pop ecx
pop ecx
test eax, eax
jne 0x406236
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4061c9
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d5ca
leave
ret
xor bl, bl
jmp 0x40621e
Function at 0x40920b
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408868
push 0x40a6a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push ebx
mov eax, 0x564d5868
mov ebx, 0x8685d465
mov ecx, 0xa
mov dx, 0x5658
in eax, dx
mov dword [ebp - 0x1c], ebx
pop ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x409273
xor eax, eax
cmp dword [ebp - 0x1c], 0x564d5868
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409290
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408878
push 0x40a6a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, 1
invalid

Function at 0x40939d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4085ac
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4093c0
xor eax, eax
jmp 0x4093ff
cmp dword [ebp + 0x10], 0
jne 0x4093d9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
jmp 0x4093f0
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x409d03
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44
push 0
lea eax, [ebp - 0x54]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
leave
ret

Function at 0x409df0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push 0
push 0
push 0
push 0
push 0x4085d0
call dword [0x401568]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
je 0x409ece
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x82c]
call dword [0x401210]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
je 0x409ece
push 0x4085d4
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
je 0x409ece
lea eax, [ebp - 0x824]
push eax
push 0x800
lea eax, [ebp - 0x800]
push eax
push dword [ebp - 0x830]
call dword [0x40121c]
test eax, eax
jne 0x409e8d
jmp 0x409ebc
push dword [ebp - 0x834]
push 1
push dword [ebp - 0x824]
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp - 0x824], 0
ja 0x409e68
push dword [ebp - 0x834]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
jmp 0x409ed0
xor eax, eax
leave
ret
Function at 0x409fb1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ac
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
add eax, 0x1f4
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebp - 0x194], eax
push 0x4085e0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
add eax, 7
push eax
call dword [sym.imp.MSVCRT.dll_strtok]
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4085e4
mov eax, dword [ebp + 8]
add eax, 7
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 0x190]
push eax
push 1
call sub.WS2_32.dll_WSAStartup
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x40a11a
mov word [ebp - 0x3a8], 2
lea eax, [ebp - 0x294]
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0
je 0x40a11a
mov eax, dword [ebp - 0x3ac]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x3a4], eax
push 0x50
call sub.WS2_32.dll_htons
mov word [ebp - 0x3a6], ax
push 0x10
lea eax, [ebp - 0x3a8]
push eax
push dword [ebp - 0x298]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x40a11a
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x398]
push eax
push dword [0x401560]
push dword [ebp - 0x194]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
push 0
push dword [ebp - 0x194]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
push dword [ebp - 0x194]
push dword [ebp - 0x298]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x40a11a
push dword [ebp - 0x298]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
push 1
pop eax
jmp 0x40a12c
push dword [ebp - 0x298]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
xor eax, eax
leave
ret
Function at 0x40a46b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push dword [0x401218]
call dword [sym.imp.MSVCRT.dll__unlink]
pop ecx
call fcn.00409290
movzx eax, al
test eax, eax
jne 0x40a499
call fcn.0040920b
movzx eax, al
test eax, eax
je 0x40a4a0
xor eax, eax
jmp 0x40a65c
push 2
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
call fcn.00409a95
push 0x401b6a
call fcn.00408f09
pop ecx
test eax, eax
jne 0x40a4dd
push 0x401a6b
call fcn.00408f09
pop ecx
test eax, eax
je 0x40a56b
push 0x401b6a
push 0x401c69
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
pop ecx
test eax, eax
je 0x40a509
push 0x401a6b
push 0x401c69
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
pop ecx
test eax, eax
jne 0x40a50b
jmp 0x40a56b
push 0
push 0x40884c
push dword [0x401218]
call fcn.0040939d
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x401b6a
call dword [sym.imp.MSVCRT.dll__unlink]
pop ecx
push 0x401a6b
call dword [sym.imp.MSVCRT.dll__unlink]
pop ecx
call fcn.00409ca4
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [0x401218]
call dword [sym.imp.MSVCRT.dll__unlink]
pop ecx
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [sym.imp.MSVCRT.dll___argc]
cmp dword [eax], 1
jle 0x40a5f2
push 0x407b10
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov dword [ebp - 0x108], 1
jmp 0x40a5a1
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
mov eax, dword [sym.imp.MSVCRT.dll___argc]
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [eax]
jge 0x40a5e3
mov eax, dword [sym.imp.MSVCRT.dll___argv]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x108]
push dword [eax + ecx*4]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x408850
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
jmp 0x40a594
push 0xa
lea eax, [ebp - 0x104]
push eax
call dword [0x401564]
push 0x408854
push 0x7f
push 0
push 4
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x40a618
xor eax, eax
jmp 0x40a65c
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x40a43b
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x40a1f0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 1
pop eax
test eax, eax
je 0x40a65a
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x40a646
xor eax, eax
leave
ret 0x10
Function at 0x40618e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4061b2
xor eax, eax
test eax, eax
je 0x4061c4
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4061c4
xor ecx, ecx
jmp 0x4061c7
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406271
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4222c4], 0
push esi
jne 0x4062a8
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406282
mov dword [ecx*4 + 0x4222c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40627d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4062d9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4222c0]
xor eax, esi
inc ecx
dec edx
jne 0x4062bb
pop edi
not eax
pop esi
ret 0xc
Function at 0x101121b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1013f190]
jne 0x101121bf
repz ret
jmp fcn.1011376d

Function at 0x10113268
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.1010e20b
and dword [ebp - 4], 0
cmp dword [0x101413f0], 0
mov ebx, eax
jne 0x10113319
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101133ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101133ca
push eax
call fcn.1010e199
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101413f0], eax
call esi
push eax
call fcn.1010e199
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101413f4], eax
call esi
push eax
call fcn.1010e199
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101413f8], eax
call esi
push eax
call fcn.1010e199
pop ecx
mov dword [0x10141400], eax
test eax, eax
je 0x10113319
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1010e199
pop ecx
mov dword [0x101413fc], eax
mov eax, dword [0x101413fc]
cmp eax, ebx
je 0x10113371
cmp dword [0x10141400], ebx
je 0x10113371
push eax
call fcn.1010e214
push dword [0x10141400]
mov esi, eax
call fcn.1010e214
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10113371
test edi, edi
je 0x10113371
call esi
test eax, eax
je 0x10113368
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10113368
test byte [ebp - 0xc], 1
jne 0x10113371
or dword [ebp + 0x10], 0x200000
jmp 0x101133aa
mov eax, dword [0x101413f4]
cmp eax, ebx
je 0x101133aa
push eax
call fcn.1010e214
pop ecx
test eax, eax
je 0x101133aa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101133aa
mov eax, dword [0x101413f8]
cmp eax, ebx
je 0x101133aa
push eax
call fcn.1010e214
pop ecx
test eax, eax
je 0x101133aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101413f0]
call fcn.1010e214
pop ecx
test eax, eax
je 0x101133ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101133cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fe40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x41fe5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41fe61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41fe50
mov eax, 1
add ebx, ebx
jne 0x41fe73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41fe68
jne 0x41fe84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41fe68
xor ecx, ecx
sub eax, 3
jb 0x41fe98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ff0a
mov ebp, eax
add ebx, ebx
jne 0x41fea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41feb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41fed4
inc ecx
add ebx, ebx
jne 0x41fec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41feb5
jne 0x41fed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41feb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41fef4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41fee5
jmp 0x41fe56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41fef4
add edi, ecx
jmp 0x41fe56
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ff12
cmp byte [edi], 9
jne 0x41ff12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ff17
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41ff8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2090c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x209ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ff44
mov ecx, edi
jns 0x41ff73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x209f4]
or eax, eax
je 0x41ff89
mov dword [ebx], eax
add ebx, 4
jmp 0x41ff61
call dword [esi + 0x209f0]
mov ebp, dword [esi + 0x209f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41ffc3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x40840c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4084bf
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x4213e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 1
push 0
push 0x1388
call fcn.004111a9
push reloc.WS2_32.dll_getsockname
push 0
push 0x42127e
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.coach.2a.fit
push 0x80000301
push 0
push 0x1459
push 0xa0002
push 0
push dword [0x6b462c]
push 5
mov eax, 9
mov ebx, 0x5ad740
call fcn.004c70de
add esp, 0x40
and eax, 1
xor eax, 1
test eax, eax
jne 0x4213ed
mov esp, ebp
pop ebp
ret
Function at 0x4da4f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5fa20b
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.005ed182
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4da572
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005e9e70
mov eax, dword [eax]
push 0x692ec8
push eax
call fcn.005d8bf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005ed40d
test bl, bl
je 0x4da572
push 0x692ec8
lea ecx, [esp + 0xc]
call fcn.005ed79d
push 0x692ed4
lea ecx, [esp + 0xc]
call fcn.005ed79d
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 0x4da5ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005ed40d
jmp 0x4da679
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 0x4da632
lea edx, [esp + 0x7c]
push 0x692ed0
push edx
call fcn.005d8bf4
add esp, 8
test eax, eax
je 0x4da632
lea eax, [esp + 0x7c]
push 0x692ecc
push eax
call fcn.005d8bf4
add esp, 8
test eax, eax
je 0x4da632
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 0x4da5c2
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.005ed40d
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 0x4daea0
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 0x4daf02
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 0x4daf10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5fa28b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6afbd0]
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 0x4db048
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4daf76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005ed40d
xor eax, eax
jmp 0x4db0bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005ed54a
push esi
lea ecx, [esp + 0xc]
call fcn.005ed7d9
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 0x4db09d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004daea0
test eax, eax
jne 0x4db09d
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 SysReAllocString
mov ecx, edi
call fcn.004daea0
test eax, eax
jne 0x4db09d
lea eax, [esp + 0x14]
push 0x692ee4
push eax
call fcn.005d9df0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4db07c
lea ecx, [esp + 0x14]
push 0x692ee0
push ecx
call fcn.005d9d70
mov esi, eax
add esp, 8
test esi, esi
jne 0x4db07c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4db07f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005ed4fa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4daf8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005ed40d
xor eax, eax
jmp 0x4db0bf
mov byte [esi], 0
push 0x692edc
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.005ed40d
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