joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eee67
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc50
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc50], ebx
mov dword [ebp - 0xc48], esi
test ebx, ebx
je 0x4ef0b2
and dword [ebp - 0xc4c], 0
test esi, esi
jne 0x4eeed4
push 0x400
lea eax, [ebp - 0xc44]
push esi
push eax
call fcn.00534b40
lea eax, [ebp - 0xc44]
push eax
call fcn.004f18bc
lea eax, [ebp - 0xc44]
add esp, 0x10
mov dword [ebp - 0xc48], eax
mov esi, eax
push esi
call fcn.0053d020
cmp byte [esi + eax - 1], 0x5c
pop ecx
jne 0x4eeeec
mov dword [ebp - 0xc4c], 1
push ebx
call fcn.004ee6fe
pop ecx
test eax, eax
je 0x4ef0b2
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
test edi, edi
jne 0x4eef0e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4eef14
push 0xb
push edi
push ebx
call esi
test eax, eax
jne 0x4ef0b2
mov ebx, 0x3ff
push ebx
push eax
mov byte [ebp - 0x844], al
lea eax, [ebp - 0x843]
push eax
call fcn.00534b40
push ebx
xor ebx, ebx
lea eax, [ebp - 0x443]
push ebx
push eax
mov byte [ebp - 0x444], 0
call fcn.00534b40
add esp, 0x18
cmp edi, ebx
je 0x4eefb8
push edi
call fcn.004ee6fe
pop ecx
test eax, eax
je 0x4eefad
push edi
lea eax, [ebp - 0x444]
push str._s.bak
push eax
call fcn.00535bfb
add esp, 0xc
push 0x5c
push edi
call fcn.005383a0
pop ecx
pop ecx
cmp dword [ebp - 0xc4c], ebx
je 0x4eef86
inc eax
push eax
push dword [ebp - 0xc48]
lea eax, [ebp - 0x844]
push str._s_s.bak
push eax
call fcn.00535bfb
add esp, 0x10
push 0xb
lea eax, [ebp - 0x444]
push eax
push edi
call esi
push 0xb
push edi
push dword [ebp - 0xc50]
jmp 0x4ef00b
mov edi, dword [ebp - 0xc50]
push edi
lea eax, [ebp - 0x444]
push str._s.bak
push eax
call fcn.00535bfb
add esp, 0xc
push 0x5c
push edi
call fcn.005383a0
pop ecx
pop ecx
cmp dword [ebp - 0xc4c], ebx
je 0x4eefe6
inc eax
push eax
push dword [ebp - 0xc48]
lea eax, [ebp - 0x844]
push str._s_s.bak
push eax
call fcn.00535bfb
add esp, 0x10
push 0xb
lea eax, [ebp - 0x444]
push eax
push edi
call esi
cmp byte [ebp - 0x844], bl
je 0x4ef0b2
cmp byte [ebp - 0x444], bl
je 0x4ef0b2
lea eax, [ebp - 0x444]
push eax
call fcn.004ee6fe
pop ecx
test eax, eax
je 0x4ef0b2
push 0
call fcn.005377d5
push 0x3f
mov edi, eax
lea eax, [ebp - 0x43]
push 0
push eax
mov byte [ebp - 0x44], bl
call fcn.00534b40
push edi
lea eax, [ebp - 0x44]
push 0x57c838
push eax
call fcn.00535bfb
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.0053d0c0
add esp, 0x24
push 0xb
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
test eax, eax
lea eax, [ebp - 0x844]
jne 0x4ef0a8
push str..bak
push eax
call fcn.0053d0c0
mov eax, ebx
pop ecx
inc ebx
pop ecx
cmp eax, 0xa
jl 0x4ef071
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.004ee748
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret
Function at 0x4ef0c1
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp - 0x404]
push str._s
push eax
call fcn.00535bfb
add esp, 0xc
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ef1a0
lea eax, [ebp - 0x518]
push 0x65cb44
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4ef17c
lea eax, [ebp - 0x518]
push 0x65cb48
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4ef17c
lea eax, [ebp - 0x518]
push eax
push esi
lea eax, [ebp - 0x404]
push 0x57a838
push eax
call fcn.00535bfb
add esp, 0x10
test byte [ebp - 0x544], 0x10
lea eax, [ebp - 0x404]
je 0x4ef16f
push eax
call fcn.004ef0c1
pop ecx
jmp 0x4ef17c
push 0
push 0
push eax
call fcn.004eee67
add esp, 0xc
lea eax, [ebp - 0x544]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4ef10d
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00534bba
leave
ret

Function at 0x4ef4ff
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xd4c
mov eax, 0x570c80
call fcn.0053d211
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xd54], eax
lea eax, [ebp - 0x810]
push str._s
push eax
call fcn.00535bfb
add esp, 0xc
lea eax, [ebp - 0xd50]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ef67d
test edi, edi
je 0x4ef67d
mov dword [ebp - 0xd58], edi
and dword [ebp - 4], 0
mov esi, 0x57a838
lea eax, [ebp - 0xd24]
push eax
push ebx
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00535bfb
lea eax, [ebp - 0xd24]
push eax
push dword [ebp - 0xd54]
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.00535bfb
add esp, 0x20
test byte [ebp - 0xd50], 0x10
je 0x4ef648
lea eax, [ebp - 0xd24]
push 0x65cb44
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4ef660
lea eax, [ebp - 0xd24]
push 0x65cb48
push eax
call fcn.0053e800
pop ecx
pop ecx
test eax, eax
je 0x4ef660
cmp byte [ebp + 0x10], 0
je 0x4ef613
lea eax, [ebp - 0xd24]
push eax
lea eax, [ebp - 0xc10]
push str.___s__
push eax
call fcn.00535bfb
push 0x400
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xc10]
push eax
call fcn.004f0dea
add esp, 0x18
lea eax, [ebp - 0x410]
push eax
call fcn.004ee71c
pop ecx
test eax, eax
jne 0x4ef631
lea eax, [ebp - 0x410]
push eax
call fcn.004ee6c0
pop ecx
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004ef4ff
jmp 0x4ef65d
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004eee67
add esp, 0xc
lea eax, [ebp - 0xd50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4ef565
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0053d25b
ret
Function at 0x4ef8d2
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x408], eax
mov eax, dword [esi]
mov byte [ebp - 0x404], 0
cmp eax, 0xffffffff
je 0x4ef9ac
test eax, eax
je 0x4ef9ac
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, 0xffffffff
je 0x4ef94d
test eax, eax
je 0x4ef94d
push str.QueryFullProcessImageNameA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ef94d
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
push dword [esi]
mov dword [ebp - 0x414], 0x400
call eax
cmp byte [ebp - 0x404], 0
je 0x4ef96f
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call fcn.0053d0b0
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x4ef9ae
and dword [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
push eax
push 4
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4ef9ac
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x410]
push dword [esi]
call sub.PSAPI.DLL_GetModuleFileNameExA
jmp 0x4ef956
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00534bba
leave
ret 4

Function at 0x4efa0f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4efa45
test eax, eax
je 0x4efa45
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x4efa45
test eax, eax
je 0x4efa45
xor eax, eax
inc eax
jmp 0x4efa47
xor eax, eax
pop ebp
ret 0xc

Function at 0x4efa95
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push esi
push 2
mov dword [ebp - 0x134], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4efacf
xor eax, eax
jmp 0x4efb6a
push 0x124
lea eax, [ebp - 0x128]
push esi
push eax
mov dword [ebp - 0x130], esi
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov esi, pe_nt_image_headers32
push edi
mov dword [ebp - 0x12c], esi
call sub.KERNEL32.dll_Process32First
jmp 0x4efb41
push dword [ebp - 0x134]
lea eax, [ebp - 0x108]
push eax
call fcn.0053791c
pop ecx
pop ecx
test eax, eax
je 0x4efb47
push esi
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4efb04
jmp 0x4efb59
mov eax, dword [ebp - 0x124]
mov dword [ebx], eax
mov dword [ebp - 0x130], 1
test edi, edi
je 0x4efb64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret
Function at 0x4efb79
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push 0x10
push 0x66a708
call fcn.0053f170
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
push str.SeDebugPrivilege
call fcn.004f7c56
pop ecx
mov dword [ebp - 4], edi
push dword [ebp + 8]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x4efbc3
xor esi, esi
inc esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4efbc3
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.004efbda
mov eax, dword [ebp - 0x20]
call fcn.0053f1b5
ret

Function at 0x4efce4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x4efdce
cmp byte [esi], bl
je 0x4efdce
push 0x1ff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.00534b40
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.0053d0b0
lea eax, [ebp - 0x204]
push eax
call fcn.00540173
add esp, 0x18
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4efdce
cmp esi, ebx
je 0x4efdce
push edi
push 0x124
lea eax, [ebp - 0x328]
push ebx
push eax
xor edi, edi
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x32c]
push eax
push esi
mov dword [ebp - 0x32c], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
jmp 0x4efdb9
lea eax, [ebp - 0x308]
push eax
call fcn.00540173
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.005383e0
add esp, 0xc
test eax, eax
jne 0x4efdbf
lea eax, [ebp - 0x32c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4efd86
jmp 0x4efdc2
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
jmp 0x4efdd0
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret
Function at 0x4efdde
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x5c
push edi
mov dword [ebp - 0x22c], 1
call fcn.005383a0
pop ecx
pop ecx
test eax, eax
jne 0x4efe18
and dword [ebp - 0x22c], eax
push esi
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4efeb7
xor esi, esi
cmp ebx, esi
je 0x4efeb7
push 0x220
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push ebx
mov dword [ebp - 0x228], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x4efe70
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4efeb9
lea eax, [ebp - 0x208]
cmp dword [ebp - 0x22c], esi
je 0x4efe84
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.0053791c
pop ecx
pop ecx
test eax, eax
je 0x4efec8
cmp byte [ebp + 0x10], 0
je 0x4efe9f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x228]
push eax
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x4efe70
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret
xor esi, esi
inc esi
jmp 0x4efe65
Function at 0x4efecd
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x570ceb
call fcn.0053d1a8
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], ebx
call fcn.00534b40
mov dword [ebp - 0x3c], ebx
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004f7cee
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004f7d3a
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov byte [ebp - 4], 1
mov edi, 0x80
cmp dword [ebp + 0x18], ebx
je 0x4eff51
lea ecx, [ebp - 0x2c]
call fcn.0056714d
push ebx
push edi
push 3
push eax
push 3
push Ordinal_4
push dword [ebp + 0x18]
call esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp + 0x1c], ebx
je 0x4eff7a
lea ecx, [ebp - 0x2c]
call fcn.0056714d
push ebx
push edi
push 4
push eax
push 3
push 0x40000000
push dword [ebp + 0x1c]
call esi
mov edi, eax
mov dword [ebp - 0x14], 1
jmp 0x4eff7d
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x80], 0x44
cmp dword [ebp - 0x14], ebx
je 0x4eff99
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], 0x100
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp + 0x14]
push ebx
push ebx
or eax, 0x8000000
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4effde
xor esi, esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004f5a61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004f7d76
mov eax, esi
call fcn.0053d247
ret
cmp dword [ebp + 0x10], ebx
je 0x4efffa
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x10], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4f0010
cmp dword [ebp - 0x10], ebx
je 0x4f0010
push dword [ebp - 0x10]
call esi
cmp edi, 0xffffffff
je 0x4f001c
cmp edi, ebx
je 0x4f001c
push edi
call esi
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x38]
call esi
xor esi, esi
inc esi
jmp 0x4effbf
Function at 0x4f036e
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x570cc0
call fcn.0053d1a8
lea ecx, [ebp - 0x14]
call fcn.004f7cee
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004f7d17
lea ecx, [ebp - 0x1c]
call fcn.004f7cee
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004f7d7b
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.004f7d3a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0056714d
push dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [eax - 0xb7]
neg esi
lea ecx, [ebp - 0x28]
sbb esi, esi
mov byte [ebp - 4], 1
call fcn.004f5a61
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004f7d94
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004f7d76
lea eax, [esi + 1]
call fcn.0053d247
ret

Function at 0x4f045d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4f0489
mov dword [ecx], eax
jmp 0x4f0499
cmp eax, 0xffffffff
je 0x4f0499
test eax, eax
je 0x4f0499
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x4f04d3
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
shl eax, 2
push eax
push dword [ebp + 8]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4f04fa
mov eax, dword [ebp - 4]
shr eax, 2
leave
ret
xor eax, eax
leave
ret

Function at 0x4f0726
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4f074c
xor eax, eax
jmp 0x4f07c9
push 0xc00
lea eax, [ebp - 0xc04]
push 0
push eax
mov dword [ebp - 0xc10], 1
call fcn.00534b40
and dword [ebp - 0xc08], 0
add esp, 0xc
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc10]
push eax
push 0
push ebx
push dword [edi]
mov dword [ebp - 0xc0c], 0xbff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f07c0
push dword [ebp + 0x10]
lea eax, [ebp - 0xc04]
push eax
push esi
mov dword [ebp - 0xc08], 1
call fcn.00537970
add esp, 0xc
jmp 0x4f07c3
mov byte [esi], 0
mov eax, dword [ebp - 0xc08]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret 0xc
Function at 0x4f0b28
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x128], esi
test ebx, ebx
je 0x4f0b5c
push ebx
call fcn.0053d020
pop ecx
mov dword [ebp - 0x124], eax
jmp 0x4f0b63
and dword [ebp - 0x124], 0
test esi, esi
jne 0x4f0b6f
or eax, 0xffffffff
jmp 0x4f0c65
push edi
push 0x9b
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4f0c61
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4f0c61
xor esi, esi
mov eax, dword [edi + 0xc]
cmp dword [esi + eax], 0
je 0x4f0c61
mov eax, dword [esi + eax]
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x84]
push 0x586cf8
push eax
call fcn.00535bfb
lea eax, [ebp - 0x84]
push str.127.0.0.1
push eax
call fcn.0053e800
add esp, 0x20
test eax, eax
je 0x4f0c41
push 4
lea eax, [ebp - 0x84]
push str.255.
push eax
call fcn.005374b7
add esp, 0xc
test eax, eax
je 0x4f0c41
push 2
lea eax, [ebp - 0x84]
push 0x57aed0
push eax
call fcn.005374b7
add esp, 0xc
test eax, eax
je 0x4f0c41
test ebx, ebx
je 0x4f0c49
push dword [ebp - 0x124]
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.005374b7
add esp, 0xc
test eax, eax
je 0x4f0c49
add esi, 4
jmp 0x4f0ba3
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x128]
call fcn.0053d0b0
pop ecx
pop ecx
xor eax, eax
jmp 0x4f0c64
push 0xfffffffffffffffe
pop eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret

Function at 0x4f0c73
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x9b
lea eax, [ebp - 0xa0]
push eax
xor edi, edi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4f0cf7
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x4f0cf7
xor eax, eax
mov edx, 0xff
push esi
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx + eax], 0
je 0x4f0cf6
mov ecx, dword [ecx + eax]
mov ecx, dword [ecx]
cmp ecx, 0x100007f
je 0x4f0cf1
mov esi, ecx
and esi, edx
je 0x4f0cf1
cmp esi, edx
je 0x4f0cf1
mov dword [ebx + edi*4], ecx
inc edi
cmp edi, dword [ebp + 0xc]
je 0x4f0cf6
add eax, 4
jmp 0x4f0cc2
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret
Function at 0x4f0d07
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x9b
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4f0d99
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4f0d99
xor esi, esi
mov eax, dword [edi + 0xc]
cmp dword [esi + eax], 0
je 0x4f0d99
mov eax, dword [esi + eax]
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x84]
push 0x586cf8
push eax
call fcn.00535bfb
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0053e800
add esp, 0x20
test eax, eax
je 0x4f0d94
add esi, 4
jmp 0x4f0d4b
xor eax, eax
inc eax
jmp 0x4f0d9b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
leave
ret

Function at 0x4f0dea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push str._system_
push esi
call fcn.0053791c
pop ecx
pop ecx
test eax, eax
jne 0x4f0e13
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
inc eax
jmp 0x4f0e7b
push 0x58b534
push esi
call fcn.0053791c
pop ecx
pop ecx
test eax, eax
jne 0x4f0e36
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004f0daa
pop ecx
pop ecx
push 2
pop eax
jmp 0x4f0e7b
push str._windows_
push esi
call fcn.0053791c
pop ecx
pop ecx
test eax, eax
jne 0x4f0e57
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 3
jmp 0x4f0e33
push str._driver_
push esi
call fcn.0053791c
pop ecx
pop ecx
test eax, eax
jne 0x4f0e79
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004f0dca
pop ecx
pop ecx
push 4
jmp 0x4f0e33
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4f17c7
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
pop ebp
ret

Function at 0x4f18bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, esi
ja 0x4f18f8
test eax, eax
je 0x4f18f8
lea eax, [ebp - 0x404]
push eax
jmp 0x4f18fd
push str.c:_temp
push edi
call fcn.0053d0b0
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00534bba
leave
ret

Function at 0x4f1913
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
leave
ret