joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466d14
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
mov eax, dword [ebp - 8]
call fcn.004047d8
mov eax, dword [ebp - 0xc]
call fcn.004047d8
xor eax, eax
push ebp
push 0x466f35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404328
lea eax, [ebp - 0x114]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
cmp dword [ebp - 8], 0
jne 0x466d93
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004043c0
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404598
push dword [ebp - 0x118]
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, 3
call fcn.004046a8
xor eax, eax
push ebp
push 0x466f00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00408e5c
test al, al
je 0x466e71
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004047e8
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x466e71
lea eax, [ebp - 0x114]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404598
mov eax, dword [ebp - 0x11c]
call fcn.00408e5c
test al, al
je 0x466e5a
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404598
mov eax, dword [ebp - 0x120]
call fcn.00409150
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004047e8
push eax
call sub.kernel32.dll_MoveFileA
push 0xa
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
mov eax, dword [0x4cd668]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x466ef6
mov eax, dword [ebp - 4]
call fcn.004047e8
mov edx, eax
lea eax, [ebp - 0x124]
call fcn.00404520
mov eax, dword [ebp - 0x124]
push eax
push 0xa
mov ecx, dword [0x4cd668]
mov dl, 1
mov eax, dword [0x4165c0]
call fcn.0041a7c8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x466eef
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
call fcn.0041a5c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ef6
mov eax, dword [ebp - 0x10]
call fcn.00403534
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466f0a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f3c
lea eax, [ebp - 0x124]
mov edx, 4
call fcn.0040434c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040434c
ret
Function at 0x466f48
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x467001
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call fcn.0040a8c0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2c]
call fcn.0040b510
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x28]
mov ecx, 3
mov eax, 0x467014
call fcn.00409c50
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004043c0
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467008
lea eax, [ebp - 0x2c]
call fcn.00404328
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040434c
ret
Function at 0x4673f4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x467564
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x1b8]
push eax
mov dl, 2
mov al, 2
call fcn.0040715c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x46754e
xor eax, eax
push ebp
push 0x467547
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
call sub.wsock32.dll_inet_addr
push eax
call sub.wsock32.dll_ntohl
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x467477
call fcn.00403d6c
jmp 0x46754e
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x467495
call fcn.00403d6c
jmp 0x46754e
xor eax, eax
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 8
push 0xffff
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_setsockopt
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
push 0xff7f
push 0xffff
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_setsockopt
push 4
lea eax, [ebp - 0x10]
push eax
push 1
push 6
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_setsockopt
lea eax, [ebp - 0x28]
mov edx, 0x10
call fcn.004071a0
mov word [ebp - 0x28], 2
mov eax, dword [ebp - 0x18]
push eax
call sub.wsock32.dll_ntohl
mov dword [ebp - 0x24], eax
mov ax, word [ebp - 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x26], ax
push 0x10
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_connect
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46754e
cmp dword [ebp - 0x14], 0xffffffff
je 0x467541
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46756b
lea eax, [ebp - 4]
call fcn.00404328
ret

Function at 0x46776c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4677de
lea eax, [ebp - 0x10]
push eax
push 0x4677e8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x4677de
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4677fc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x467891
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x23]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402eb0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], 3
lea eax, [ebp - 0x28]
mov ecx, 0x4678a8
mov edx, dword [ebp - 4]
call fcn.00404634
mov eax, dword [ebp - 0x28]
call fcn.004047e8
mov dword [ebp - 0x1b], eax
mov eax, 0x4678ac
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], 0x14
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467898
lea eax, [ebp - 0x28]
call fcn.00404328
lea eax, [ebp - 4]
call fcn.00404328
ret

Function at 0x4678b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x19
push 0
call sub.SHFolder.dll_SHGetFolderPathA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.00409760
mov esp, ebp
pop ebp
ret

Function at 0x467964
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x467a12
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4679a8
call fcn.00403d6c
jmp 0x467a19
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4679cf
call fcn.00403d6c
jmp 0x467a19
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4679e6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a19
cmp dword [ebp - 0x10], 0
je 0x467a02
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0xc], 0
je 0x467a11
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x467a60
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x467b0e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x467aa3
call fcn.00403d6c
jmp 0x467b15
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x467aca
call fcn.00403d6c
jmp 0x467b15
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467b15
cmp dword [ebp - 0x10], 0
je 0x467afe
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0xc], 0
je 0x467b0d
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x467b1c
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x467c0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x467b65
call fcn.00403d6c
jmp 0x467c14
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x467b8f
call fcn.00403d6c
jmp 0x467c14
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_QueryServiceConfigA
cmp dword [ebp - 0x1c], 0
jbe 0x467be1
mov eax, dword [ebp - 0x1c]
call fcn.0040849c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
je 0x467bd9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x18]
call fcn.00402754
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467c14
cmp dword [ebp - 0x14], 0
je 0x467bfd
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0x10], 0
je 0x467c0c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x467c48
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x467d03
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x467c8b
call fcn.00403d6c
jmp 0x467d0a
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x467cb2
call fcn.00403d6c
jmp 0x467d0a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ChangeServiceConfigA
test eax, eax
je 0x467cd7
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467d0a
cmp dword [ebp - 0x10], 0
je 0x467cf3
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0xc], 0
je 0x467d02
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4680d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
xor edx, edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4682c8
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0046776c
xor edx, edx
mov eax, 2
call fcn.00465e5c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x468168
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x18]
call fcn.0040bed8
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x144], 0xb
lea edx, [ebp - 0x150]
mov ecx, 1
mov eax, 0x4682dc
call fcn.004670a0
jmp 0x46829c
lea eax, [ebp - 0x140]
mov edx, 0x128
call fcn.004071a0
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 8]
call fcn.00465e7c
test eax, eax
je 0x46829c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x138]
call fcn.004678e4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 0x158], 0xb
lea edx, [ebp - 0x15c]
xor ecx, ecx
mov eax, 0x468314
call fcn.004670a0
cmp dword [ebp - 0x10], 0
je 0x468286
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
jl 0x468286
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 0x158], 0xb
lea edx, [ebp - 0x15c]
xor ecx, ecx
mov eax, 0x468330
call fcn.004670a0
mov eax, dword [ebp - 0x138]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x178]
mov dl, 1
mov al, byte [ebp - 0x11]
call fcn.00408ba8
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x174], eax
mov byte [ebp - 0x170], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 0x168], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x164], eax
mov byte [ebp - 0x160], 0xb
lea edx, [ebp - 0x174]
mov ecx, 2
mov eax, 0x468354
call fcn.004670a0
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 8]
call fcn.00465e9c
test eax, eax
jne 0x468198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4682cf
lea eax, [ebp - 0x178]
call fcn.00404328
lea eax, [ebp - 0x154]
call fcn.00404328
lea eax, [ebp - 0x10]
call fcn.00404328
ret

Function at 0x468384
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x16
push 0
call sub.SHFolder.dll_SHGetFolderPathA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.00409760
mov esp, ebp
pop ebp
ret
Function at 0x468684
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d8
xor eax, eax
push ebp
push 0x46878d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x468769
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x468660]
call fcn.0040558c
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004047e8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x468769
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46879c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x468769
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
call fcn.0040717c
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 8]
mov edx, dword [ebp - 8]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
call fcn.0040717c
mov edx, dword [ebp - 8]
mov word [edx + 4], ax
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0xc]
mov edx, dword [ebp - 8]
mov word [edx + 6], ax
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468794
lea eax, [ebp - 0x10]
mov edx, dword [0x468660]
call fcn.00405598
lea eax, [ebp - 4]
call fcn.00404328
ret
Function at 0x4868b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x4868e1
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x486960
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0048592c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x48692e
mov cx, word [esp]
sub cx, si
jmp 0x486930
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x486917
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x486956
mov cx, word [esp]
sub cx, si
jmp 0x486958
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x48693f
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4869bd
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004865b0
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4869a8
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4869bd
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4868be
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48beb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x48bedf
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x48bee2
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x48bec6
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x4ce694], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x48bebb
mov byte [0x4cea94], 1
mov esp, ebp
pop ebp
ret
Function at 0x48bf10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x4cea94], 0
jne 0x48bf33
call fcn.0048beb0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48bf72
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x4ce694]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x48bf46
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x495fd0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x495ffe
mov eax, ebx
call fcn.00496a84
cmp dword [ebx + 0x40], 0
je 0x495ff7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49606f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x496061
cmp dword [ebx + 8], 0
je 0x496020
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x496032
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x496061
cmp dword [ebx + 8], 0
je 0x496013
cmp eax, 3
je 0x496045
dec eax
jne 0x496013
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x496013
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x496013
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49608d
cmp dword [ebx + 0x14], 0xcc
je 0x49608d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00496098
pop ebx
ret

Function at 0x4a7108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004047d8
xor eax, eax
push ebp
push 0x4a715b
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004047e8
push eax
push 0x4a7168
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7162
lea eax, [ebp - 8]
call fcn.00404328
ret