joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415fa1
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x415fba
or eax, 0xffffffff
jmp 0x41601b
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x416017
push 0x3d
push esi
call fcn.004161ab
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x416017
cmp esi, eax
je 0x416017
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x41c56c]
sete cl
cmp eax, dword [0x41c570]
mov dword [ebp - 8], ecx
jne 0x415ffd
mov edi, eax
call fcn.00415f3b
mov dword [0x41c56c], eax
cmp eax, ebx
jne 0x416056
cmp dword [ebp + 0xc], ebx
je 0x41601f
cmp dword [0x41c574], ebx
je 0x41601f
call fcn.0041545b
test eax, eax
je 0x416056
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x416028
xor eax, eax
jmp 0x41601a
push 4
call fcn.00406dd6
cmp eax, ebx
pop ecx
mov dword [0x41c56c], eax
je 0x416017
mov dword [eax], ebx
cmp dword [0x41c574], ebx
jne 0x416056
push 4
call fcn.00406dd6
cmp eax, ebx
pop ecx
mov dword [0x41c574], eax
je 0x416017
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x41c56c]
call fcn.00415ee9
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4160b7
cmp dword [esi], ebx
je 0x4160b7
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00406a11
cmp dword [ebp - 8], ebx
pop ecx
jne 0x41609a
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4160f8
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x416091
mov eax, edi
shl eax, 2
push eax
push dword [0x41c56c]
call fcn.0041263d
cmp eax, ebx
pop ecx
pop ecx
je 0x4160f8
jmp 0x4160f3
cmp dword [ebp - 8], ebx
jne 0x416163
cmp edi, ebx
jge 0x4160c6
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x41c56c]
call fcn.0041263d
cmp eax, ebx
pop ecx
pop ecx
je 0x416017
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x41c56c], eax
cmp dword [ebp + 0xc], ebx
je 0x41614d
push dword [ebp - 4]
call fcn.00406c30
inc eax
inc eax
push eax
call fcn.00406dd6
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x41614d
push dword [ebp - 4]
push esi
call fcn.00406300
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x416146
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00406a11
pop ecx
cmp dword [ebp - 8], ebx
je 0x41615b
push dword [ebp - 4]
call fcn.00406a11
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41601a
push dword [ebp - 4]
call fcn.00406a11
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x416024
Function at 0x10069c4
Capabilities:
Encode data using xor

Disassembly:
inc ecx
or eax, 0xffffffff
dec esp
mov ecx, ecx
test edx, edx
je 0x10069fc
inc esp
mov edx, edx
inc ecx
movzx edx, byte [ecx]
inc ecx
mov eax, eax
inc ecx
mov ecx, eax
dec eax
xor edx, eax
shr ecx, 8
dec ecx
inc ecx
movzx eax, dl
dec eax
lea edx, [0x19131]
inc esp
mov eax, dword [edx + eax*4]
inc esp
xor eax, ecx
dec ecx
sub edx, 1
jne 0x10069d2
inc ecx
not eax
inc ecx
mov eax, eax
ret
Function at 0x4067f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [0x46c15c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x6ec14e31
mov eax, dword [ebp - 0x10]
mov ecx, eax
sub ecx, 0x6ec14e30
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jg 0x40686a
jmp 0x406828
mov eax, dword [ebp - 0x14]
sub eax, 0x83949044
mov dword [ebp - 0x1c], eax
je 0x4068e3
jmp 0x40683e
mov eax, dword [ebp - 0x14]
sub eax, 0xafdaabd4
mov dword [ebp - 0x20], eax
je 0x4068b7
jmp 0x406854
mov eax, dword [ebp - 0x14]
sub eax, 0xd7b4ab8
mov dword [ebp - 0x24], eax
je 0x4068a3
jmp 0x406880
mov eax, dword [ebp - 0x14]
sub eax, 0x6ec14e31
mov dword [ebp - 0x28], eax
je 0x406885
jmp 0x406880
jmp 0x4068eb
mov eax, 0xafdaabd4
mov ecx, 0xd7b4ab8
mov edx, dword [ebp - 4]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x4068eb
mov eax, dword [0x46c15c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x83949044
jmp 0x4068eb
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x46c15c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x83949044
jmp 0x4068eb
mov eax, dword [ebp - 8]
add esp, 0x28
pop ebp
ret
jmp 0x40680c
Function at 0x443aea
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46ba70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00441f9a
mov dword [ebp - 0x14], eax
cmp dword [0x46d19c], edi
jne 0x443bdb
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x443b68
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x443cbb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x443cbb
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x443cbb
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x46d19c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46d1a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x46d1a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46d1ac], eax
test eax, eax
je 0x443bd8
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46d1a8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x443c00
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x443bf3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x443c15
push 4
pop eax
jmp 0x443cbd
cmp dword [ebp - 0x14], edi
je 0x443c15
push dword [0x46d19c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x443bfa
mov eax, dword [0x46d1a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x443c73
cmp dword [0x46d1ac], esi
je 0x443c73
push eax
call ebx
push dword [0x46d1ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x443c73
test eax, eax
je 0x443c73
call ecx
test eax, eax
je 0x443c68
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x443c68
test byte [ebp - 8], 1
jne 0x443c73
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x443ca3
mov eax, dword [0x46d1a0]
cmp eax, esi
je 0x443ca0
push eax
call ebx
test eax, eax
je 0x443ca0
call eax
mov edi, eax
test edi, edi
je 0x443ca0
mov eax, dword [0x46d1a4]
cmp eax, esi
je 0x443ca0
push eax
call ebx
test eax, eax
je 0x443ca0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x46d19c]
call ebx
test eax, eax
je 0x443cbb
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x443cbd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443ccc
leave
ret
Function at 0x401131
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
jne 0x40115a
jmp 0x4011ef
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x453050
push 1
push 0
push 0x453040
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401186
jmp 0x4011ed
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4011a1
jmp 0x4011eb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4011c0
jmp 0x4011e9
cmp dword [ebp - 8], 0
je 0x4011d2
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x4011e4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
jmp 0x4011f1
jmp 0x4011c0
jmp 0x4011c0
jmp 0x4011c0
jmp 0x4011c0
mov esp, ebp
pop ebp
ret 8
Function at 0x403224
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2934
call fcn.0043f3c0
push edi
mov byte [ebp - 0x110], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x453158
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
push str.iphlpapi.dll
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.00402f00
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4032ab
xor al, al
jmp 0x40342f
mov byte [ebp - 4], 0
mov dword [ebp - 0x114], 0
push str.GetAdaptersInfo
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x403404
mov dword [ebp - 0x2918], 0x2800
lea edx, [ebp - 0x2918]
push edx
lea eax, [ebp - 0x2914]
push eax
call dword [ebp - 0x114]
test eax, eax
jne 0x403404
lea ecx, [ebp - 0x2914]
mov dword [ebp - 0x291c], ecx
mov dword [ebp - 0x2920], 3
cmp dword [ebp - 0x291c], 0
je 0x403404
mov edx, dword [ebp - 0x291c]
add edx, 8
push edx
call fcn.00403434
add esp, 4
mov dword [ebp - 0x2924], eax
lea ecx, [ebp - 0x292c]
call fcn.004036b0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403700
and eax, 0xff
test eax, eax
jne 0x40337a
mov eax, dword [ebp - 0x291c]
cmp dword [eax + 0x1a0], 6
jne 0x4033f1
mov ecx, dword [ebp - 0x2920]
cmp ecx, dword [ebp - 0x2924]
jle 0x4033f1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x291c]
mov cl, byte [eax + 0x194]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x291c]
mov cl, byte [eax + 0x195]
mov byte [edx + 1], cl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x291c]
mov cl, byte [eax + 0x196]
mov byte [edx + 2], cl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x291c]
mov cl, byte [eax + 0x197]
mov byte [edx + 3], cl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x291c]
mov cl, byte [eax + 0x198]
mov byte [edx + 4], cl
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x291c]
mov cl, byte [eax + 0x199]
mov byte [edx + 5], cl
mov edx, dword [ebp - 0x2924]
mov dword [ebp - 0x2920], edx
mov eax, dword [ebp - 0x291c]
mov ecx, dword [eax]
mov dword [ebp - 0x291c], ecx
jmp 0x403317
cmp dword [ebp - 8], 0
je 0x40341b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x2934]
call fcn.004036b0
push eax
mov ecx, dword [ebp + 8]
call fcn.004036d0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x403434
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403494
jmp 0x40360b
mov ecx, dword [ebp + 8]
push ecx
push str._sConnection
push 0x103
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4034da
jmp 0x403609
mov dword [ebp - 0x11c], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x11c]
push edx
push 0
push str.MediaSubType
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403514
jmp 0x403607
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x10], 0x103
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push str.PnpInstanceID
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403567
jmp 0x403605
cmp dword [ebp - 8], 1
jne 0x40359d
push 0x453208
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
push 0x45320c
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40359d
mov dword [ebp - 4], 0
jmp 0x4035e9
cmp dword [ebp - 8], 1
jne 0x4035d3
push 0x453210
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
push 0x453214
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x4035d3
mov dword [ebp - 4], 2
jmp 0x4035e9
cmp dword [ebp - 8], 2
jne 0x4035e2
mov dword [ebp - 4], 1
jmp 0x4035e9
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
jmp 0x40360d
jmp 0x4035e9
jmp 0x4035e9
jmp 0x4035f3
jmp 0x403600
mov esp, ebp
pop ebp
ret

Function at 0x403750
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x404fcc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x40677a
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x40679d
xor eax, eax
jmp 0x406814
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push edx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x4067fa
mov dword [ebp - 0x1c], 0x1c
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.KERNEL32.dll_Thread32First
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4067f8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx]
jne 0x4067e6
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406b40
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.dll_Thread32Next
mov dword [ebp - 0x24], eax
jmp 0x4067ca
jmp 0x406801
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x20], 0
je 0x406811
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 4
Function at 0x407c11
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449ea5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.00407d82
add esp, 8
mov dword [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x407cb1
push 1
lea ecx, [ebp - 0x34]
push ecx
call fcn.00407d82
add esp, 8
mov byte [ebp - 4], 1
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x24], 0xffffffff
je 0x407ce5
push 0
lea edx, [ebp - 0x38]
push edx
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x407cdb
cmp dword [ebp - 0x38], 0x10
jne 0x407cdb
mov byte [ebp - 0x10], 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x3c], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4099ff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x33
mov byte [ebp - 0x2e], 0x34
mov byte [ebp - 0x2d], 0x39
mov byte [ebp - 0x2c], 0x37
mov byte [ebp - 0x2b], 0x43
mov byte [ebp - 0x2a], 0x36
mov byte [ebp - 0x29], 0x31
mov byte [ebp - 0x28], 0x2d
mov byte [ebp - 0x27], 0x42
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x35
mov byte [ebp - 0x24], 0x39
mov byte [ebp - 0x23], 0x2d
mov byte [ebp - 0x22], 0x34
mov byte [ebp - 0x21], 0x62
mov byte [ebp - 0x20], 0x38
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x2d
mov byte [ebp - 0x1d], 0x38
mov byte [ebp - 0x1c], 0x44
mov byte [ebp - 0x1b], 0x37
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x2d
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x44
mov byte [ebp - 0x16], 0x46
mov byte [ebp - 0x15], 0x37
mov byte [ebp - 0x14], 0x37
mov byte [ebp - 0x13], 0x32
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x37
mov byte [ebp - 0xd], 0x46
mov byte [ebp - 0xc], 0
mov dword [ebp - 8], 0x10c24
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x1c4], 0
je 0x409ad2
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x1c8], 0
je 0x409ad2
mov dword [ebp - 4], 1
jmp 0x409b4f
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x1c4], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x1c4], 0
jne 0x409aff
jmp 0x409b4d
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x1c8], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x1c8], 0
jne 0x409b2e
jmp 0x409b4b
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x409b51
jmp 0x409b46
jmp 0x409b46
jmp 0x409b46
mov esp, ebp
pop ebp
ret
Function at 0x40c7cf
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
push edi
mov dword [ebp - 0xa64], ecx
mov ax, word [0x45ef44]
mov word [ebp - 0x414], ax
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], 0
mov dword [ebp - 0x640], 0
mov ecx, 0x8a
xor eax, eax
lea edi, [ebp - 0x63c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x648], 0
push 0x208
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x40c856
xor eax, eax
jmp 0x40c9bc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40c86f
xor eax, eax
jmp 0x40c9bc
mov dword [ebp - 0x640], 0x22c
lea edx, [ebp - 0x640]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x644], eax
cmp dword [ebp - 0x644], 0
je 0x40c9ac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x638], eax
je 0x40c991
push str.TenSafe.exe
lea ecx, [ebp - 0x61c]
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c991
mov dx, word [0x45ef48]
mov word [ebp - 0xa5c], dx
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0xa5a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x638]
push eax
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x40c991
push 0x208
lea ecx, [ebp - 0xa5c]
push ecx
push 0
mov edx, dword [ebp - 0x64c]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x40c984
push 0x208
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40c984
push 0
mov edx, dword [ebp - 0x64c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x40c984
mov dword [ebp - 0x648], 1
push 0xbb8
mov eax, dword [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xa60], eax
mov ecx, dword [ebp - 0x64c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x640]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x644], eax
jmp 0x40c88f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x648]
pop edi
mov esp, ebp
pop ebp
ret