joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45719b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, eax
mov al, byte [ebx]
test al, al
je 0x457227
push esi
lea esi, [ecx - 4]
movsx eax, al
inc ebx
sub eax, 0x20
je 0x457220
sub eax, 0x11
je 0x45720f
dec eax
je 0x4571ec
dec eax
dec eax
jne 0x457226
push dword [ebp + 8]
add esi, 4
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
mov byte [ebp - 7], cl
mov ecx, eax
mov byte [ebp - 8], al
shr ecx, 0x10
shr eax, 0x18
push 1
mov byte [ebp - 5], al
mov byte [ebp - 6], cl
push 4
lea eax, [ebp - 8]
jmp 0x457204
push dword [ebp + 8]
add esi, 4
mov eax, dword [esi]
mov byte [ebp - 4], al
sar eax, 8
push 1
mov byte [ebp - 3], al
push 2
lea eax, [ebp - 4]
push eax
call fcn.00463033
add esp, 0x10
jmp 0x457220
push dword [ebp + 8]
add esi, 4
movzx eax, byte [esi]
push eax
call fcn.00462de0
pop ecx
pop ecx
mov al, byte [ebx]
test al, al
jne 0x4571ad
pop esi
pop ebx
leave
ret

Function at 0x45722a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], al
mov al, byte [ebp + 0xc]
mov byte [ebp - 3], al
mov al, byte [ebp + 0x10]
push 1
mov byte [ebp - 2], al
lea eax, [ebp - 4]
push 3
push eax
call fcn.00463033
add esp, 0x10
leave
ret
Function at 0x457252
Capabilities:
Encrypt data using rc4 ksa
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x28], 0
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 8], 0xff
mov byte [ebp - 6], 0xff
test eax, eax
jle 0x4573e8
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jns 0x457284
or dword [ebp - 0x20], 0xffffffff
dec eax
mov dword [ebp - 0xc], eax
jmp 0x45728b
and dword [ebp - 0xc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
je 0x4573e7
imul eax, dword [ebp + 0x14]
imul esi, dword [ebp + 0x14]
imul eax, dword [ebp + 0x18]
imul esi, dword [ebp + 0x18]
lea edx, [eax + ecx]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 8]
sub eax, edx
add eax, ecx
mov dword [ebp - 0x1c], eax
push edi
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x4573ba
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0xfffffffe
sub dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0x1c], 0
jge 0x4572f6
push dword [ebp + 8]
lea eax, [edi + eax - 1]
push 1
push 1
push eax
call fcn.00463033
add esp, 0x10
mov eax, dword [ebp + 0x18]
xor ecx, ecx
cmp eax, ecx
jle 0x45738c
cmp eax, 2
jle 0x45737c
cmp eax, 3
je 0x457368
cmp eax, 4
jne 0x45738c
cmp dword [ebp + 0x1c], ecx
jne 0x457368
mov ebx, dword [ebp - 0x14]
lea eax, [ebp + ecx - 8]
mov dl, byte [eax]
movzx eax, byte [ebx + eax]
mov byte [ebp - 1], dl
movzx edx, dl
sub eax, edx
movzx edx, byte [edi + 3]
imul eax, edx
cdq
mov ebx, 0xff
idiv ebx
add al, byte [ebp - 1]
inc ecx
mov byte [ebp + ecx - 0x31], al
cmp ecx, 3
jl 0x457317
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebp + ebx - 0x2f]
push eax
push dword [ebp - 0x2f]
lea eax, [ebp - 0x2f]
push dword [ebp + 8]
sub eax, ebx
mov al, byte [eax]
call fcn.0045722a
add esp, 0xc
jmp 0x4573a9
movzx eax, byte [edi + ebx + 1]
push eax
movzx eax, byte [edi + 1]
push eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edi + 3]
jmp 0x457381
movzx eax, byte [edi]
push eax
push eax
push dword [ebp + 8]
call fcn.0045722a
add esp, 0xc
cmp dword [ebp + 0x1c], 0
jle 0x4573a9
push dword [ebp + 8]
mov eax, dword [ebp + 0x18]
push 1
lea eax, [edi + eax - 1]
push 1
push eax
call fcn.00463033
add esp, 0x10
mov eax, dword [ebp + 0x18]
add dword [ebp - 0x14], eax
add edi, eax
dec dword [ebp - 0x24]
jne 0x4572dc
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push 1
push dword [ebp + 0x20]
push eax
call fcn.00463033
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x10]
add dword [ebp - 0x18], esi
add dword [ebp - 0x1c], esi
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x20]
jne 0x4572b8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x457bb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
or eax, 0xffffffff
push esi
cmp dword [0x4ac254], edx
jne 0x457bf8
push ebx
mov ecx, 0x4ac250
push edi
push 8
mov dword [ecx], edx
mov esi, edx
pop edi
mov ebx, esi
and bl, 1
movzx ebx, bl
neg ebx
sbb ebx, ebx
and ebx, 0xedb88320
shr esi, 1
xor esi, ebx
dec edi
jne 0x457bcf
mov dword [ecx], esi
add ecx, 4
inc edx
cmp ecx, 0x4ac650
jl 0x457bc8
pop edi
pop ebx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x457c20
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
mov esi, eax
and esi, 0xff
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4ac250]
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x457bff
not eax
pop esi
pop ebp
ret

Function at 0x45bd33
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4aa0f0]
jne 0x45bd3d
repz ret
jmp fcn.004635c0

Function at 0x46ee6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aa0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00465d19
and dword [ebp - 0x14], 0
cmp dword [0x4ad2d0], 0
mov dword [ebp - 0x18], eax
jne 0x46ef1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46efc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x496f80
push ebx
call edi
test eax, eax
je 0x46efc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4ad2d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ad2d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ad2d8], eax
call edi
push eax
call esi
mov dword [0x4ad2e0], eax
test eax, eax
je 0x46ef1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ad2dc], eax
mov eax, dword [0x4ad2dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46ef78
cmp dword [0x4ad2e0], ecx
je 0x46ef78
push eax
call esi
push dword [0x4ad2e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46ef78
test ebx, ebx
je 0x46ef78
call edi
test eax, eax
je 0x46ef6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46ef6f
test byte [ebp - 8], 1
jne 0x46ef78
or dword [ebp + 0x10], 0x200000
jmp 0x46efab
mov eax, dword [0x4ad2d4]
cmp eax, dword [ebp - 0x18]
je 0x46efab
push eax
call esi
test eax, eax
je 0x46efab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46efab
mov eax, dword [0x4ad2d8]
cmp eax, dword [ebp - 0x18]
je 0x46efab
push eax
call esi
test eax, eax
je 0x46efab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ad2d0]
call esi
test eax, eax
je 0x46efc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x46efc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bd33
leave
ret
Function at 0x1e56082
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1e560ce
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1e560c8
mov ecx, dword [0x1e967f8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1e560bc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1e560a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x1e560ca
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1e57c53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x1e57cbf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x1e57d08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.01e71100
add esp, 8
test eax, eax
jne 0x1e57d06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x1e57d0a
jmp 0x1e57cb6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1e608fa
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.01e5a337
add esp, 4
and eax, 0xff
test eax, eax
je 0x1e60983
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.01e6b820
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1e60981
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x1e60981
jmp 0x1e60983
jmp 0x1e60903
mov esp, ebp
pop ebp
ret

Function at 0x1e60df3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x1e97404]
test eax, eax
jne 0x1e60e07
call fcn.01e60d24
xor ecx, ecx
mov cl, byte [0x1e97401]
test ecx, ecx
jne 0x1e60e8e
xor edx, edx
mov dl, byte [0x1e97400]
test edx, edx
jne 0x1e60e8e
cmp dword [0x1e9760c], 0
je 0x1e60e69
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x1e9760c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x1e9760c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x1e9760c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x1e60e8e
push 0x10001
push 0x1e97404
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x1e60e8e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1e63f9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x1e63faa
xor eax, eax
jmp 0x1e64173
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x1e6412b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1e94eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x1e63fb3
cmp dword [ebp + 0x10], 0
je 0x1e6416d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x1e94eac]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x1e64131
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x1e6d9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1e924c8
cmp edx, dword [eax]
je 0x1e6d9d2
add eax, 8
inc ecx
cmp eax, 0x1e92558
jl 0x1e6d9c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1e924c8]
jne 0x1e6db00
mov eax, dword [0x1e97688]
cmp eax, 1
je 0x1e6dada
test eax, eax
jne 0x1e6da03
cmp dword [0x1e92204], 1
je 0x1e6dada
cmp edx, 0xfc
je 0x1e6db00
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1e6da3a
lea eax, [ebp - 0x1a4]
push 0x1e962c8
push eax
call fcn.01e6b980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.01e6bb30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1e6da7d
lea eax, [ebp - 0x1a4]
push eax
call fcn.01e6bb30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1e962c4
push edi
call fcn.01e6bbb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x1e962a8
push eax
call fcn.01e6b980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.01e6b990
lea eax, [ebp - 0xa0]
push 0x1e962a4
push eax
call fcn.01e6b990
push dword [esi + 0x1e924cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.01e6b990
push 0x12010
lea eax, [ebp - 0xa0]
push 0x1e9627c
push eax
call fcn.01e6ff78
add esp, 0x2c
pop edi
jmp 0x1e6db00
lea eax, [ebp + 8]
lea esi, [esi + 0x1e924cc]
push 0
push eax
push dword [esi]
call fcn.01e6bb30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1e6d9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1e924c8
cmp edx, dword [eax]
je 0x1e6d9d2
add eax, 8
inc ecx
cmp eax, 0x1e92558
jl 0x1e6d9c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1e924c8]
jne 0x1e6db00
mov eax, dword [0x1e97688]
cmp eax, 1
je 0x1e6dada
test eax, eax
jne 0x1e6da03
cmp dword [0x1e92204], 1
je 0x1e6dada
cmp edx, 0xfc
je 0x1e6db00
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1e6da3a
lea eax, [ebp - 0x1a4]
push 0x1e962c8
push eax
call fcn.01e6b980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.01e6bb30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1e6da7d
lea eax, [ebp - 0x1a4]
push eax
call fcn.01e6bb30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1e962c4
push edi
call fcn.01e6bbb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x1e962a8
push eax
call fcn.01e6b980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.01e6b990
lea eax, [ebp - 0xa0]
push 0x1e962a4
push eax
call fcn.01e6b990
push dword [esi + 0x1e924cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.01e6b990
push 0x12010
lea eax, [ebp - 0xa0]
push 0x1e9627c
push eax
call fcn.01e6ff78
add esp, 0x2c
pop edi
jmp 0x1e6db00
lea eax, [ebp + 8]
lea esi, [esi + 0x1e924cc]
push 0
push eax
push dword [esi]
call fcn.01e6bb30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100172b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b862b
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.100acd15
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10017332
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100aa788
mov eax, dword [eax]
push 0x100eacb0
push eax
call fcn.10081084
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100acfa0
test bl, bl
je 0x10017332
push 0x100eacb0
lea ecx, [esp + 0xc]
call fcn.100ad330
push 0x100eacbc
lea ecx, [esp + 0xc]
call fcn.100ad330
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 0x1001736e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100acfa0
jmp 0x10017439
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 0x100173f2
lea edx, [esp + 0x7c]
push 0x100eacb8
push edx
call fcn.10081084
add esp, 8
test eax, eax
je 0x100173f2
lea eax, [esp + 0x7c]
push 0x100eacb4
push eax
call fcn.10081084
add esp, 8
test eax, eax
je 0x100173f2
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 0x10017382
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.100acfa0
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 0x10017c40
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 0x10017ca2
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 0x10017cb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b86ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100fa10c]
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 0x10017de8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10017d16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100acfa0
xor eax, eax
jmp 0x10017e5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100ad0dd
push esi
lea ecx, [esp + 0xc]
call fcn.100ad36c
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 0x10017e3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10017c40
test eax, eax
jne 0x10017e3d
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 closesocket
mov ecx, edi
call fcn.10017c40
test eax, eax
jne 0x10017e3d
lea eax, [esp + 0x14]
push 0x100eaccc
push eax
call fcn.10082210
mov esi, eax
add esp, 8
test esi, esi
jne 0x10017e1c
lea ecx, [esp + 0x14]
push 0x100eacc8
push ecx
call fcn.10082190
mov esi, eax
add esp, 8
test esi, esi
jne 0x10017e1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10017e1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100ad08d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10017d2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100acfa0
xor eax, eax
jmp 0x10017e5f
mov byte [esi], 0
push 0x100eacc4
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.100acfa0
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