joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457784
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00457044
xor edx, edx
push ebp
push 0x4578e4
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4578ce
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4577ce
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4577d8
call fcn.00403670
jmp 0x4578eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041248c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, eax
test ebx, ebx
jle 0x4578c3
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
jne 0x457881
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x457871
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403054
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0045773c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4578f4]
cmp dl, byte [eax + 0x28]
je 0x4578ca
call fcn.0040b2f0
jmp 0x4578ca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0041249c
jmp 0x4578ca
cmp eax, ebx
jge 0x45789a
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041249c
jmp 0x4577d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041248c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004124a8
cmp ebx, eax
jne 0x4577d8
push ebp
call fcn.0045773c
pop ecx
jmp 0x4578ca
push ebp
call fcn.0045773c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4578eb
mov eax, dword [ebp - 4]
call fcn.00457050
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4578f8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457a1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00457044
xor eax, eax
push ebp
push 0x4579fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x457948
call fcn.00403670
jmp 0x457a04
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4579e7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4579e7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403054
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4579e7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ab0c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x457a34
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bcb34]
mov dl, 1
mov eax, dword [0x45644c]
call fcn.0040b450
call fcn.004035d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457a04
mov eax, dword [ebp - 4]
call fcn.00457050
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457a21
lea eax, [ebp - 0x28]
call fcn.00403ba0
ret
Function at 0x457a80
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457bca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00457044
xor eax, eax
push ebp
push 0x457bad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x457ae5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x457ae5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x457b97
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x457af8
call fcn.00403670
jmp 0x457bb4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x457b97
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x457b97
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00403054
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x457b97
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040ab0c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x457be4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bcb34]
mov dl, 1
mov eax, dword [0x45644c]
call fcn.0040b450
call fcn.004035d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457bb4
mov eax, dword [ebp - 4]
call fcn.00457050
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457bd1
lea eax, [ebp - 0x28]
call fcn.00403ba0
ret
Function at 0x458544
Capabilities:
Create pipe

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.004586e8
mov dword [esp + 0xc], 0xc
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xffffffff
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x34]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x458585
call fcn.0040c5ec
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x30]
push eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4585a3
call fcn.0040c5ec
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x38]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4585c1
call fcn.0040c5ec
push 2
push 0
push 0
lea eax, [ebx + 0x28]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x4585ea
call fcn.0040c5ec
push 2
push 0
push 0
lea eax, [ebx + 0x24]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x458613
call fcn.0040c5ec
push 2
push 0
push 0
lea eax, [ebx + 0x2c]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x45863c
call fcn.0040c5ec
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov dl, 1
mov eax, dword [0x40f08c]
call fcn.00402e48
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x40f08c]
call fcn.00402e48
mov dword [ebx + 0x68], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x40]
add esp, 0x18
pop ebx
ret
Function at 0x458bac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458c95
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x458c77
inc esi
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x458cb0
call fcn.0040410c
mov edi, eax
test edi, edi
jle 0x458c24
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404028
mov bl, 1
jmp 0x458c31
lea eax, [ebp - 0x10]
mov edx, 0x458cbc
call fcn.00403e28
cmp dword [ebp - 0x10], 0
je 0x458c6d
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403e20
push eax
lea eax, [ebp - 0x10]
call fcn.00403ff0
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x458c6d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xe8
je 0x458c6d
call fcn.0040c5ec
inc dword [ebp - 0xc]
dec esi
jne 0x458beb
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c9c
lea eax, [ebp - 0x10]
call fcn.00403ba0
ret
Function at 0x45bcac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45bcda
mov eax, ebx
call fcn.0045c750
cmp dword [ebx + 0x3c], 0
je 0x45bcd3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45bd4b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x45bd3d
cmp dword [ebx + 8], 0
je 0x45bcfc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x45bd0e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45bd3d
cmp dword [ebx + 8], 0
je 0x45bcef
cmp eax, 3
je 0x45bd21
dec eax
jne 0x45bcef
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 0x45bcef
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x45bcef
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45bd69
cmp dword [ebx + 0x10], 0xcc
je 0x45bd69
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045bd74
pop ebx
ret

Function at 0x46e400
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x46e451
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x46e438
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x46e428
jmp 0x46e451
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x46e439
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b8d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.0041065c
mov esi, eax
xor eax, eax
push ebp
push 0x47b94a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x47b92e
mov edx, ebx
mov eax, esi
call fcn.00410250
test byte [eax + 0x48], 1
je 0x47b928
push 0
mov edx, ebx
mov eax, esi
call fcn.00410250
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.004100f0
dec ebx
cmp ebx, 0xffffffff
jne 0x47b8fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b951
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.004106c0
ret

Function at 0x47bd44
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402b60
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x47d240
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x47d24f
or edx, 0x200
test eax, 0x20000000
je 0x47d283
test eax, 0x40000000
je 0x47d26e
test eax, 0x80000000
je 0x47d269
or edx, 0x40
jmp 0x47d2aa
or edx, 0x20
jmp 0x47d2aa
test eax, 0x80000000
je 0x47d27d
or edx, 0x80
jmp 0x47d2aa
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x47d29b
test eax, 0x80000000
je 0x47d296
or edx, 4
jmp 0x47d2aa
or edx, 2
jmp 0x47d2aa
test eax, 0x80000000
je 0x47d2a7
or edx, 8
jmp 0x47d2aa
or edx, 1
mov eax, edx
ret
Function at 0x485b28
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [eax + 0x2f4]
test edx, edx
je 0x485b3f
mov eax, edx
cmp byte [eax + 0x47], 0
jne 0x485b3f
call fcn.0042e2c4
mov eax, dword [0x4bca8c]
mov eax, dword [eax]
call fcn.00430e3c
push 0
mov eax, dword [0x4bca8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x488c04
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x4bc43c
xor eax, eax
mov dword [0x4bc438], eax
xor eax, eax
mov dword [0x4c6ce8], eax
xor eax, eax
mov dword [0x4c6cec], eax
xor eax, eax
mov dword [0x4c6cf0], eax
xor eax, eax
mov dword [0x4c6cf4], eax
xor eax, eax
mov dword [0x4c6cf8], eax
xor eax, eax
mov dword [0x4c6ce4], eax
xor eax, eax
mov dword [0x4c6cfc], eax
xor eax, eax
mov dword [0x4c6d00], eax
xor eax, eax
mov dword [0x4c6d04], eax
xor eax, eax
mov dword [0x4c6d08], eax
cmp dword [ebx], 0
je 0x488d82
push 0x488d84
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6ce8], eax
push 0x488d8c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cec], eax
push 0x488d94
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cf0], eax
push 0x488d9c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cf4], eax
push 0x488da4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cf8], eax
push 0x488dac
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6ce4], eax
push 0x488db4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cfc], eax
push 0x488dc4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6d00], eax
push 0x488dd0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6d04], eax
push 0x488de0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6d08], eax
cmp dword [0x4c6ce8], 0
je 0x488d82
cmp dword [0x4c6cec], 0
je 0x488d82
cmp dword [0x4c6cf0], 0
je 0x488d82
cmp dword [0x4c6cf4], 0
je 0x488d82
cmp dword [0x4c6cf8], 0
je 0x488d82
cmp dword [0x4c6ce4], 0
je 0x488d82
mov dword [0x4bc438], 1
cmp dword [0x4c6cfc], 0
je 0x488d82
cmp dword [0x4c6d00], 0
je 0x488d82
cmp dword [0x4c6d04], 0
je 0x488d82
cmp dword [0x4c6d08], 0
je 0x488d82
mov dword [0x4bc438], 2
pop ebx
ret

Function at 0x48986c
Capabilities:
Shutdown system

Disassembly:
push ebx
push esi
add esp, 0xffffffe8
mov ebx, edx
mov esi, eax
test si, 2
jne 0x48988a
test si, 1
jne 0x48988a
test si, 8
je 0x4898e6
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4898e6
lea eax, [esp + 0xc]
push eax
push 0x489900
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
test bl, bl
je 0x4898ee
or si, 4
push 0
movzx eax, si
push eax
call sub.user32.dll_ExitWindowsEx
add esp, 0x18
pop esi
pop ebx
ret
Function at 0x489b08
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x489c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4bcb2c]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x489c48
call fcn.00403e6c
lea eax, [ebp - 8]
mov ecx, 0x489c48
mov edx, dword [0x4c7e78]
call fcn.00403e6c
mov eax, dword [ebp - 4]
call fcn.00408d10
mov ebx, eax
and ebx, 0xfffffffe
mov eax, dword [ebp - 8]
call fcn.00408d10
and eax, 0xfffffffe
cmp ebx, eax
je 0x489b7d
push 0
lea eax, [ebp - 8]
call fcn.00403ff0
push eax
lea eax, [ebp - 4]
call fcn.00403ff0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 8]
call fcn.00408d78
test al, al
je 0x489bcc
push 1
mov eax, 0x4c7e78
call fcn.00403ff0
push eax
push 0x489c5c
push dword [ebp - 8]
push 0x489c6c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403ee0
mov eax, dword [ebp - 0xc]
call fcn.00403fe4
push eax
push 0x489c70
push 0x489c80
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x489c19
mov eax, dword [ebp - 4]
call fcn.00408d78
test al, al
je 0x489c19
push 1
mov eax, dword [0x4bcb2c]
call fcn.00403ff0
push eax
push 0x489c5c
push dword [ebp - 4]
push 0x489c6c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403ee0
mov eax, dword [ebp - 0x10]
call fcn.00403fe4
push eax
push 0x489c70
push 0x489c80
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c3b
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403bc4
ret

Function at 0x48a3dc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0
push 0x10
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x48a409
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403dd0
jmp 0x48a410
mov eax, ebx
call fcn.00403ba0
add esp, 0x108
pop ebx
ret
Function at 0x48e264
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48e345
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x4c7d70
mov ecx, 0x105
call fcn.00403dd0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x48e35c
call fcn.00403e6c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404314
mov eax, dword [ebp - 0xc]
mov dx, 0xffff
call fcn.00453f94
mov ebx, eax
test ebx, ebx
je 0x48e31a
mov ecx, dword [esi + 4]
sub ecx, 0x20
lea edx, [esi + 0x20]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
mov eax, ebx
call fcn.00402e78
mov eax, 0xc8
call fcn.0045504c
push 1
push 0x48e36c
push 0x48e378
push dword [ebp - 4]
push 0x48e388
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403ee0
mov eax, dword [ebp - 0x10]
call fcn.00403fe4
push eax
push 0x48e38c
push 0x48e398
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e34c
lea eax, [ebp - 0x10]
call fcn.00403ba0
lea eax, [ebp - 0xc]
call fcn.004041d0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403bc4
ret

Function at 0x48f34c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov dword [esp], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 2
jge 0x48f380
mov ecx, 0x48f440
mov dl, 1
mov eax, dword [0x407e70]
call fcn.0040b358
call fcn.004035d0
xor edx, edx
mov eax, dword [esp]
call fcn.0041e984
mov ebx, eax
mov edx, 1
mov eax, dword [esp]
call fcn.0041e984
sub ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x48f3aa
add eax, 3
sar eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
dec edi
test edi, edi
jl 0x48f3f6
inc edi
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
call fcn.0041e984
mov ecx, eax
mov edx, dword [esp + 0x14]
dec edx
test edx, edx
jl 0x48f3ef
inc edx
mov eax, dword [ecx]
xor esi, eax
add dword [esp + 0x18], eax
add ecx, 4
dec edx
jne 0x48f3e1
inc dword [esp + 0x10]
dec edi
jne 0x48f3c9
mov eax, esi
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x18]
xor edx, edx
add eax, dword [esp + 8]
adc edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x490f8c
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x491058
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417de8]
call fcn.0041e2b0
mov ebx, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push esi
mov eax, ebx
call fcn.0041e81c
xor ecx, ecx
xor edx, edx
call fcn.0041976c
lea eax, [ebp - 4]
mov ecx, 0x49106c
mov edx, dword [0x4c7e78]
call fcn.00403e6c
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, ebx
call fcn.00402e78
mov ecx, 0x491084
mov edx, 0x491090
mov eax, 0x4910a8
call fcn.00454040
mov eax, 0x4910a8
mov ecx, 0x4910dc
mov edx, 0x4910e8
call fcn.00454040
push 3
lea eax, [ebp - 4]
call fcn.00403ff0
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49105f
lea eax, [ebp - 4]
call fcn.00403ba0
ret