joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004c82
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x1000a2d0]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [0x1000a2bc]
mov eax, dword [edi + 0x3c]
add eax, edi
movzx edx, word [eax + 6]
movzx esi, word [eax + 0x14]
imul edx, edx, 0x28
xor ecx, 0xd189
movzx ecx, cx
add edx, eax
mov dword [ebp - 0xc], ecx
lea esi, [esi + edx + 0x40]
jmp 0x10004cc7
cmp ax, cx
je 0x10004cd1
add esi, 0x14
movzx eax, word [esi]
test ax, ax
jne 0x10004cbf
jmp 0x10004d38
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10004cdd
cmp dword [esi + 8], eax
jne 0x10004d30
test byte [esi + 3], 2
jne 0x10004d30
mov eax, dword [esi + 0x10]
inc eax
push eax
call fcn.10003bf6
mov ebx, eax
test ebx, ebx
je 0x10004d2d
test byte [esi + 3], 1
je 0x10004d3f
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
push ebx
add eax, edi
call fcn.10002acf
cmp eax, dword [ebp - 8]
jne 0x10004d16
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 4
jb 0x10004d21
mov eax, dword [esi + 4]
xor dword [ebx], eax
cmp dword [ebp - 4], 0
jne 0x10004d88
push ebx
call fcn.10005dd8
mov ecx, dword [ebp - 0xc]
movzx eax, byte [esi + 2]
lea esi, [esi + eax*4 + 0x14]
cmp word [esi], cx
je 0x10004cd1
jmp 0x10004d9c
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
add eax, edi
shr ecx, 2
mov dword [ebp + 0x10], ebx
je 0x10004d6c
mov edx, dword [eax]
sub edx, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
add dword [ebp - 4], edx
add dword [ebp + 0x10], 4
add eax, 4
dec ecx
mov dword [edi], edx
jne 0x10004d55
mov ecx, dword [esi + 0x10]
and ecx, 3
je 0x10004d81
push ecx
push eax
push dword [ebp + 0x10]
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0xc]
mov byte [ebx + eax], 0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000504b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20
call fcn.10003bf6
mov esi, eax
test esi, esi
je 0x10005120
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000b11a]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000b792]
push eax
push ebx
mov dword [ebp - 4], 0x7f
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x10005118
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000b77f]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x10], eax
je 0x10005118
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000b74e]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x14], eax
je 0x10005118
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000b72e]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x10005118
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000b7a2]
push eax
push ebx
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x10005118
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], 0x40
call fcn.10005158
test eax, eax
mov dword [ebp - 4], eax
jne 0x10005118
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x10005127
push esi
call fcn.10005dd8
jmp 0x10005127
mov dword [ebp - 4], 8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1000589a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x100058d5
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x10005d2d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x10005d91
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x10005d81
mov eax, dword [0x1000a2d4]
lea eax, [eax + 0x1000bdd4]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x10005d87
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10005d57
jmp 0x10005d8a
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10005ded
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x28]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
lea edi, [esi + 0x2c]
mov dword [ebp - 0xc], ebx
mov dword [edi], ebx
mov dword [ebp - 8], eax
jne 0x10005ee8
push ebx
push dword [esi + 0x18]
mov dword [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x10005edf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push ebx
push 0x20000013
push dword [esi + 0x18]
call edi
test eax, eax
je 0x10005edf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x16
push dword [esi + 0x18]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call edi
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.10003bf6
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x10005ed6
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push 0x16
push dword [esi + 0x18]
call edi
test eax, eax
je 0x10005ec3
shr dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov word [eax + ecx*2], bx
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.10003bf6
mov edi, eax
cmp edi, ebx
je 0x10005eba
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 0x10]
push edi
call sub.ntdll.dll_wcstombs
add esp, 0xc
mov dword [esi + 0xc], edi
jmp 0x10005ecc
mov dword [ebp - 8], 8
jmp 0x10005ecc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push dword [ebp - 0x10]
call fcn.10005dd8
jmp 0x10005ee8
mov dword [ebp - 8], 8
jmp 0x10005ee8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret
Function at 0x100064e5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
push esi
push edi
push ebx
call fcn.10001f3e
test eax, eax
mov dword [ebp + 8], eax
je 0x10006568
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.ntdll.dll_memset
mov eax, dword [0x1000a2d4]
add esp, 0xc
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x3c], 0x3c
je 0x1000652b
lea eax, [eax + 0x1000b8f8]
jmp 0x10006531
lea eax, [eax + 0x1000b4c8]
mov dword [ebp - 0x20], esi
mov esi, dword [sym.imp.KERNEL32.dll_Wow64EnableWow64FsRedirection]
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
call esi
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x10006560
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x10006564
and dword [ebp + 8], 0
push 1
call esi
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret 8

Function at 0x10006cf3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov edx, esi
call fcn.10003d49
test eax, eax
jne 0x10006dec
mov eax, dword [ebp - 4]
push ebx
mov ebx, dword [ebp - 4]
and ebx, 0xfff
neg ebx
sbb ebx, ebx
shr eax, 0xc
neg ebx
add ebx, eax
mov eax, dword [ebp - 8]
push edi
lea edi, [eax + esi]
mov eax, ebx
shl eax, 0xc
push eax
mov dword [ebp - 0x14], edi
call fcn.10003bf6
mov esi, eax
test esi, esi
mov dword [ebp - 0x10], esi
je 0x10006de7
push dword [ebp - 4]
push edi
push esi
call sub.ntdll.dll_memcpy
add esp, 0xc
xor eax, eax
test ebx, ebx
jbe 0x10006dbe
mov edx, dword [ebp + 8]
mov ecx, esi
sub ecx, edi
lea ecx, [ecx + edx + 0x1000b7e2]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
mov edx, dword [ebp - 4]
mov esi, str.May_31_2021
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [eax + 1]
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
mov ecx, edi
add eax, dword [ebp - 8]
push 1
add eax, dword [ebp + 8]
mov esi, 0x1000
shr eax, cl
push eax
mov eax, esi
call fcn.10005f55
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
add dword [ebp - 4], esi
add ecx, dword [eax + 0xc]
mov eax, edi
cmp eax, ebx
jb 0x10006d74
mov esi, dword [ebp - 0x10]
jmp 0x10006dc1
mov ecx, dword [ebp + 8]
lea eax, [ecx - 0x63699bc3]
test eax, eax
jne 0x10006ddc
sub esi, dword [ebp - 0x14]
mov dword [0x1000a2d0], ecx
mov dword [0x1000a2d4], esi
jmp 0x10006dea
push esi
call fcn.10005dd8
xor eax, eax
inc eax
jmp 0x10006dea
push 8
pop eax
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x100076e8
Capabilities:
Receive http response

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0xc], 0
jne 0x100076fa
call fcn.10005ded
test eax, eax
jne 0x10007702
mov eax, esi
pop esi
jmp fcn.10003c0b
pop esi
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401c66
pop dword [ebp - 0x30]
mov eax, 0x8b33d4b6
add eax, 0x750c47b0
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x2eeb3a85
add dword [ebp - 0x40], 0x1f670ac6
mov dword [ebp - 0x3c], 0x17bd00c6
sub dword [ebp - 0x3c], 0xe589b481
mov dword [ebp - 0x38], 0x1af44cde
sub dword [ebp - 0x38], 0xcea808b0
mov dword [ebp - 0x34], 0x6190aacb
sub dword [ebp - 0x34], 0x6190aacb
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x6ad4268c
sub dword [ebp - 0x40], 0xf661bd36
mov dword [ebp - 0x3c], 0xc2f90088
add dword [ebp - 0x3c], 0x7e7360ed
mov dword [ebp - 0x38], 0x2caf7ce3
sub dword [ebp - 0x38], 0xc9401077
mov dword [ebp - 0x34], 0xb4c802db
sub dword [ebp - 0x34], 0xb4c802db
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1d5179c4
sub eax, 0x1d114998
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3810a
push 0
call eax
mov ecx, 0x9404931a
sub ecx, 0x940444c4
mov esi, eax
mov edi, 0x9acc7c20
add edi, 0x6573f3e0
add edi, dword [ebp - 0x30]
mov edx, 0x8dfa062f
sub edx, 0xd8565139
sub dword [ebp - 4], eax
mov ebx, dword [edi]
xor dword [ebp - 4], 0x6454878c
sub ebx, edx
add dword [ebp - 0xc], ecx
mov dword [esi], ebx
add dword [ebp - 0x2c], 0x8205212c
add esi, 0xc003afac
sub esi, 0xc003afa8
add edi, 0xfb2ea6e4
add edi, 0x4d15920
loop 0x401d83
add eax, 0x2999045
add eax, 0xfd679be6
xor ebx, ebx
add ebx, eax
add eax, 0xcf880129
sub eax, 0xcf880124
mov ecx, 0xda7998a9
add ecx, 0x25c66757
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x1001aeee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1001aefd
pop dword [ebp - 8]
mov eax, 0x8dd5da71
add eax, 0x822bd48c
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x4a38afbe
add dword [ebp - 0x18], 0x419958d
mov dword [ebp - 0x14], 0x20e8bfc5
sub dword [ebp - 0x14], 0xeeb57380
mov dword [ebp - 0x10], 0x452edca5
sub dword [ebp - 0x10], 0xf8e29877
mov dword [ebp - 0xc], 0x20e144b2
sub dword [ebp - 0xc], 0x20e144b2
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xc38b57e
add dword [ebp - 0x18], 0x6839b3d8
mov dword [ebp - 0x14], 0xe73be50b
sub dword [ebp - 0x14], 0xa5cf8396
mov dword [ebp - 0x10], 0x2f53cacf
sub dword [ebp - 0x10], 0xcbe45e63
mov dword [ebp - 0xc], 0xbf8dca7
add dword [ebp - 0xc], 0xf4072359
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xf6e4d32f
add eax, 0x191cecd1
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x375fa
push 0
call eax
mov ecx, 0x47c7
xor ebx, ebx
add ebx, eax
mov edi, 0x10026800
add edi, dword [ebp - 8]
mov edx, 0xb1b037b3
add edx, 0x76439066
mov esi, dword [edi]
xor dword [ebp - 4], ebx
add esi, edx
sub dword [ebp - 4], 0xbdff22d7
mov dword [ebx], esi
add dword [ebp - 4], eax
add ebx, 4
add edi, 4
loop 0x1001b010
add eax, 0x210770ec
add eax, 0xdef9a103
xor ebx, ebx
add ebx, eax
add eax, 0x5b91453f
sub eax, 0x5b91453a
mov ecx, 0x2d8492be
sub ecx, 0x1d8492be
add ecx, dword [ebp - 8]
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
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x405a12
pop dword [ebp - 0x20]
mov eax, 0x1a132999
sub eax, 0x19d2cf87
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xab3bffe3
sub dword [ebp - 0x30], 0x5ce9ba98
mov dword [ebp - 0x2c], 0x62eb7461
sub dword [ebp - 0x2c], 0x30b8281c
mov dword [ebp - 0x28], 0x6af4c9bf
add dword [ebp - 0x28], 0xe1577a6f
mov dword [ebp - 0x24], 0xb1acad8e
sub dword [ebp - 0x24], 0xb1acad8e
lea eax, [ebp - 0x30]
push eax
mov eax, 0x658a7b04
sub eax, 0x6549fa00
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x88a9aa9d
add dword [ebp - 0x30], 0xebc8beb9
mov dword [ebp - 0x2c], 0x4941032b
sub dword [ebp - 0x2c], 0x7d4a1b6
mov dword [ebp - 0x28], 0xfcd522bf
add dword [ebp - 0x28], 0x669a49ad
mov dword [ebp - 0x24], 0xb4948ccd
sub dword [ebp - 0x24], 0xb4948ccd
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xef7c4634
add eax, 0x10c43acc
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x393d8
push 0
call eax
mov ecx, 0xde243802
add ecx, 0x21dc1908
xor esi, esi
add esi, eax
mov edx, 0xfe824287
add edx, 0x1c4a179
add edx, dword [ebp - 0x20]
mov edi, 0x95d6dfa6
sub edi, 0xac68d711
add dword [ebp - 0x10], ecx
mov ebx, dword [edx]
xor dword [ebp - 0xc], 0xbadf6521
add ebx, edi
add dword [ebp - 0x1c], eax
mov dword [esi], ebx
sub dword [ebp - 0xc], 0xb9a5901c
add esi, 0xf72f1e0e
sub esi, 0xf72f1e0a
add edx, 0x99f5deea
sub edx, 0x99f5dee6
loop 0x405b36
add eax, 0x136fb
mov ebx, eax
add eax, 0x7c2f9067
sub eax, 0x7c2f9062
mov ecx, 0x548fcd2f
add ecx, 0xabb032d1
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x6d461799
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d4617e7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d4617f8
push 0xd
pop eax
jmp 0x6d461822
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d4617fb
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d461db8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d46c188]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d467610
mov ebx, eax
cmp ebx, esi
je 0x6d461e2b
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d461e43
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d461db8
cmp eax, esi
jne 0x6d461e75
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d461e33
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d461658
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4616c7
mov eax, esi
jmp 0x6d461e11
Function at 0x6d463f59
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x6d46c188]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
mov eax, dword [ebp + 0x8fc]
push ebx
push esi
mov esi, 0x400
push esi
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call fcn.6d467610
add esp, 0x10
test eax, eax
je 0x6d4640b4
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
lea eax, [ebp + 0x3ec]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x6d4640b4
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
xor ebx, ebx
push edi
mov byte [ebp + 0x7ec], bl
mov edi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], ebx
je 0x6d463ff5
push str.__new
jmp 0x6d463ffa
push str.__old
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x904], ebx
je 0x6d46401b
push str.__high
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x90c], ebx
je 0x6d464035
push str.__settreatas
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
pop edi
cmp dword [ebp + 0x904], ebx
je 0x6d46406b
call fcn.6d467610
test eax, eax
je 0x6d46406b
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], ebx
je 0x6d46407a
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x6d4640b4
cmp dword [ebp - 0x48], ebx
je 0x6d4640b0
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x6d4640b6
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0x8f4
leave
ret
Function at 0x6d4641d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x6d46c188]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
push esi
xor ebx, ebx
push 0x3ff
lea eax, [ebp + 0x389]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x388], bl
call sub.MSVCR100.dll_memset
push esi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov esi, 0x400
lea eax, [ebp + 0x388]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
lea eax, [ebp + 0x388]
push ebx
push eax
cmp dword [ebp + 0x794], ebx
jne 0x6d464251
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6d464258
xor eax, eax
jmp 0x6d464299
push SysReAllocString
jmp 0x6d464243
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x6d46974e
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x6d464280
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6d46424d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.MSVCR100.dll__mbscmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0x78c
leave
ret

Function at 0x6d4642b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8d0]
sub esp, 0x950
mov eax, dword [0x6d46c188]
xor eax, ebp
mov dword [ebp + 0x8cc], eax
mov eax, dword [ebp + 0x8d8]
push ebx
push esi
push edi
push 0x3ff
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x4cd]
push 0
push eax
mov byte [ebp + 0x4cc], 0
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0xc
and dword [ebp - 0x78], 0
mov ebx, 0x6d46c10c
mov edi, 0x400
cmp dword [ebp - 0x78], 0
jne 0x6d4643ca
push dword [ebp - 0x80]
lea eax, [ebp + 0xcc]
push edi
push eax
mov byte [ebp + 0xcc], 0
call esi
push str._
lea eax, [ebp + 0xcc]
push edi
push eax
call esi
push dword [ebx]
lea eax, [ebp + 0xcc]
push edi
push eax
call esi
add esp, 0x24
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x6d4643bb
push dword [ebp - 0x80]
lea eax, [ebp + 0x4cc]
push edi
push eax
mov byte [ebp + 0x4cc], 0
call esi
push 0x6d469c34
lea eax, [ebp + 0x4cc]
push edi
push eax
call esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4cc]
push edi
push eax
call esi
lea eax, [ebp + 0x4cc]
push eax
call fcn.6d4663b8
add esp, 0x28
test eax, eax
je 0x6d4643b4
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6d46435d
jmp 0x6d4643bb
mov dword [ebp - 0x78], 1
add ebx, 4
cmp ebx, 0x6d46c118
jl 0x6d464308
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp + 0x8cc]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0x8d0
leave
ret