joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44db00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x88]
mov byte [eax + 0x58], 1
mov byte [ebp - 0xd], 0
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
mov ecx, dword [0x4b8388]
call fcn.00433e90
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0x60
jae 0x44db46
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x8c], edx
jmp 0x44db50
mov dword [ebp - 0x8c], 0x60
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0048ccc0
add esp, 0xc
mov eax, dword [ebp - 0x88]
cmp dword [eax], 0x2e
jne 0x44db7b
mov byte [ebp - 0xd], 1
jmp 0x44dbe2
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push 0x4b75c8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44dbe2
mov dword [ebp - 0x18], 0x60
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x88]
push eax
push 0
push 0
push 0x4b72b0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44dbd8
mov edx, dword [ebp - 0x88]
cmp dword [edx], 0x2e
jne 0x44dbd4
mov byte [ebp - 0xd], 1
jmp 0x44dbd8
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x44dcd8
mov edx, dword [ebp - 0x88]
mov dword [edx], 0x2e
push 0
push 0
push 0xd
mov ecx, dword [0x4b8388]
call fcn.0042ff60
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x44dc2b
push 0
call fcn.0048ea23
add esp, 4
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x44dc49
push 0
call fcn.0048ea23
add esp, 4
sub eax, 0xd2f00
sbb edx, 0
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x24], 0xea60
mov eax, dword [ebp - 0x88]
mov ecx, dword [0x4a332c]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x34], 0x36ee80
mov eax, dword [ebp - 0x88]
mov dword [eax + 0x2c], 1
mov ecx, dword [ebp - 0x88]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x88]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x88]
fld qword [0x4a2d28]
fstp qword [ecx + 0x48]
mov edx, dword [ebp - 0x88]
fld qword [0x4a2f20]
fstp qword [edx + 0x50]
push 0
mov ecx, dword [ebp - 0x88]
call fcn.0044dcf0
mov eax, dword [ebp - 0x88]
mov esp, ebp
pop ebp
ret
Function at 0x44e000
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x4a3520
mov eax, dword [ebp + 8]
push eax
call fcn.0049a8c5
add esp, 8
test eax, eax
jne 0x44e089
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x44e03f
push 0
push 0
push 0
push 0x4b87a8
push 0x4a2cb0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x44e085
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push 0x4b76d0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44e085
push 0x104
push 0x4b87a8
push 1
push 0
push 0x4b6fbc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x44e08b
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x44f0f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x123
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
xor ecx, 0x3e80f31
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push str._08x___1
mov eax, dword [ebp + 8]
push eax
call fcn.0048cc64
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x450980
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x123
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
xor ecx, 0x3e80f31
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0x4a35bc
mov eax, dword [ebp + 8]
push eax
call fcn.0048cc64
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4509d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x123
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
xor ecx, 0x3e80f31
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push str._08x___
mov eax, dword [ebp + 8]
push eax
call fcn.0048cc64
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x451bc0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451ca2
push 0x4a3768
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x451c98
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.0049c28f
add esp, 8
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x21
push 0
call dword [ebp - 8]
test eax, eax
jne 0x451c98
lea eax, [ebp - 0x218]
push eax
call fcn.0049c02a
add esp, 4
lea ecx, [ebp - 0x358]
push ecx
push str.linksynergy
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0xffffffff
je 0x451c89
lea edx, [ebp - 0x32c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x451c57
mov edx, dword [ebp - 0x35c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x110]
push eax
call fcn.0049c02a
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, ebp
pop ebp
ret
Function at 0x455e70
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0x4a3788
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x455ead
xor eax, eax
jmp 0x455f9b
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x455ec9
xor eax, eax
jmp 0x455f9b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x455eed
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x455f9b
mov dword [ebp - 0xc], 0
push 0x80
push 0x4b86a0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push 0x4b86a0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x455f81
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jne 0x455f5d
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push 0x4b86a0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 6
push 0x4b86a0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x455fa0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x4b8594], 0
mov dword [0x4b8590], 0
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
push 0x4b87a8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x456056
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x4b8590], eax
cmp dword [0x4b8590], 0xffffffff
je 0x45604c
mov edx, dword [0x4b8590]
push edx
call fcn.0048a6d0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [0x4b8594], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x4b8590]
push edx
mov eax, dword [0x4b8594]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x4b8590]
je 0x45604c
mov dword [0x4b8590], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x456060
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4b8590], 0
je 0x4560c7
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push 0x4b87a8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4560ba
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x4b8590]
push ecx
mov edx, dword [0x4b8594]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
push 0x4b87a8
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push 0x4b87a8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esp, ebp
pop ebp
ret

Function at 0x4562a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.00455fa0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4560f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4562dc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4562de
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4562f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f869
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov dword [ebp - 0x11c], ecx
push 0
push 0
mov ecx, dword [ebp - 0x11c]
call fcn.004236e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x11c]
add ecx, 0x1c
call fcn.00457d90
mov byte [ebp - 4], 1
push 0
push 0
push str._WINDIR_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x456410
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048a6d0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push str._WINDIR_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0048bc60
add esp, 4
push eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x11c]
call fcn.004241c0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048bd78
add esp, 4
mov dword [ebp - 0xe0], 0x94
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0xd0], 2
sete al
movzx ecx, al
test ecx, ecx
je 0x4563e4
mov dword [ebp - 0x118], str.System32driversetchosts
jmp 0x4563ee
mov dword [ebp - 0x118], str.hosts
mov edx, dword [ebp - 0x118]
push edx
call fcn.0048bc60
add esp, 4
push eax
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x11c]
call fcn.0041c910
mov ecx, dword [ebp - 0x11c]
call fcn.004564a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46abb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x123
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
xor ecx, 0x3e80f31
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push str._08x__
mov eax, dword [ebp + 8]
push eax
call fcn.0048cc64
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x46ac00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0286
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
lea eax, [ebp - 0x14]
push eax
push 3
mov ecx, dword [0x4b8388]
call fcn.00433e90
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46aca4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x198], ecx
push 0
push 0
lea ecx, [ebp - 0x138]
call fcn.004236e0
mov edx, dword [ebp - 0x198]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x138]
call fcn.004241c0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
mov edx, dword [ebp - 0x19c]
push edx
mov ecx, 0x4b84fc
call fcn.00423530
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x138]
call fcn.004236e0
xor eax, eax
cmp dword [0x4b8510], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x46ad80
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
push 0x4b75c8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46ad80
mov dword [ebp - 0x1c], pe_nt_image_headers32
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push 0x4b7318
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46ad76
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1b8], eax
push 0
push 0
lea ecx, [ebp - 0x154]
call fcn.004236e0
mov ecx, dword [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x154]
call fcn.004241c0
lea eax, [ebp - 0x154]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 4], 1
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x1d0]
push ecx
mov ecx, 0x4b84fc
call fcn.00423530
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x154]
call fcn.004236e0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46cf90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b8
push edi
mov byte [ebp - 0x311], 1
mov byte [ebp - 0x310], 0
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x318]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x46d044
mov ecx, dword [ebp - 0x318]
push ecx
push 0x4a2bc8
lea edx, [ebp - 0x310]
push edx
call fcn.0048cc64
add esp, 0xc
movzx eax, byte [ebp - 0x311]
test eax, eax
jne 0x46d01c
push 0x4a3148
call fcn.0048bc60
add esp, 4
push eax
push 0x4a3148
mov ecx, 0x4b8518
call fcn.0041c910
lea ecx, [ebp - 0x310]
push ecx
call fcn.0048bc60
add esp, 4
push eax
lea edx, [ebp - 0x310]
push edx
mov ecx, 0x4b8518
call fcn.0041c910
mov byte [ebp - 0x311], 0
push 0x40
push 0
lea eax, [ebp - 0x358]
push eax
call fcn.0048d000
add esp, 0xc
mov byte [ebp - 0x358], 0x37
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x354], ecx
mov word [ebp - 0x350], pe_nt_image_headers32
lea edx, [ebp - 0x358]
push edx
call sub.NETAPI32.dll_Netbios
mov byte [ebp - 0x101], al
mov dword [ebp - 0x108], 0
jmp 0x46d0a0
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
movzx ecx, byte [ebp - 0x100]
cmp ecx, 2
jge 0x46d0bb
movzx edx, byte [ebp - 0x100]
mov dword [ebp - 0x3b8], edx
jmp 0x46d0c5
mov dword [ebp - 0x3b8], 2
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x3b8]
jge 0x46d228
push 0x40
push 0
lea ecx, [ebp - 0x358]
push ecx
call fcn.0048d000
add esp, 0xc
mov byte [ebp - 0x358], 0x32
mov edx, dword [ebp - 0x108]
mov al, byte [ebp + edx - 0xff]
mov byte [ebp - 0x328], al
lea ecx, [ebp - 0x358]
push ecx
call sub.NETAPI32.dll_Netbios
mov byte [ebp - 0x101], al
push 0x40
push 0
lea edx, [ebp - 0x358]
push edx
call fcn.0048d000
add esp, 0xc
mov byte [ebp - 0x358], 0x33
mov eax, dword [ebp - 0x108]
mov cl, byte [ebp + eax - 0xff]
mov byte [ebp - 0x328], cl
push 0x4a39b4
lea edx, [ebp - 0x34e]
push edx
call fcn.0048e090
add esp, 8
mov dword [ebp - 0x354], 0x4b88e0
mov word [ebp - 0x350], 0x258
lea eax, [ebp - 0x358]
push eax
call sub.NETAPI32.dll_Netbios
mov byte [ebp - 0x101], al
movzx ecx, byte [ebp - 0x101]
test ecx, ecx
jne 0x46d223
movzx edx, byte [ebp - 0x311]
test edx, edx
jne 0x46d1b3
push 0x4a3148
call fcn.0048bc60
add esp, 4
push eax
push 0x4a3148
mov ecx, 0x4b8518
call fcn.0041c910
mov byte [ebp - 0x311], 0
mov dword [ebp - 0x35c], 0
jmp 0x46d1d5
mov eax, dword [ebp - 0x35c]
add eax, 1
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 6
jge 0x46d223
mov ecx, dword [ebp - 0x35c]
movzx edx, byte [ecx + 0x4b88e0]
push edx
push str._02x
lea eax, [ebp - 0x310]
push eax
call fcn.0048cc64
add esp, 0xc
lea ecx, [ebp - 0x310]
push ecx
call fcn.0048bc60
add esp, 4
push eax
lea edx, [ebp - 0x310]
push edx
mov ecx, 0x4b8518
call fcn.0041c910
jmp 0x46d1c6
jmp 0x46d091
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x46d9b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 1
jmp 0x46d9ed
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x46da81
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 0x4a3978]
push edx
mov eax, dword [ebp - 0x9c]
add eax, 0x3c
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0043bf70
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
jb 0x46da2f
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], edx
jmp 0x46da38
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0048d9fe
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46da69
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004236e0
jmp 0x46da81
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004236e0
jmp 0x46d9e4
cmp dword [ebp - 0x10], 0
jne 0x46db5d
push 0x74
mov eax, dword [ebp - 0x9c]
add eax, 0x3c
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0043bf70
add esp, 0xc
mov dword [ebp - 4], 1
push 0x31
mov edx, dword [ebp - 0x9c]
add edx, 0x3c
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0043bf70
add esp, 0xc
cmp dword [ebp - 0x34], 0x10
jb 0x46dad3
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xa4], ecx
jmp 0x46dadc
lea edx, [ebp - 0x48]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0x50], 0x10
jb 0x46daed
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
jmp 0x46daf6
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x46db3e
cmp dword [ebp - 0x34], 0x10
jb 0x46db1f
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xac], ecx
jmp 0x46db28
lea edx, [ebp - 0x48]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.0048d9fe
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004236e0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.004236e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x48fdb3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0048db70
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x48fe4e
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4b8d2c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x48fe4e
cmp eax, 1
je 0x48fe6f
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x48fe4e
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x48fe1b
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x48fe4a
xor eax, eax
inc eax
jmp 0x48fe8e
cmp edi, eax
jae 0x48fe52
xor eax, eax
jmp 0x48fe8e
cmp eax, esi
jae 0x48fe59
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4b8d2c]
jmp 0x48fe72
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4903fa
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4a8588
call fcn.004917ec
push 8
call fcn.004917b8
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4b8d6c], esi
jne 0x49042e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4b8d68], esi
mov al, byte [ebp + 0x10]
mov byte [0x4b8d64], al
cmp dword [ebp + 0xc], edi
jne 0x490478
cmp dword [0x4ba5cc], edi
je 0x490468
mov eax, dword [0x4ba5c8]
sub eax, 4
mov dword [0x4ba5c8], eax
cmp eax, dword [0x4ba5cc]
jb 0x490468
mov eax, dword [eax]
cmp eax, edi
je 0x490449
call eax
jmp 0x490449
push 0x4b5244
mov eax, 0x4b523c
call fcn.00490378
pop ecx
push 0x4b5250
mov eax, 0x4b5248
call fcn.00490378
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4904a9
cmp dword [ebp + 0x10], edi
jne 0x4904b7
mov dword [0x4b8d6c], esi
push dword [ebp + 8]
call fcn.00490336
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4904b6
push 8
call fcn.00491703
pop ecx
ret
call fcn.00491827
ret