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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x49ccce
cmp dword [ebp + 0x10], 0
jle 0x49cc99
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x49cca8
mov edx, dword [ebp + 0xc]
push edx
call fcn.004446f0
add esp, 4
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
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]
mov al, 1
jmp 0x49ccd0
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x49cd77
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 0xa
push edx
call fcn.00442b2d
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x49cd72
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
jmp 0x49cd79
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49d080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x410], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x40e]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 8], 0x400
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x4dc584
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x49d0f1
xor al, al
jmp 0x49d10f
push str.Microsoft_Windows_XP
lea edx, [ebp - 0x410]
push edx
call fcn.004451be
add esp, 8
test eax, eax
jne 0x49d10d
mov al, 1
jmp 0x49d10f
xor al, al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret

Function at 0x49d1e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x49d20e
xor al, al
jmp 0x49d2ea
mov edx, dword [ebp - 8]
push edx
call fcn.00445aed
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49d283
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49d283
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x4dc510
mov edx, dword [ebp - 4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49d283
push 0x34
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004452f0
add esp, 0xc
xor edx, edx
cmp dword [ebp - 0x44], 0xfeef04bd
sete dl
mov byte [ebp - 0xd], dl
mov eax, dword [ebp - 4]
push eax
call fcn.00445880
add esp, 4
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x49d29b
xor al, al
jmp 0x49d2ea
mov edx, dword [ebp - 0x3c]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x3c]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x38]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x38]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x49d540
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c377f
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406f90
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041f4c0
push 0x1e
push 0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 3
lea ecx, [ebp - 0x2c]
call fcn.00407070
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov edx, 0x614
mov word [ebp - 0x3c], dx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4d], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406fd0
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret

Function at 0x49d600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x824], 0
mov dword [ebp - 8], 1
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0xc], 0x800
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x4dc914
push str.SoftwareSogouFinder
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x49d6a1
push 0x4cf8fe
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x824]
or edx, 1
mov dword [ebp - 0x824], edx
mov eax, dword [ebp + 8]
jmp 0x49d758
call fcn.004010b0
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x49d6cd
mov dword [ebp - 0x828], 0
jmp 0x49d737
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x49d6f5
mov dword [ebp - 0x82c], 0
jmp 0x49d72b
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x830], esp
mov edx, dword [ebp - 0x81c]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x814]
push ecx
mov edx, dword [ebp - 0x830]
push edx
call fcn.00401110
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x828]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x824]
or edx, 1
mov dword [ebp - 0x824], edx
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x830]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49d9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x824], 0
mov dword [ebp - 8], 1
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0xc], 0x800
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x4dc820
push 0x4dc824
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x49da81
push 0x4cf8eb
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x824]
or edx, 1
mov dword [ebp - 0x824], edx
mov eax, dword [ebp + 8]
jmp 0x49db38
call fcn.004010b0
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x49daad
mov dword [ebp - 0x828], 0
jmp 0x49db17
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x49dad5
mov dword [ebp - 0x82c], 0
jmp 0x49db0b
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x830], esp
mov edx, dword [ebp - 0x81c]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x814]
push ecx
mov edx, dword [ebp - 0x830]
push edx
call fcn.00401110
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x828]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x824]
or edx, 1
mov dword [ebp - 0x824], edx
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x830]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49e180
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c465c
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0xbc], ax
push 0x7e
push 0
lea ecx, [ebp - 0xba]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0xcc], 0
xor edx, edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
push 0x4dc65c
lea ecx, [ebp - 0x30]
call fcn.00406f50
mov dword [ebp - 4], 0
push 0x4dc670
lea ecx, [ebp - 0x30]
call fcn.00407050
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x49e283
mov dword [ebp - 0x10], 0x80
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
push 0x4dc694
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0x42
jne 0x49e2ad
mov dword [ebp - 0xf4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406fd0
mov eax, dword [ebp - 0xf4]
jmp 0x49e3b5
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0xcc]
push eax
call fcn.0049d330
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x49e38e
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
push 0x4dc6a0
push 0x40
lea eax, [ebp - 0xbc]
push eax
call fcn.0049d2f0
add esp, 0x1c
push 0x4dc6c4
lea ecx, [ebp - 0xf0]
call fcn.00406f50
mov byte [ebp - 4], 1
push 0x4dc6d8
lea ecx, [ebp - 0xf0]
call fcn.00407050
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x49e375
lea edx, [ebp - 0xbc]
push edx
call fcn.00444a90
add esp, 4
shl eax, 1
push eax
lea eax, [ebp - 0xbc]
push eax
push 1
push 0
push 0x4dc6fc
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf0]
call fcn.00406fd0
xor eax, eax
cmp dword [ebp - 0xd0], 0
sete al
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406fd0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x49e4f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x80c], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.00445020
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x49e568
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x49e57f
lea ecx, [ebp - 0x808]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406f50
mov ecx, dword [ebp - 0x80c]
or ecx, 1
mov dword [ebp - 0x80c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret

Function at 0x49e5b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c46bc
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049d120
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x49e5f2
mov al, 1
jmp 0x49e697
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00406f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004183b0
movzx eax, al
test eax, eax
je 0x49e62c
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406fd0
mov al, byte [ebp - 0x35]
jmp 0x49e697
lea ecx, [ebp - 0x34]
call fcn.0040add0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2 - 2]
cmp eax, 0x5c
je 0x49e651
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.0041f4c0
lea ecx, [ebp - 0x34]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x49e678
cmp dword [ebp - 0x14], 2
je 0x49e678
mov dword [ebp - 0x3c], 0
jmp 0x49e67f
mov dword [ebp - 0x3c], 1
mov cl, byte [ebp - 0x3c]
mov byte [ebp - 0x36], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406fd0
mov al, byte [ebp - 0x36]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x4a0740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 6
ja case.default.0x4a0763
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x4a0804]
push 5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
jmp case.default.0x4a0763
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
jmp case.default.0x4a0763
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
jmp case.default.0x4a0763
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
jmp case.default.0x4a0763
push 3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
jmp case.default.0x4a0763
push 6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
jmp case.default.0x4a0763
push 9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x4a1c40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c61ff
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4fe37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0041dd60
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00418cb0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], vtable.CDUIUIManager.0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], vtable.CDUIUIManager.1.0
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x14]
and al, 0xfe
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x14], al
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x14]
and al, 0xfd
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x14], al
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], 0x19860403
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x28], 0
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x44], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x48
call fcn.0043c4b0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x64
call fcn.0049f680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x80], 0xff
push 0x48
call fcn.0044527f
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a1d9e
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004aa050
mov dword [ebp - 0x24], eax
jmp 0x4a1da5
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x60], ecx
push 0x28
call fcn.0044527f
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a1dd8
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.004a0080
mov dword [ebp - 0x28], eax
jmp 0x4a1ddf
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x44], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4aede0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4aee0c
xor al, al
jmp 0x4aef0e
cmp dword [0x5035e0], 0
jne 0x4aee3f
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x5035e0], eax
cmp dword [0x5035e0], 0x20
jae 0x4aee3f
mov dword [0x5035e0], 0
xor al, al
jmp 0x4aef0e
cmp dword [0x5035e4], 0
jne 0x4aee6f
push str.SnmpExtensionInit
mov ecx, dword [0x5035e0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5035e4], eax
cmp dword [0x5035e4], 0
jne 0x4aee6f
xor al, al
jmp 0x4aef0e
push 0x5031d8
push 0x5031d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x5035e4]
cmp dword [0x5035e8], 0
jne 0x4aeeb3
push str.SnmpExtensionInitEx
mov edx, dword [0x5035e0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5035e8], eax
cmp dword [0x5035e8], 0
jne 0x4aeeb3
xor al, al
jmp 0x4aef0e
cmp dword [0x5035ec], 0
jne 0x4aeedf
push str.SnmpExtensionQuery
mov eax, dword [0x5035e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5035ec], eax
cmp dword [0x5035ec], 0
jne 0x4aeedf
xor al, al
jmp 0x4aef0e
cmp dword [0x5035f0], 0
jne 0x4aef0c
push str.SnmpExtensionTrap
mov ecx, dword [0x5035e0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5035f0], eax
cmp dword [0x5035f0], 0
jne 0x4aef0c
xor al, al
jmp 0x4aef0e
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret
Function at 0x4b1c10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x4b3c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c639d
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp - 0x94]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x94]
call fcn.004b3e30
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0x228]
call fcn.004958b0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
add edx, 0x1a7a
push edx
lea ecx, [ebp - 0x48]
call fcn.00406f50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0049e3d0
add esp, 8
mov byte [ebp - 4], 1
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x94]
mov eax, dword [edx + 0x348]
call eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.0047d2f0
mov dword [ebp - 0xa0], eax
push 5
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.00407070
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.00407070
push eax
push 0x4e514c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x8c]
call fcn.00406fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00406fd0
call fcn.004b7c10
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x50], 0x20
jge 0x4b3d7f
push 2
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [eax + 0x40]
call edx
jmp 0x4b3d95
push 1
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x40]
call eax
mov dword [ebp - 0x90], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00406fd0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret