joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494fbe
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0xe3e0eef6
cmpsb byte gs:[esi], byte es:[edi]
and al, byte [ebp + 0x46]
dec ebx
mov eax, 0x1d80f64c
push ds
mov bl, 0xc5
pop es
fild dword [edi - 0x510a8ada]
xchg esi, eax
xor al, bh
cmp byte [eax - 0x2d], ah
inc esi
scasb al, byte es:[edi]
xor eax, 0xcde7eef4
jl 0x494fab
xchg edx, eax
push ebp
std
dec edi
push edi
lahf
ret
pop edx
salc
shr dword [esi + 0x191f54fe], cl
mov edi, 0x8ce72fe9
mul dword [ebx - 0x1144fd86]
pushal
mov sp, 0xad4b
jge 0x49503f
in eax, 0xd1
jb 0x495017
jge 0x49502a
xor ecx, dword [esi + 0x4b]
pop edi
outsd dx, dword [esi]
sub edx, dword [edi + ecx*2 + 0x25]
inc ebx
xor al, 0x4f
inc ebx
insb byte es:[edi], dx
or dword [esi + 0x77], ebx
jbe 0x494fd0
inc edx
call 0xb3a90213
inc edx
jecxz 0x494f77
loope 0x495068
mul byte [0x9debc5ba]
not byte [ebp - 0x7de16fd]
and al, ah
cmp byte [ebp + 7], ah
in al, dx
mov ebp, 0x9748074f
pop edi
sbb al, 0x7e
cmp byte [edi - 0x77], bl
or al, 0x83
sbb al, 0xf7
ret
jno 0x495054
loope 0x49507e
hlt
nop
loop 0x49502c
call [edx]
mov edx, 0x60cd0576
sbb bh, byte [edx + 0x60cd0576]
mov esi, 0xb1f419ba
bound esi, qword [ebx - 0x1d]
in eax, 0x68
and ebp, 0x7b
adc edx, ebp
lds esi, [ebx + ebx*8]
jnp 0x495054
aad 0xc5
xor al, 0xdb
sahf
arpl word [ebp + 0x33ede346], si
inc edi
push ds
invalid
xchg edi, eax
pop ss
inc edi
popfd
sub eax, 0x9b15685f
fiadd dword [edx - 0x42]
and esi, dword [esi]
outsb dx, byte [esi]
push ss
or cx, word [ecx + 0x7b674f6d]
adc edi, dword [edi]
dec edi
jnp 0x49507f
aas
salc
dec edx
rol dword [ecx + 0x53c42c15], cl
and eax, 0xb689f6cb
jg 0x4950d9
loope 0x4950c7
dec esp
movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x15de934c
dec edx
pop ebp
daa
jns 0x495060
add byte [ecx], ah
dec edi
dec ebx
inc esp
or esp, dword [eax + 0x33]
mov esi, dword [edi]
adc esp, dword [edi + 0x64]
wait
pop edi
aas
inc eax
ret
add eax, 0xb60a13fe
and dword [eax - 0x39], edx
invalid
adc edx, ecx
pop edi
sbb al, 0x17
dec esp
test byte [ecx - 0x4a], 0x1f
dec eax
push ebp
pop ss
scasb al, byte es:[edi]
xlatb
pop es
sbb esi, dword [eax + 0x34]
pop edx
sub eax, 0xe85b144
jnp 0x4950e5
test byte [ecx - 0x16f753c4], bh
and dword [ebx], esp
cmp byte [edi], bh
jae 0x495091
cmpsb byte [esi], byte es:[edi]
mov ecx, 0xb907791c
fisub word [esi - 0x3b]
jmp 0x4950e7
Function at 0x56877d
Capabilities:
Parse pe header

Disassembly:
mov eax, esi
pop esi
pop ebp
ret
cmp esi, 0x7d000000
jmp 0x51ef02
jb 0x54ba14
jmp 0x417e7f
cmp word [eax], 0x4550
jmp 0x564988
sub esp, 4
mov dword [esp], ebp
push esi
mov esi, 0x69591694
mov dword [esp + 4], esi
pop esi
mov dword [esp], esi
push 0x1e13df5a
mov dword [esp], esi
mov dword [esp], edi
push eax
mov eax, 0x677b93dd
mov dword [esp + 4], eax
pop eax
mov dword [esp], ecx
push 0x15103c07
mov dword [esp], edi
mov edi, 0x4cf19243
shr edi, 8
add edi, 0x1f723313
add ecx, edi
mov edi, dword [esp]
add esp, 4
add ecx, eax
push eax
mov eax, 0x1fbf24a5
sub ecx, eax
pop eax
push dword [esp]
pop ecx
sub esp, 4
mov dword [esp], ebx
mov ebx, esp
add ebx, 4
add ebx, 4
xor ebx, dword [esp]
xor dword [esp], ebx
xor ebx, dword [esp]
pop esp
jmp 0x56873d
je 0x417e96
jmp 0x564993
add esi, 0x1000
jmp 0x51eef7
push eax
push ecx
mov dword [esp], esp
add dword [esp], 4
pop eax
add eax, 4
sub eax, 4
xchg dword [esp], eax
pop esp
mov dword [esp], esi
pop dword [0x4c4970]
push 0x23ff1715
mov dword [esp], ecx
mov ecx, esp
add ecx, 4
sub ecx, 4
xchg dword [esp], ecx
mov esp, dword [esp]
mov dword [esp], ecx
push eax
mov eax, 0x7ffef077
not eax
and eax, 0x692fbbac
xor eax, 0x7bfe0399
sub ecx, 0x7fa37091
sub ecx, eax
add ecx, 0x7fa37091
pop eax
add ecx, eax
push eax
mov eax, 0x75277e80
inc eax
xor eax, 0x6f5e6207
not eax
sub eax, 0x6987db68
add ecx, eax
mov eax, dword [esp]
add esp, 4
push dword [esp]
pop ecx
push edx
mov dword [esp], ebp
mov ebp, esp
add ebp, 4
push edi
mov edi, 0x5f28a3da
or edi, 0x55bab62c
dec edi
inc edi
or edi, 0x7b698372
or edi, 0x2fbdc21a
add edi, 0x80000806
add ebp, edi
pop edi
xchg dword [esp], ebp
pop esp
jmp 0x5b77a8
add eax, 0x2baf2c04
add eax, 0x5ff7f577
add eax, esi
push ecx
mov dword [esp], edi
mov edi, 0x2eff47c9
xor edi, 0x7108b2be
sub eax, edi
pop edi
push edx
mov edx, 0x2baf2c04
sub eax, edx
pop edx
push eax
mov eax, esp
push ebp
mov ebp, 0x72d7aa87
dec ebp
dec ebp
sub ebp, 0x72d7aa81
add eax, ebp
pop ebp
sub eax, 4
push eax
push dword [esp + 4]
pop eax
pop dword [esp]
mov esp, dword [esp]
mov dword [esp], ecx
add ecx, 0x57dfcef1
push esi
mov esi, 0x45d5d252
sub ecx, esi
pop esi
sub ecx, 0x7ede7ac6
add ecx, 0x1f7ff29a
add ecx, eax
sub ecx, 0x1f7ff29a
add ecx, 0x7ede7ac6
add ecx, 0x45d5d252
sub ecx, 0x57dfcef1
mov ecx, dword [esp]
push edi
sub esp, 4
mov dword [esp], esp
add dword [esp], 4
pop edi
add edi, 4
add edi, 4
xor edi, dword [esp]
xor dword [esp], edi
xor edi, dword [esp]
pop esp
jmp 0x5f589a
je 0x564993
jmp 0x5f5890
jne 0x564993
jmp 0x600fbc
call fcn.00417a90
jmp 0x65916a
test eax, eax
jmp 0x5a8c12
cmp word [esi], 0x5a4d
jmp 0x5a8c1d
mov dword [0x4c4c20], eax
jmp 0x54727a
push dword [0x4c4970]
mov eax, dword [esp]
push edi
push esp
pop edi
push esi
mov esi, 4
add edi, esi
pop esi
add edi, 4
xchg dword [esp], edi
pop esp
jmp 0x641064
push dword [eax + 0x3c]
push dword [esp]
mov eax, dword [esp]
add esp, 4
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
jmp 0x59274a
add esp, 4
jmp 0x5d8c98
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x34b979e6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..text_1
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x6e265df0
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408925
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov edx, dword [esp]
add esp, 4
and eax, edi
inc eax
call fcn.0040894b
sub eax, eax
xor dword [ebx], edx
inc edi
sub edi, 0xd7118c6f
inc ebx
cmp ebx, ecx
jne fcn.00408925
or eax, edi
ret
Function at 0x4065a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6019e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
push 0x6042b4
lea eax, [ebp - 8]
push dword [edi + 0x1c]
push eax
call fcn.0058c7cb
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
je 0x4066f2
push 2
push 0xfffffffffffffff0
push eax
call fcn.005890ed
push dword [ebp - 8]
push 0x10
push 1
push 0x62c420
call fcn.0058d9e0
add esp, 0x1c
mov ecx, 0x62c420
mov edx, 0x604c24
mov esi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4066e7
add ecx, 4
add edx, 4
sub esi, 4
jae 0x406610
push 1
push 0xffffffffffffffec
push dword [ebp - 8]
call fcn.005890ed
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push 4
push 1
push eax
call fcn.0058d9e0
add esp, 0x1c
cmp eax, 4
jne 0x4066e7
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0xfffffffc
mov dword [ebp - 0xc], eax
push 1
sub ecx, eax
push ecx
push dword [ebp - 8]
call fcn.005890ed
mov esi, dword [ebp - 0xc]
add esp, 0xc
lea eax, [esi + 0x24]
call fcn.00585a60
mov ecx, esp
mov edx, esi
push 1
push 4
call fcn.004aec40
mov esi, eax
lea ecx, [esi + 4]
mov dword [esi], ecx
push dword [ebp - 8]
push dword [ebp - 0xc]
push 1
push esi
call fcn.0058d9e0
add esp, 0x18
cmp eax, dword [ebp - 0xc]
jne 0x4066e7
mov ecx, dword [edi + 0x1c]
mov edx, 0x6042bc
push 0x6042b8
mov dword [ebp - 0x10], 0
call fcn.004035f0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0058c7cb
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x4066e7
push eax
push dword [ebp - 0xc]
push 1
push esi
call fcn.0058c4f0
push dword [ebp - 0x10]
call fcn.00588cf7
add esp, 0x14
push dword [ebp - 8]
call fcn.00588cf7
add esp, 4
lea esp, [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005852a8
mov esp, ebp
pop ebp
ret
Function at 0x406900
Capabilities:
Get hostname
Terminate process

Disassembly:
sub esp, 0x14
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
push 0x704
mov edi, ecx
call fcn.0058db11
mov esi, eax
add esp, 4
test esi, esi
je 0x4069d1
push 0x704
push 0
push esi
call fcn.00587250
add esp, 0xc
mov dword [esi + 0x53c], 3
mov ecx, 0xc
call fcn.004af380
mov ecx, eax
mov dword [esi], eax
call fcn.004b59f0
mov dword [esi + 0x18], eax
or edi, 0x18
push 0xff
lea eax, [esi + 0x3c]
mov dword [esi + 0x38], edi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
movzx ecx, byte [esp + 0xd]
mov eax, ecx
sub eax, 0x80
je 0x4069a0
sub eax, 0x7f
je 0x406994
mov dword [esi + 0x54c], ecx
jmp 0x4069aa
mov dword [esi + 0x54c], 0
jmp 0x4069aa
mov dword [esi + 0x54c], 3
mov eax, dword [esi]
mov edx, 8
test eax, eax
pop edi
lea ecx, [eax + 0x328]
mov eax, esi
cmovne edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [edx], esi
pop esi
xor ecx, esp
call fcn.005852a8
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x408d80
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, edx
mov bl, cl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408e05
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
movzx eax, bl
mov word [esp + 0xc], ax
xor eax, eax
mov dword [esp + 8], 1
cmp esi, 1
jne 0x408dbb
mov dword [esp + 0x10], 2
jmp 0x408dd5
cmp esi, 3
jne 0x408dc6
mov dword [esp + 0x10], esi
jmp 0x408dd5
cmp esi, 4
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x10], eax
push 0
movzx eax, bl
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
lea eax, [esp + 8]
push 0x1c
push eax
push 1
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendInput]
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x4091b0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp + 4], 3
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409205
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push str.SoftwareSASGeneration
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x409ed0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x62b184]
mov ebx, ecx
push edi
mov edi, edx
test esi, esi
je 0x409f40
cmp edi, 2
jl 0x409f1e
movzx eax, word [ebx]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0xa
jne 0x409f18
push 0
push 0
push 0
push 0x409210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x409f18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x62b184]
mov ecx, esi
call fcn.004aed40
test eax, eax
je 0x409f38
push ecx
mov ecx, dword [esi + 0x18]
mov edx, ebx
push edi
call fcn.004b7000
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebp, dword [esp + 0x1c]
xor esi, esi
push ebp
push 0x401cb0
call fcn.004097c0
add esp, 8
test eax, eax
je 0x409f73
add esi, eax
mov edx, edi
push ebp
push 0x401cb0
sub edx, esi
lea ecx, [esi + ebx]
call fcn.004097c0
add esp, 8
test eax, eax
jne 0x409f58
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x409f80
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x62b078]
push ebx
mov ebx, ecx
push ebp
mov ebp, edx
push esi
push edi
test eax, eax
je 0x409fdc
xor esi, esi
cmp dword [0x62b090], esi
jle 0x409fc9
nop dword [eax]
push dword [eax + esi*4]
call fcn.0058c812
mov eax, dword [0x62b078]
inc esi
add esp, 4
cmp esi, dword [0x62b090]
jl 0x409fb0
push eax
call fcn.0058c812
add esp, 4
mov dword [0x62b078], 0
mov ecx, dword [0x604f2c]
mov eax, dword [0x62b088]
imul eax, ecx
mov dword [0x604f30], ecx
cdq
and edx, 0x3ff
lea esi, [edx + eax]
mov eax, dword [0x62b068]
imul eax, ecx
sar esi, 0xa
mov dword [0x62b05c], esi
cdq
and edx, 0x3ff
lea ecx, [edx + eax]
mov eax, esi
cdq
idiv dword [0x62b08c]
sar ecx, 0xa
mov edi, eax
mov dword [0x62b09c], ecx
mov esi, edx
mov dword [0x62b098], edi
mov eax, ecx
cdq
idiv dword [0x62b06c]
mov dword [0x62b090], eax
test esi, esi
je 0x40a04a
inc edi
mov dword [0x62b098], edi
test edx, edx
je 0x40a054
inc eax
mov dword [0x62b090], eax
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 7
call esi
push 8
mov word [esp + 0x18], ax
call esi
mov word [esp + 0x16], ax
movzx eax, word [0x62b05c]
push eax
call esi
mov word [esp + 0x18], ax
movzx eax, word [0x62b09c]
push eax
call esi
push ebp
mov word [esp + 0x1e], ax
lea eax, [esp + 0x18]
push 8
push eax
call ebx
mov eax, dword [0x62b090]
add esp, 0xc
shl eax, 2
push eax
call fcn.0058db11
mov edx, eax
add esp, 4
mov dword [0x62b078], edx
test edx, edx
je 0x40a130
mov edi, dword [0x62b090]
xor esi, esi
test edi, edi
jle 0x40a11d
mov eax, dword [0x62b098]
shl eax, 3
push eax
call fcn.0058db11
mov edx, dword [0x62b078]
add esp, 4
mov dword [edx + esi*4], eax
test eax, eax
je 0x40a171
mov edi, dword [0x62b090]
inc esi
cmp esi, edi
jl 0x40a0c0
test edi, edi
jle 0x40a11d
mov esi, dword [0x62b098]
xor eax, eax
test esi, esi
jle 0x40a115
nop dword [eax]
mov ecx, dword [edx]
mov dword [ecx + eax*8], 0xff
mov ecx, dword [edx]
mov byte [ecx + eax*8 + 4], 0
inc eax
cmp eax, esi
jl 0x40a100
add edx, 4
sub edi, 1
jne 0x40a0f7
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005852a8
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x2d5
mov edx, 0x604e38
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x2d5
push 0x604e58
push 0x604e78
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x2d7
mov edx, 0x604e9c
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x2d7
push str...meshcoreKVMWindowskvm.c
push 0x604edc
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x40a7b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
push 0x10
mov edi, edx
mov dword [esp + 0x14], str.__kvm0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], str.__kvm1
mov dword [esp + 0x10], 0
call fcn.0058db11
mov esi, eax
add esp, 4
test esi, esi
je 0x40a86c
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
mov ecx, edi
movups xmmword [esi], xmm0
push 0
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
push 0
push dword [0x604f34]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
call fcn.004b6000
mov ecx, dword [0x604f34]
mov edx, 0xffff
dec ecx
mov dword [0x62b184], eax
neg ecx
push esi
push 0
sbb ecx, ecx
add ecx, 2
push 0x40a780
mov dword [0x604f34], ecx
mov ecx, eax
push 0x40a700
push 0x40a6c0
call fcn.004b6f80
add esp, 0x24
mov dword [0x604f20], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3

Function at 0x40a8b0
Capabilities:
Create thread
Terminate process

Disassembly:
push ecx
test edx, edx
je 0x40a8ef
cmp dword [0x62b058], 1
jne 0x40a8c7
cmp dword [0x604f20], 0
je 0x40a946
push dword [esp + 0xc]
mov dword [0x62b054], 0
push 0x401cb0
push ecx
mov dword [0x604f34], 1
call fcn.0040a7b0
add esp, 0xc
pop ecx
ret
push 0xc
call fcn.0058db11
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40a965
cmp dword [0x62b058], 1
xorps xmm0, xmm0
mov eax, dword [esp + 0xc]
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
mov dword [ecx], 0x401cb0
mov dword [ecx + 4], eax
mov dword [ecx + 8], 1
mov dword [0x62b080], 1
jne 0x40a94a
cmp dword [0x604f20], 0
jne 0x40a94a
push ecx
call fcn.0058c812
add esp, 4
xor eax, eax
pop ecx
ret
push 0
push 0
push ecx
push fcn.0040a2c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x624148
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x4c4
push 0x624164
push 0x624180
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x40ad40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [0x62b08c]
push esi
push edi
mov edi, dword [0x62b09c]
xor esi, esi
mov dword [esp + 0x10], edx
mov eax, edi
cdq
idiv ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
test edx, edx
je 0x40ad72
mov ebx, ebp
sub ebx, edx
add ebx, edi
jmp 0x40ad74
mov ebx, edi
sub ebx, dword [esp + 0x10]
sub ebx, dword [0x62b06c]
mov ecx, dword [0x62b05c]
test edx, edx
je 0x40ad90
mov eax, ebp
sub eax, edx
add eax, edi
jmp 0x40ad92
mov eax, edi
sub eax, dword [esp + 0x10]
cmp ebx, eax
jge 0x40adfe
mov eax, ecx
cdq
idiv ebp
test edx, edx
je 0x40adab
mov eax, ebp
sub eax, edx
add eax, ecx
jmp 0x40adad
mov eax, ecx
mov ecx, dword [0x62b0a8]
xor edi, edi
mov edx, dword [esp + 0x24]
imul eax, ebx
add eax, dword [esp + 0x14]
imul eax, ecx
imul ecx, ebp
add edx, eax
and ecx, 0xfffffffc
lea eax, [ecx + edx]
add ecx, 3
shr ecx, 2
cmp edx, eax
cmova ecx, edi
test ecx, ecx
je 0x40adf1
nop dword [eax]
imul esi, esi, 0x1000193
lea edx, [edx + 4]
inc edi
xor esi, dword [edx - 4]
cmp edi, ecx
jb 0x40ade0
mov edi, dword [0x62b09c]
inc ebx
mov edx, dword [esp + 0x1c]
jmp 0x40ad7e
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40c090
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x10000
mov ebx, ecx
call fcn.0058db11
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x40c108
push str._netif_:_
push 0x10000
push eax
call fcn.0040bb80
mov ecx, dword [ebx]
mov edi, eax
mov esi, 0x10000
add esp, 0xc
mov edx, esi
add ecx, edi
sub edx, edi
call fcn.0040bba0
add edi, eax
mov eax, dword [ebx]
push 0x60506c
sub esi, edi
add eax, edi
push esi
push eax
call fcn.0040bb80
add edi, eax
add esp, 0xc
mov eax, dword [ebx]
mov byte [edi + eax], 0
lea eax, [edi + 1]
push eax
push dword [ebx]
call fcn.0059256f
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x40c149
mov eax, edi
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1a9
mov edx, 0x60500c
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x1a9
push 0x605024
push 0x60503c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1ae
mov edx, 0x605070
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x1ae
push str...meshcoremeshinfo.c
push 0x6050a0
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3
Function at 0x40c190
Capabilities:
Create thread
Shutdown system

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6019e4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x40c36f
cmp esi, 6
jne 0x40c1d5
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push 2
call esi
push 4
call esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005852a8
add esp, 0x1c
ret
cmp esi, 7
jne 0x40c1f6
push 1
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
lea eax, [esi - 6]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005852a8
add esp, 0x1c
ret
cmp esi, 8
jne 0x40c217
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [esi - 7]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005852a8
add esp, 0x1c
ret
cmp esi, 9
jne 0x40c256
push 0
push 0
push 0
push 0x409210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 8], eax
test eax, eax
je 0x40c240
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005852a8
add esp, 0x1c
ret
cmp esi, 5
jg 0x40c36f
lea eax, [esp + 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40c36f
lea eax, [esp + 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne case.default.0x40c2cc
dec esi
cmp esi, 4
ja case.default.0x40c2cc
jmp dword [esi*4 + 0x40c384]
push bind
test edi, edi
je 0x40c2e6
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40c322
push 0
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40c322
push 0
push 1
push 0x1e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
jmp 0x40c322
push 1
push 1
push 0x1e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
jmp 0x40c322
push edi
push 1
jmp 0x40c31c
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
test eax, eax
je case.default.0x40c2cc
push 0
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005852a8
add esp, 0x1c
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005852a8
add esp, 0x1c
ret