joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44d228]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d209
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44d218
or bl, 4
test esi, 0x20000000
je 0x44d223
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453904
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453916
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419b8c
mov eax, dword [0x459e64]
mov dword [eax + 4], ebx
mov dword [eax], 0x453ca8
mov eax, dword [0x459e70]
mov dword [eax + 4], ebx
mov dword [eax], 0x453cb4
mov eax, ebx
call fcn.00453cc0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411da4]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411da4]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411da4]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411da4]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411da4]
call fcn.00403460
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4500d8
push eax
push 0
push 0
mov eax, dword [0x459fa8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b5ec]
call fcn.0041cd84
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b5ec]
call fcn.0041cd84
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b5ec]
call fcn.0041cd84
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454134
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453ffc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453ffc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453ffc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453a53
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453dbc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453f8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453f6d
mov dl, 1
mov eax, dword [0x4121c0]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040421c
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x453f5c
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00441cc0
test al, al
jne 0x453e59
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453f4f
xor edx, edx
push ebp
push 0x453f48
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453e79
mov ebx, dword [ebp - 0x10]
jmp 0x453e7b
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x453f9c
lea eax, [ebp - 0x258]
call fcn.00408ed4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453f31
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x453fd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453f31
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453f31
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f4f
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x453e3a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415d24
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f93
lea eax, [ebp - 0x264]
call fcn.0040421c
ret
Function at 0x4548d4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45bb70]
cmp byte [eax + 0xa5], 0
jne 0x454945
cmp dword [0x45bb88], 0
jne 0x454906
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454890
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45bb88], eax
cmp dword [0x45bb84], 0
jne 0x454921
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45bb84], eax
cmp dword [0x45bb8c], 0
jne 0x454945
push esp
push 0
push 0
push 0x454834
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45bb8c], eax
pop edx
ret

Function at 0x454fd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bb70]
cmp dword [eax + 0x30], 0
je 0x455082
cmp dword [ebx + 0x94], 0
jne 0x45507c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454f68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45507c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x455042
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45507c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414120
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455051
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455be0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455c15
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040430c
jmp 0x455c22
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456dc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456e05
mov eax, esi
call fcn.0043d258
test al, al
je 0x456e05
mov eax, dword [ebx + 0x84]
call fcn.0043cf54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456e05
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043cf54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x425960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4230ae
lea edi, [esi - 0x220ae]
push edi
or ebp, 0xffffffff
jmp 0x425982
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425978
mov eax, 1
add ebx, ebx
jne 0x42599b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425990
jne 0x4259ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425990
xor ecx, ecx
sub eax, 3
jb 0x4259c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425a32
mov ebp, eax
add ebx, ebx
jne 0x4259cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4259d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4259fc
inc ecx
add ebx, ebx
jne 0x4259e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4259dd
jne 0x4259f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4259dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425a1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425a0d
jmp 0x42597e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425a1c
add edi, ecx
jmp 0x42597e
pop esi
mov edi, esi
mov ecx, 0xc20
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425a3a
cmp byte [edi], 1
jne 0x425a3a
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 eax, ebx
loop 0x425a3f
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425aae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2503c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425a6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25040]
or eax, eax
je 0x425aa8
mov dword [ebx], eax
add ebx, 4
jmp 0x425a89
call dword [esi + 0x25044]
popal
jmp 0x4011cb
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.MSVCR71.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, 0x2c
pushal
call 0x403203
pop dword [ebp - 0x1c]
mov eax, 0x44c42b72
add eax, 0xbb7c0691
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xd0a6fe8b
sub dword [ebp - 0x2c], 0x8254b940
mov dword [ebp - 0x28], 0x6c55f876
sub dword [ebp - 0x28], 0x3a22ac31
mov dword [ebp - 0x24], 0x6816293e
add dword [ebp - 0x24], 0xe4361af0
mov dword [ebp - 0x20], 0x9639bdcc
sub dword [ebp - 0x20], 0x9639bdcc
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x555e8ccd
sub eax, 0x551e0c41
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x760623e7
add dword [ebp - 0x2c], 0xfe6c456f
mov dword [ebp - 0x28], 0x3f7cfd64
add dword [ebp - 0x28], 0x1ef6411
mov dword [ebp - 0x24], 0xc4910bfa
sub dword [ebp - 0x24], 0x61219f8e
mov dword [ebp - 0x20], 0x864b9723
add dword [ebp - 0x20], 0x79b468dd
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x322a9
push 0
call eax
mov ecx, 0x68b33a0
sub ecx, 0x68afd56
mov edi, eax
mov edx, 0x4d3f729a
sub edx, 0x4cfe629a
add edx, dword [ebp - 0x1c]
mov esi, 0x26802c65
xor dword [ebp - 8], 0xe55f2255
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0x7f9a8d38
sub ebx, esi
mov dword [ebp - 4], 0xda679d4b
mov dword [edi], ebx
sub dword [ebp - 0xc], ecx
add edi, 0x9d2d050
sub edi, 0x9d2d04c
add edx, 4
loop 0x40331a
add eax, 0x93752891
sub eax, 0x93745c96
xor ebx, ebx
add ebx, eax
add eax, 0x46ea8ac2
sub eax, 0x46ea8abd
mov ecx, 0x4503f8a1
sub ecx, 0x44c3f8a1
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4168c7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 0x1c
call fcn.0041ca62
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 0x80000006
push 0
push 0x8c84
push 1
mov ebx, 0x9dc
call fcn.0041ca6e
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0041ca6e
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416953
push ebx
call fcn.0041ca5c
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x10], esp
push 0x1c
push dword [ebp - 8]
push dword [ebp - 4]
push 0xffffffff
mov eax, 0x12
call fcn.0041ca7a
cmp dword [ebp - 0x10], esp
je 0x416988
push 6
call fcn.0041ca74
add esp, 4
test eax, eax
je 0x4169ac
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 2
jl 0x4169ac
mov eax, 1
jmp 0x4169ae
xor eax, eax
test eax, eax
je 0x416a6e
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0xc]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0xffffffff
mov eax, 0x13
call fcn.0041ca7a
cmp dword [ebp - 0x14], esp
je 0x4169fa
push 6
call fcn.0041ca74
add esp, 4
test eax, eax
je 0x416a22
cmp word [ebp - 0xc], 0x5a4d
jne 0x416a22
cmp dword [0xc8], 0
je 0x416a22
mov eax, 1
jmp 0x416a24
xor eax, eax
test eax, eax
je 0x416a6e
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0xffffffff
call fcn.00416adf
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416a60
push ebx
call fcn.0041ca5c
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
jmp 0x416acb
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
fild dword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [1]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0040e033
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esp
push dword [0xd8]
mov eax, 0xf
call fcn.0041ca7a
cmp dword [ebp - 0x24], esp
je 0x416ab8
push 6
call fcn.0041ca74
add esp, 4
cmp dword [ebp - 4], eax
jg 0x416959
mov eax, 0
jmp 0x416acb
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0041ca5c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x401290
Capabilities:
Encode data using xor

Disassembly:
jmp dword [sym.imp.MSVBVM60.DLL_EVENT_SINK_AddRef]
push 0x401948
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi - 0x3f], bl
pushfd
jbe 0x40127e
or ch, dl
adc dword [esi - 0x28efffca], esp
or dword [ecx + 0x39], edx
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [0x30303043], ch
sub eax, 0x6a6f7250
inc ebx
xor byte [eax], dh
xor byte [0x6a6f7250], ch
arpl word gs:[ecx + esi], si
xor byte [esi + esi], dh
jge 0x4012fd
xor ch, byte [esi]
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
adc al, 0xd5
rcr byte [esi + esi*2 + 0x11d508cd], 0xa6
add byte ss:[eax], dl
xlatb
or dword [ecx - 0x633f29c7], edx
jbe 0x4012c7
or ch, dl
adc dword [esi - 0x28efffca], esp
cmpsb byte [esi], byte es:[edi]
add byte ss:[eax], dl
xlatb
or dword [ecx - 0x52b0c5c7], edx
xor ebx, dword [ecx - 0x48ee309a]
or al, 0
stosb byte es:[edi], al
add byte [eax - 0x2d], ah
xchg ebx, eax
mov bh, 0xc
add byte [edx - 0x6c2ca000], ch
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
sub byte [0x490000], al
add byte [eax], al
add byte [edi], al
add byte [ebp + 0x43], cl
xor esi, dword [edx]
pop edi
xor al, 0x32
add byte [0xc3000a01], cl
fadd st(2), st(0)
jmp 0x40130d
Function at 0x40d730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468b7b
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.0045d6d3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d7b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b5ea
mov eax, dword [eax]
push 0x47e1c4
push eax
call fcn.0044e344
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d95e
test bl, bl
je 0x40d7b2
push 0x47e1c4
lea ecx, [esp + 0xc]
call fcn.0045dcee
push 0x481d2c
lea ecx, [esp + 0xc]
call fcn.0045dcee
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 0x40d7ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d95e
jmp 0x40d8b9
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 0x40d872
lea edx, [esp + 0x7c]
push 0x481d28
push edx
call fcn.0044e344
add esp, 8
test eax, eax
je 0x40d872
lea eax, [esp + 0x7c]
push 0x481d24
push eax
call fcn.0044e344
add esp, 8
test eax, eax
je 0x40d872
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 0x40d802
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.0045d95e
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 0x40e0b0
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 0x40e112
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 0x40e120
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4881d0]
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 0x40e258
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e186
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d95e
xor eax, eax
jmp 0x40e2cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045da9b
push esi
lea ecx, [esp + 0xc]
call fcn.0045dd2a
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 0x40e2ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e0b0
test eax, eax
jne 0x40e2ad
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.0040e0b0
test eax, eax
jne 0x40e2ad
lea eax, [esp + 0x14]
push 0x481d40
push eax
call fcn.0044f380
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e28c
lea ecx, [esp + 0x14]
push 0x481d3c
push ecx
call fcn.0044f300
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e28c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e28f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045da4b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e19e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d95e
xor eax, eax
jmp 0x40e2cf
mov byte [esi], 0
push 0x481d38
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.0045d95e
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