joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fc2e2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cc7ce
call 0x555c54
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4d9118
mov dword [ebp - 4], 0xc
call fcn.004fc41f
lea edi, [esi + 0x20c]
mov ecx, edi
call 0x574139
lea ebx, [esi + 0x204]
mov ecx, ebx
call 0x574139
mov ecx, esi
call fcn.004fd8bc
lea ecx, [esi + 0x29c]
mov byte [ebp - 4], 0xb
call fcn.0050da75
lea ecx, [esi + 0x258]
mov byte [ebp - 4], 0xa
call fcn.0050da75
lea ecx, [esi + 0x214]
mov byte [ebp - 4], 9
call fcn.0050da75
mov ecx, edi
mov edi, 0x4d5fd4
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov byte [ebp - 4], 0xd
call 0x574139
mov ecx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov byte [ebp - 4], 0xe
call 0x574139
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 6
call 0x52e3dc
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call fcn.004fb60f
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call 0x56b0bb
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call 0x56b0bb
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call 0x56b0bb
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call 0x56c423
and byte [ebp - 4], 0
lea ecx, [esi + 8]
call 0x56c423
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x503665
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cd3e7
call 0x555c54
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00504599
push 0x78
mov dword [ebx + 4], 0x7d
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x5036a3
mov ecx, eax
call fcn.004f4506
mov edi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [edi + 8], 0x190
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x500c28
call 0x56c491
lea ecx, [ebx + 0x1a8]
push esi
call 0x52e4ed
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004fd8e8
xor esi, esi
push eax
inc esi
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], esi
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x56c423
xor eax, eax
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x14], esi
call 0x56b166
push 0x58
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x50373d
mov ecx, eax
call fcn.004f369b
mov edi, eax
jmp 0x50373f
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [edi + 8], 0x25a
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x500c10
call 0x56c491
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004fd8e8
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 3
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x56c423
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], 0x25a
mov dword [edi + 0x34], 0x25b
mov dword [edi + 0x14], 2
mov dword [ebp - 0x14], ecx
call 0x56b166
push 0x58
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x5037e1
mov ecx, eax
call fcn.004f369b
mov edi, eax
jmp 0x5037e3
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0x25b
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x500bf4
call 0x56c491
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004fd8e8
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 4], 5
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x56c423
mov ecx, dword [ebp - 0x14]
and dword [edi + 0x2c], 0
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x30], 0x25a
mov dword [edi + 0x34], 0x25b
mov dword [edi + 0x14], 3
call 0x56b166
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x50722d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cda99
call 0x555c54
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00504599
push 0x78
mov dword [ebx + 4], 0x69
call 0x56c164
pop ecx
mov dword [ebp - 0x10], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x507266
mov ecx, eax
call fcn.004f4506
mov esi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov edi, esp
mov dword [ebp - 0x10], esp
push ecx
mov dword [esi + 8], 0x190
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x500c28
call 0x56c491
push edi
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004fd8e8
xor edi, edi
push eax
inc edi
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], edi
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call 0x56c423
xor eax, eax
push esi
lea ecx, [ebx + 0x14]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x14], edi
call 0x56b166
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x5075c4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cdb53
call 0x555c54
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004fbdcc
push 0x50d798
lea ecx, [ebp - 0x1c]
mov dword [esi + 4], 0x9b
call 0x56c491
xor edi, edi
push 0x40
mov dword [ebp - 4], edi
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
inc ebx
cmp eax, edi
mov byte [ebp - 4], bl
je 0x507615
mov ecx, eax
call fcn.004f6233
mov edi, eax
and byte [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0xcb
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5005cc
mov dword [ebp - 0x14], eax
call 0x56c491
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [esi + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004fd8e8
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call 0x56c55c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call 0x56c423
and dword [edi + 0x2c], 0
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [ebp - 0x14], ecx
call 0x56b166
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x5076a6
mov ecx, eax
call fcn.004f6233
mov edi, eax
jmp 0x5076a8
xor edi, edi
and byte [ebp - 4], 0
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0xcc
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5005a4
call 0x56c491
push esi
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004fd8e8
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 4
call 0x56c55c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call 0x56c423
mov ecx, dword [ebp - 0x14]
xor esi, esi
push edi
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x2c], esi
mov dword [edi + 0x14], 3
call 0x56b166
push 0x78
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, esi
mov byte [ebp - 4], 5
je 0x507733
mov ecx, eax
call fcn.004f4506
mov esi, eax
and byte [ebp - 4], 0
push ecx
mov edi, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0x190
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x500c28
call 0x56c491
push edi
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004fd8e8
push eax
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call 0x56c55c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call 0x56c423
mov ecx, dword [ebp - 0x14]
xor eax, eax
push esi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x14], 2
mov dword [esi + 0x44], ebx
call 0x56b166
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call 0x56c423
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x50960a
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x4cdeb6
call 0x555c54
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call fcn.00504599
push 0x40
mov dword [ebx + 4], 0x64
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x509648
mov ecx, eax
call fcn.004f6233
mov esi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov edi, esp
mov dword [ebp - 0x10], esp
push ecx
mov dword [esi + 8], 0xc8
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x5011e4
call 0x56c491
lea ecx, [ebx + 0x1a8]
push edi
call 0x52e4ed
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004fd8e8
xor edi, edi
push eax
inc edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call 0x56c423
and dword [esi + 0x2c], 0
lea ecx, [ebx + 0x14]
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], ecx
call 0x56b166
push 0x40
call 0x56c164
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x5096d5
mov ecx, eax
call fcn.004f6233
mov esi, eax
jmp 0x5096d7
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [esi + 8], 0x12c
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x5014b0
call 0x56c491
push ebx
mov ebx, dword [ebp - 0x14]
lea ecx, [ebx + 0x1a8]
call 0x52e4ed
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004fd8e8
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call 0x56c55c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x56c423
mov ecx, dword [ebp - 0x10]
push esi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x14], 2
call 0x56b166
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x513da8
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4125ad
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
xchg esi, eax
xchg ecx, eax
jg 0x4125f9
dec esp
and bl, byte [edi - 0x19]
mov byte [0x2ec724c7], al
test dword [ecx + 0x696d0abb], eax
mov edi, 0x666256ec
into
push ss
jmp [ecx]
xchg edx, eax
lahf
jecxz 0x41263d
jecxz 0x41267d
invalid
test eax, 0x66dda6ee
loopne 0x41266c
mov esi, 0xac456294
jmp 0xf6d32dda
lea esp, [edi]
dec esi
and eax, 0xc0623662
dec esp
int1
lodsb al, byte [esi]
inc edi
xor byte [esi - 0x11a04659], bh
out dx, al
push cs
mov dh, 0x91
inc esp
adc byte [esi + 0x1c], 0xc4
mov dl, 0x76
scasd eax, dword es:[edi]
invalid

Function at 0x44a810
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
sub esp, 0x414
lea eax, [esp + 0x20c]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x21c]
push ecx
mov edi, eax
call ebx
push str.system.ini
lea edx, [esp + 0x18]
mov esi, eax
push 0x104
push edx
push esi
push str.shell
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea edx, [esp + 0x14]
mov edi, eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea eax, [esp + 0x14]
push eax
call ebx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test edi, edi
mov ebp, eax
je 0x44a8b5
mov ecx, dword [0x653d44]
push 0x653a78
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebp
push esi
push ebx
call dword [sym.imp.SHELL32.dll_StrCmpNIW]
test eax, eax
je 0x44a8df
push str.install.exe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44a8df
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x414
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x414
ret

Function at 0x4c254d
Capabilities:
Encode data using xor

Disassembly:
cmp dl, bl
push 0x53
xchg esi, eax
cmc
lcall 0xd66f, 0xa6fb60f
mov edx, 0xfd6c8ea0
fisub dword [ebp + edx*4 + 0x4587ab88]
push cs
sub ah, byte [esi + 0x61]
test dh, 0xd1
sbb bl, bh
jl 0x4c25ab
add al, 0x83
or al, bh
les eax, [ebx + 0x10]
cmc
pop ds
xchg dword [eax], ecx
sub esi, ebx
inc esi
sbb bh, dh
invalid
xchg ebp, eax
inc ebx
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lcall 0xb74b, 0x8fb8d6a
and byte [eax - 0x335ecda7], 0x66
faddp st(1)
invalid
Function at 0x52eacb
Capabilities:
Encode data using xor

Disassembly:
push ecx
enter 0x6242, 0xfffffffffffffff5
push cs
invalid
into
mov dl, 0x9a
or dword [eax], 0x8732f6fe
xor dword [edi - 0x65c2017b], edi
sub ah, cl
cli
jbe 0x52ea70
lodsb al, byte [esi]
jp 0x52ea65
or al, 0x84
movsb byte es:[edi], byte [esi]
cli
insd dword es:[edi], dx
mov al, 0x24
out dx, eax
and al, 0xef
sub eax, 0x988838c5
dec esi
stosb byte es:[edi], al
and byte [eax - 0x38f1e136], bh
dec esp
nop
pop ss
dec edx
inc ebp
cmp byte [ebp + 0x1f84ad2d], al
pop eax
mov al, 0xbc
pop ds
add bh, byte [eax]
pop esp
aam 0xb6
xchg esp, eax
add al, 0x5c
imul dword [edi + 0x7a]
rol dword [ebx - 0x1faf27ff], cl
shl byte [ecx + 0x29], cl
sal dword [ebp - 0x3d09bf1a], 0xa2
wait
jge 0x52ea8c
lds edi, [eax]
mov byte [eax - 0x47df55b2], bl
retf 0xe1e
push ds
push cs
invalid
mov esp, 0x5ca17126
jno 0x52ea6f
pop esp
jno 0x52ea98
fsubr qword [ebx - 0x45]
push esp
imul esp, ebx, 0x18
jbe 0x52ea8f
pop ss
loopne 0x52eb46
clc
fidivr word [ecx + 0xe]
in al, dx
pop edi
jae 0x52ea83
test dword [ebp - 0x7f], edi
xor byte [eax - 0x59976ef6], bh
cli
ror dword [ebx + 0x25], cl
popfd
sbb al, 0xc4
inc eax
xchg ecx, eax
push 0x4bd3faa6
and eax, 0x40c41c9d
js 0x52eaf8
fcomp dword [eax - 2]
mov dh, 0xba
push es
push ebx
xchg esp, eax
sub al, 0x84
cmp al, 0x34
add bh, byte [eax - 0xb0208a4]
invalid
or al, 0x1e
insb byte es:[edi], dx
push edi
jmp 0x7c238399
cmp al, 0x3f
sbb al, 0x60
xor al, 0x9a
dec edi
push edi
stc
loopne 0x52eb17
outsd dx, dword [esi]
leave
lodsd eax, dword [esi]
stc
add al, 0xf9
and byte [ecx], ah
jno 0x52eaed
pop ecx
int3
jl 0x52eb74
retf
lodsb al, byte fs:[esi]
add byte [ebx + 0x57], bl
aad 0x56
sar dword [ecx - 0x34], 0x74
sub al, 0xdf
dec esp
push edx
mov byte [ebx], bh
les ecx, [eax + 0x58]
pushfd
sbb al, 0x85
dec eax
jno 0x52ebfb
je 0x52eb24
hlt
out 0x2d, al
mov ebp, dword [ebx - 0x3f7eb21c]
mov ebx, 0xf0eb5c59
adc byte [eax - 0x378278f1], bl
insd dword es:[edi], dx
iretd

Function at 0x53438d
Capabilities:
Encode data using xor

Disassembly:
aad 0xb1
and ah, dl
xor al, 0x24
dec edi
pushfd
enter 0x4cdc, 0x7d
pop ebp
test dword [edi - 0x4c], esi
add eax, 0x2b6658a5
push ebp
iretd
and byte [edx], 0xba
rcl dword [edi - 0xdc6f264], 0xaf
fisubr dword [ecx + 0x5acdeca7]
jo 0x534375
mov ebx, 0xfca9db41
rcr dword [ebx - 0x5c8602f0], 0x59
sbb dword [ebx + esi*2], 0x6c
sbb bl, byte [esi + 0x3c03d189]
lahf
jae 0x534408
cld
push eax
in al, dx
or dword [eax + ebp*8 - 0x2e9324fc], esi
pop esi
fdivr st(7), st(0)
cli
cli
xor esi, dword [edx + 0x5ed14c52]
movsb byte es:[edi], byte [esi]
popal
out dx, eax
push 0x64
xchg edi, eax
and byte [ebx - 0x43], 0x2d
loope 0x5343c3
and al, 0x6c
test ah, cl
xchg ecx, eax
add al, 2
sbb eax, 0xdab514b4
aaa
ljmp 0xf85
or al, 0xb2
fild word [esp + edi - 0xd]
das
invalid

Function at 0x56d2d8
Capabilities:
Encode data using xor

Disassembly:
xor byte es:[esi + 0x613ce772], 2
imul edx, eax, 0x67
in eax, dx
jmp 0x56d339
insb byte es:[edi], dx
pushal
or ebp, dword [ecx]
xor al, 0x8c
sub esi, edi
nop
mov ch, 0x8b
outsb dx, byte [esi]
push esi
dec edi
adc bh, byte [esi + 0x70f970c5]
push ebp
cmp ah, dh
mov eax, 0xa9b2e255
out 0x32, al
add eax, 0x84db9fdf
invalid
Function at 0x401548
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
mov eax, 0x41dcd3
call fcn.0040b998
sub esp, 0x10c
mov eax, dword [0x427530]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov eax, dword [0x427530]
and dword [ebp - 4], 0
mov dword [esi + 4], eax
mov eax, dword [0x427530]
mov dword [esi + 8], eax
mov eax, dword [0x427530]
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.0041535a
lea edi, [esi + 0x38]
mov byte [ebp - 4], 4
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.0041535a
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 5
call fcn.0041535a
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004153ed
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x4c]
call fcn.004153ed
or dword [esi + 0x10], 0xffffffff
cmp byte [0x42a142], bl
jne 0x4015e3
cmp byte [0x42a143], bl
jne 0x4015e3
cmp byte [0x42a144], bl
je 0x4015fd
push str.SETUPAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esi + 0x164]
cmp eax, 0x20
mov dword [ecx], eax
jae 0x4015fd
mov dword [ecx], ebx
cmp byte [0x42a13c], 0
jne 0x40162e
cmp byte [0x42a13d], 0
jne 0x40162e
cmp byte [0x42a13e], 0
jne 0x40162e
cmp byte [0x42a13f], 0
jne 0x40162e
cmp byte [0x42a140], 0
je 0x4016d7
mov edi, str.VETUP32.DLL
lea eax, [ebp - 0x118]
push edi
push 0x42a150
push 0x425080
push eax
call fcn.0040becd
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4016c0
push edi
push str.winsetup
push 0x42a150
lea eax, [ebp - 0x118]
push 0x42506c
push eax
call fcn.0040becd
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4016c0
push edi
lea eax, [ebp - 0x118]
push str._s_ERROR_FILE_NOT_FOUND
push eax
call fcn.0040becd
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x40
push 0x425048
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040be8d
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esi + 0x18c]
cmp eax, 0x20
mov dword [ecx], eax
jae 0x4016d7
and dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40329b
Capabilities:
Delete file
Delete service
Set file attributes
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov al, byte [0x42868c]
push ebx
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x124], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.__bClearService
stosb byte es:[edi], al
call fcn.004013fd
xor ebx, ebx
pop ecx
cmp byte [0x42a13c], bl
jne 0x403335
cmp byte [0x42a13d], bl
jne 0x403335
cmp byte [0x42a13e], bl
jne 0x403335
cmp byte [0x42a13f], bl
jne 0x403335
cmp byte [0x42a140], bl
jne 0x403335
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x40330c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 8], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x403335
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [esi + 4], ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x124]
push 0x42a150
push eax
call fcn.0040bb30
lea eax, [ebp - 0x124]
push eax
call fcn.0040c0a0
add esp, 0xc
cmp byte [ebp + eax - 0x125], 0x5c
je 0x40337d
lea eax, [ebp - 0x124]
push 0x42503c
push eax
call fcn.0040bb40
pop ecx
pop ecx
lea eax, [ebp - 0x124]
add esi, 0x110
push eax
push esi
call fcn.0040bb30
push str.ntsim2.sys
push esi
call fcn.0040bb40
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0x10
push 0x80
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call ebx
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 4]
push str.bClearService_DeleteFile:__d__u__s
call fcn.004013fd
lea eax, [ebp - 0x124]
push eax
push esi
call fcn.0040bb30
push str.ntsim2A.sys
push esi
call fcn.0040bb40
add esp, 0x20
push 0x80
push esi
call edi
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.bClearService_DeleteFile:__d__u__s
call fcn.004013fd
push 0x4255cc
call fcn.004013fd
add esp, 0x14
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403c0d
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, str.VETUP32.DLL
push edi
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, 0x20
jae 0x403c4e
add edi, 8
push esi
push str._s_ERROR_INVALID_LIBRARY
push edi
call fcn.0040becd
add esp, 0xc
push 0x40
push 0x425048
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xfffffffffffffffe
call fcn.0040be8d
push str.VNW9XInstall32
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403c6e
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call eax
jmp 0x403c78
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret 0xc