joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9b50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], 0x67452301
lea eax, [edi*8]
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x5c], eax
mov eax, edi
shr eax, 0x1d
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
mov dword [ebp - 0x58], eax
cmp edi, 0x40
jb 0x4e9bed
mov ebx, edi
shr ebx, 6
nop word [eax + eax]
movups xmm0, xmmword [esi]
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x54], xmm0
lea eax, [ebp - 0x6c]
movups xmm0, xmmword [esi + 0x10]
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebp - 0x24], xmm0
call fcn.004e9ca0
add esp, 8
add esi, 0x40
sub edi, 0x40
sub ebx, 1
jne 0x4e9bb0
mov ebx, dword [ebp - 0x70]
push edi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00511dc0
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
add esp, 0xc
add ecx, eax
sub edx, eax
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x4e9c41
push edx
push 0
push ecx
call fcn.005128c0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004e9ca0
push 0x38
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005128c0
add esp, 0x20
jmp 0x4e9c50
lea eax, [edx - 8]
push eax
push 0
push ecx
call fcn.005128c0
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004e9ca0
movups xmm0, xmmword [ebp - 0x6c]
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, ebx
movups xmmword [ebp - 0x14], xmm0
push 0
push 1
push 0x10
push eax
call fcn.004ca190
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004553ba
mov esp, ebp
pop ebp
ret

Function at 0x4fe113
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x532d6f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00532bee

Function at 0x537334
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00536ff4
Function at 0x5872b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005872c0

Function at 0x587540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x58754c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00587560
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0xb6f6e03
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x44245e92
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40a561
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040a5e0
jae 0x40a56d
xor ecx, ecx
call fcn.0040a5e0
jae 0x40a597
xor eax, eax
call fcn.0040a5e0
jae 0x40a5a8
mov al, 0x10
call fcn.0040a5e0
adc al, al
jae 0x40a589
jne 0x40a5d5
stosb byte es:[edi], al
jmp 0x40a56e
call fcn.0040a5ec
dec ecx
loop 0x40a5b4
mov eax, ebp
call fcn.0040a5ea
jmp 0x40a5d6
lodsb al, byte [esi]
shr eax, 1
je 0x40a5fc
adc ecx, 2
mov ebp, eax
jmp 0x40a5d6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040a5ea
cmp eax, 0x7d00
jae 0x40a5d4
cmp eax, 0x500
jae 0x40a5d5
cmp eax, 0x7f
ja 0x40a5d6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40a56e
pop ebp
ret 8

Function at 0x1162058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011621a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x116207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x116206a
add dl, dl
jne 0x1162089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11620dc
xor eax, eax
add dl, dl
jne 0x1162096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x116217d
add dl, dl
jne 0x11620a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11620b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11620bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11620c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11620d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1162075
mov eax, 1
add dl, dl
jne 0x11620ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11620f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11620e1
sub eax, ebx
mov ebx, 1
jne 0x1162128
mov ecx, 1
add dl, dl
jne 0x116210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1162119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1162105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1162075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x116213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x116214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1162136
cmp eax, 0x7d00
jae 0x116216d
cmp eax, 0x500
jb 0x1162168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1162075
cmp eax, 0x7f
ja 0x1162170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1162075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x116219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1162075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x47eaec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47eaf4
push ebx
push esi
mov esi, dword [0x494cbc]
xor eax, eax
push ebp
push 0x47ecf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x494b58]
push dword [eax]
lea eax, [ebp - 0x1c]
call fcn.0048bf2c
push dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
mov eax, 0x47ed08
call fcn.004735e8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409b7c
push dword [ebp - 0x20]
mov eax, dword [0x494b58]
mov edx, 3
call fcn.004058e0
mov eax, dword [0x494a74]
mov byte [eax], 0
mov eax, dword [0x494bac]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x28]
mov eax, 0x47ed14
call fcn.004735e8
mov eax, dword [ebp - 0x28]
mov edx, 0x47ed28
call fcn.00405974
jne 0x47eb9d
mov eax, dword [0x494c2c]
push eax
push 0
push 0
push 0x482028
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov eax, dword [0x4948f4]
mov dword [eax], 1
mov eax, dword [0x4948b0]
mov byte [eax], 1
movzx eax, byte [0x47ed2c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x494c14]
mov eax, dword [eax]
mov ecx, 0x47ed38
mov edx, 0x47ed44
call fcn.0040ef44
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x494c14]
call fcn.00405584
mov edx, dword [0x494c14]
mov edx, dword [edx]
mov eax, dword [0x494808]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x30]
mov eax, dword [0x494910]
mov eax, dword [eax]
call fcn.0048bf54
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4949e4]
call fcn.00405584
mov eax, dword [0x4949e4]
mov eax, dword [eax]
mov edx, 0x47ed50
call fcn.00405974
jne 0x47ec6f
call fcn.0040bc98
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x494968]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c8f8
call fcn.0040bcc4
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x494ac8]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c8f8
push dword [ebp - 4]
push 0x47ed60
push dword [ebp - 8]
mov eax, dword [0x4949e4]
mov edx, 3
call fcn.004058e0
mov cl, 1
mov dl, 1
mov eax, dword [0x4864c0]
call fcn.0041fa34
mov edx, dword [0x494d18]
mov dword [edx], eax
mov eax, dword [0x494d18]
mov eax, dword [eax]
mov byte [eax + 0xf], 1
mov eax, dword [0x494d18]
mov eax, dword [eax]
mov dl, 5
call fcn.0041fc40
mov eax, dword [0x494d18]
mov eax, dword [eax]
call fcn.0041fef0
jmp 0x47ecb8
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x47ecac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ecf7
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x4824b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x482542
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.00403af4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4824f5
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x482513
inc edx
xor esi, esi
lea eax, [ebp - 0x408]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
inc esi
inc eax
dec edx
jne 0x482505
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482549
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x482c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x482cb2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
mov dword [ebx + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x482b34
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482cb9
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x484388
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4843e7
xor eax, eax
push ebp
push 0x4843e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4843e7
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x485888
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x485939
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
lea eax, [ebx + 4]
call fcn.00405530
lea eax, [ebx + 8]
mov edx, dword [ebp - 8]
call fcn.00405584
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405584
lea eax, [ebx + 0x10]
mov edx, 0x485950
call fcn.00405584
mov eax, dword [0x494c2c]
push eax
push 0
push esi
push 0x48317c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485940
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret

Function at 0x485f40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x486072
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x49c3a0], eax
cmp dword [0x49c3a0], 0xffffffff
je 0x486057
mov word [ebp - 0x10], 2
mov eax, dword [0x4949d4]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0xe], ax
mov eax, dword [0x494b30]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_inet_addr
mov edi, eax
mov dword [ebp - 0xc], edi
inc edi
jne 0x485fcc
mov eax, dword [0x494b30]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x486057
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x49c3a0]
push eax
call sub.wsock32.dll_connect
push 0
push 0x1fff
push 0x49a3a0
mov eax, dword [0x49c3a0]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49a3a0
xor ecx, ecx
mov edx, 0x2000
call fcn.00403af4
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x50]
call fcn.00409d70
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x48608c
call fcn.00405864
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49c3a0]
call fcn.00475ecc
push 0
push 0x1fff
push 0x49a3a0
mov eax, dword [0x49c3a0]
push eax
call sub.wsock32.dll_recv
mov eax, 0x49a3a0
xor ecx, ecx
mov edx, 0x2000
call fcn.00403af4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486079
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405554
ret
Function at 0x486374
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48642a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x486444
call fcn.004055c8
lea ecx, [ebp - 0x10]
mov edx, dword [0x494b58]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004613d8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004055c8
mov eax, dword [ebp - 4]
test eax, eax
je 0x4863cd
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, 1
mov byte [ebp - 9], 1
test esi, esi
jle 0x48640c
push 0
push esi
lea eax, [ebp - 4]
call fcn.00405a3c
lea eax, [eax + edi - 1]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
call sub.wsock32.dll_send
mov ebx, eax
test ebx, ebx
jg 0x486404
mov byte [ebp - 9], 0
jmp 0x48640c
sub esi, ebx
add edi, ebx
test esi, esi
jg 0x4863dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486431
lea eax, [ebp - 0x10]
call fcn.00405530
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x4878a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x487a08
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49c3a8
call sub.KERNEL32.DLL_EnterCriticalSection
xor eax, eax
push ebp
push 0x4879d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00487318
test al, al
je 0x48791c
call fcn.00404f70
jmp 0x4879d8
push dword [ebp - 4]
push 0x487a20
push dword [ebp - 8]
push 0x487a20
push dword [ebp - 0xc]
push 0x487a20
push dword [ebp + 8]
push 0x487a2c
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.004058e0
mov edx, dword [ebp - 0x10]
mov eax, dword [0x49c3a4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x10
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, dword [ebp - 8]
call fcn.00409edc
mov dword [ebx], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00409b7c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 4]
call fcn.00405584
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
call fcn.00409b7c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 8]
call fcn.00405584
xor eax, eax
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x486e2c
push 0
push 0
call sub.KERNEL32.DLL_CreateThread_1
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4879d8
push 0x49c3a8
call sub.KERNEL32.DLL_LeaveCriticalSection
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487a0f
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x487ee4
Capabilities:
Power down monitor

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x50], 0
je 0x487ef4
xor eax, eax
call fcn.00489e9c
cmp byte [ebx + 0x51], 0
je 0x487f01
xor eax, eax
call fcn.00489ff0
cmp byte [ebx + 0x52], 0
je 0x487f1d
push 2
push 0xf170
push 0x112
push 0xffff
call sub.user32.dll_SendMessageA
cmp byte [ebx + 0x53], 0
je 0x487f2a
mov al, 1
call fcn.0048b1a0
pop ebx
ret

Function at 0x488d04
Capabilities:
Create process on windows

Disassembly:
sub eax, 1
jb 0x488d15
je 0x488d2d
sub eax, 2
je 0x488d45
dec eax
je 0x488d4b
jmp 0x488d50
push 5
push 0
push 0
push 0x488d54
push 0x488d5c
push 0
call sub.shell32.dll_ShellExecuteA
ret
push 5
push 0
push 0
push 0x488d64
push 0x488d5c
push 0
call sub.shell32.dll_ShellExecuteA
ret
call fcn.00461c1c
ret
call fcn.00461c54
ret
Function at 0x489864
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4898de
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x48], 0
je 0x4898c8
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489899
sub ebx, 4
mov ebx, dword [ebx]
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [esi + 0x40]
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4898f4
mov eax, dword [esi + 0x40]
push eax
call sub.KERNEL32.DLL_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4898e5
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x489bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x489c5f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489be2
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push ebx
call sub.KERNEL32.DLL_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489c07
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x489c74
call fcn.00405974
je 0x489c3a
mov eax, esi
mov ecx, 0x489c74
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x489c44
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c66
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x489c78
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x489d27
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489caa
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x489ccf
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x489d3c
call fcn.00405974
je 0x489d02
mov eax, esi
mov ecx, 0x489d3c
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x489d0c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489d2e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret