joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a5f78
Capabilities:
Check for software breakpoints

Disassembly:
dec ebx
mov edi, 0xf12d18d7
imul ebp, dword [esi - 0x77], 0xffffffbe
insd dword es:[edi], dx
mov edi, 0x1ee69f8b
jae 0x5a5fc1
insd dword es:[edi], dx
dec ebp
adc al, 0x61
insd dword es:[edi], dx
and dword [eax + 0x2c4e7c94], eax
pop ds
cmp al, 0xcc
sub dl, ch
fldcw word [edx - 0xb]
dec esp
jecxz 0x5a5ff4
invalid
jnp 0x5a5f51
xlatb
pop esi
or eax, 0xbcfa2cec
push ebx
sub al, 0x97
js 0x5a5ffd
dec ebp
pop ss
mov edi, 0x173e6c02
pop edx
xlatb
sbb ebx, dword [esi]
push 0xffffffffffffffb2
pop esi
dec edx
adc bh, 0xf6
les esp, [eax - 0x36]
xchg esp, eax
invalid
das
dec esp
les esi, [eax]
outsd dx, dword [esi]
dec eax
jl 0x5a5ff5
push 0x64f26ee8
inc ebp
or edx, dword [ebx + 0x5f]
stosd dword es:[edi], eax
test edx, 0xffeff66c
sub al, 0xd5
movsd dword es:[edi], dword [esi]
sahf
push cs
scasb al, byte es:[edi]
dec esi
mov dh, 0x2e
cmp ch, byte [ebp + 0x6f]
xchg byte [ebx + eax*4 - 0x60], bl
das
aaa
inc edi
cmp dword [ecx], ebp
push 0xbc5ad90a
jmp 0x5a6002
or al, 0x2e
std
mov edi, 0x8a6e481c
std
mov edx, 0x6f88cb3d
outsd dx, dword [esi]
pop eax
cmc
mov bl, 0xdc
xchg esp, eax
push edi
sbb eax, 0xcdced83e
enter 0xffffffffffff9ac4, 0xffffffffffffffe4
ficomp dword [edi - 0x57a973b5]
lahf
sar dword [esi + 0x74cd1b5b], 1
pop ebp
inc edx
mov esi, 0xd47c57ef
inc edx
push cs
push ds
outsb dx, byte [esi]
jo 0x5a6071
lodsb al, byte [esi]
push cs
mov word [eax], gs
mov bl, 0xaf
add byte [eax], al
test al, 0xfa
jecxz 0x5a602d
add al, 0xeb
sub eax, 0x7030fa2e
jge 0x5a60af
push ebp
fnstsw word [edi - 0x185425cc]
add al, 0xaa
mov al, byte [0x8fd8fa76]
test ebx, esp
stc
invalid
cmovl ecx, ecx
add byte [edi + ecx*4 - 0x41], ch
in eax, 0x3b
int1
invalid
imul esi, dword [esp + ebx - 0x198b7931], 0x2e3cf6d7
inc esp
inc ebx
pop ecx
mov dl, 0x9d
fcomp dword [eax - 0x39b25ee4]
out 0x5d, al
popfd
inc ecx
movq qword [ebx + 0x5d68790f], mm3
jl 0x5a6074
test bl, ch
sti
adc byte [ecx + 0x3c], bh
Function at 0x5bc878
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005efd68
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5bc99b
push ecx
lea ecx, [esi + 0x18]
call fcn.005dc098
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5bc9b2
push ecx
lea ecx, [esi + 0x24]
call fcn.005dbfa8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5db02d
Capabilities:
Encode data using xor

Disassembly:
aaa
mov edx, 0x6665d4eb
out dx, eax
ljmp 0x5036
mov ch, 0x57
out dx, al
mov bl, 0x2b
add dl, ch
js 0x5db03a
std
mov dword [0xa8124e87], eax
xor esi, dword [ebp - 0x6e]
sahf
aam 0x9e
jnp 0x5db034
out 0x3f, al
movsd dword es:[edi], dword [esi]
mov dh, 0xfd
loopne 0x5daf8f
scasd eax, dword es:[edi]
call 0x353ff5bc
invalid
aam 0x5e
shl dword [eax + 0x48], 1
invalid
aad 0xa
pop ss
add al, 0x76
jl 0x5db01c
jbe 0x5db0af
call 0xe509abb4
mov edx, 0x31dedce2
jl 0x5db031
stosd dword es:[edi], eax
in al, 0xba
loop 0x5db017
invalid
fidiv word [ecx]
jne 0x5dafc0
inc edx
cmc
pop esi
dec ebx
aas
add eax, 0xab95ca95
sbb ch, byte [ecx + 0xe]
iretd
mov dl, 0xa6
mov cl, 0xed
mov ah, 0xed
invalid
fdiv st(2), st(0)
test eax, 0x8cc5c137
je 0x5db05b
push esi
or edx, dword [ebp + 0x6f]
sbb al, byte [eax + edi*4 + 0x623df50c]
xor dh, byte [esp + esi*2 - 0x2fbc0cfd]
inc ecx
dec edx
inc ebx
in eax, dx
cli
push esp
call 0x6f61dfe6
les eax, [esi]
lodsb al, byte [esi]
insd dword es:[edi], dx
cmpsb byte [esi], byte es:[edi]
xlatb
inc edi
pop ecx
jnp 0x5db085
push ebp
out dx, al
invalid

Function at 0x5e2c68
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
rep insb byte es:[edi], dx
xchg dword fs:[edx + 0x18], esi
adc eax, 0xee6e7fe4
rol dword [0xbdb6d7af], 0xd
invalid
Function at 0x605f08
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.006393f8
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x60602b
push ecx
lea ecx, [esi + 0x18]
call fcn.00625728
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x606042
push ecx
lea ecx, [esi + 0x24]
call fcn.00625638
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x61a878
Capabilities:
Encode data using xor

Disassembly:
cmp edi, dword [ecx*8 + 0x6deed60e]
into
fistp qword [esi]
hlt
pop ss
cmc
push ecx
popfd
adc dl, byte [esi + 0x1e]
push ds
xor eax, 0xd9b3d50f
mov dl, 0x98
dec esi
je 0x61a83f
add ch, byte [esi - 0x53f31f6e]
fild word [ebp - 0x692b5bfe]
sbb al, 3
xchg edx, eax
and cl, byte [edx]
pushfd
js 0x61a87e
mov byte [0xc0621f5f], al
adc esp, dword [esi]
fidivr dword [esi - 0x3d342612]
mov esi, 0xc2cbd9ee
mov al, 0xac
lodsd eax, dword [esi]
jbe 0x61a8a5
mov ecx, 0xa7f054af
pop ebp
test al, 0xd0
jns 0x61a8d1
sar byte [ecx + 0x18], 1
test dword [ecx - 0x7f80cf55], 0x2ebe7c63
salc
fsubp st(0)
pop edi
cmpsd dword fs:[esi], dword es:[edi]
outsb dx, byte [esi]
pop esi
mov bh, 0x45
pop esp
dec esi
fst dword [ebp + 0x3e]
sbb bh, byte [ecx]
push ebp
sbb bh, byte ds:[ecx]
push es
pop es
jbe 0x61a917
pop eax
adc dh, byte [edx + ecx*2 + 0x678de633]
loop 0x61a8b6
leave
add al, 0xfc
sub dh, bl
lcall 0xfaa9, 0x5888630
lcall 0xca, 0x47c48f16
xor ebx, esi
mov word [ebp + 0x4d448369], gs
and al, byte [esi + ebp*4]
loopne 0x61a8e4
invalid
les ebx, [ecx + 0x4e25ee49]
lcall 0xed98, 0xd1f7d230
invalid
Function at 0x62c2f8
Capabilities:
Encode data using xor

Disassembly:
inc edx
or al, 0x20
cmp byte fs:[ebx], dh
adc ebx, esi
jg 0x62c30b
push edi
push cs
pop es
pop edi
loopne 0x62c30d
jle 0x62c2a9
pop ss
and al, 0x89
or edx, dword fs:[ebx]
invalid
invalid
mov dl, 0x35
pop ss
push ebp
imul edx, dword [edi + 0x650e7caf], 0x69
jle 0x62c2b3
in al, 0x5e
test esp, 0x68e6d505
out 0x68, al
mov ebp, 0x7276b2ec
jl 0x62c2d8
xor eax, 0x1607619c
mov word [ecx + 0x241c697b], ss
xor bl, byte [ebx]
jne 0x62c320
cmp byte [ecx - 0x60ee1157], bl
dec ebp
xchg edi, eax
xor dword [edi - 0x4f], ecx
inc esp
xchg ebp, eax
jg 0x62c374
fdiv st(7)
sbb al, 0x4e
mov ebp, 0x1e678d76
add bl, dh
push ss
lodsb al, byte [esi]
in eax, dx
enter 0xffffffffffffbf34, 0xfffffffffffffffb
int3
pop es
inc ebx
pop ecx
fist word [ebx + 0x1c31acbb]
in eax, 0x78
or dword [esi - 0x59ae0512], ecx
jmp 0xc11f0fad

Function at 0x639528
Capabilities:
Encode data using xor

Disassembly:
invalid
out dx, al
pop edi
jg 0x6394ae
into
stc
nop
mov ebx, 0x163e42cb
push dword [edx + 0x1e]
bound ecx, qword [ebp + 6]
test byte [edi + 0x76fc8c1a], dl
scasb al, byte es:[edi]
sar cl, cl
dec esi
adc ah, dl
into
das
sub eax, 0x94158a8f
out 0x94, al
jg 0x639558
jp 0x63956a
adc cl, dh
xchg esi, eax
outsb dx, byte ss:[esi]
outsb dx, byte [esi]
mov dl, 0xff
push esi
adc ah, byte [edx]
mov esp, 0xcac6ad7a
xchg esi, eax
ror byte [edx + ebp - 0x4f784589], 0x82
mov al, 0x82
push dword [edx + 0x65ae390]
bound cx, dword [esi]
daa
imul edx
das
add eax, 0x794e567e
jg 0x6395a2
mov edi, 0x8ec2be86
test byte [ebx - 0x4fd3620b], 0x7e
scasb al, byte es:[edi]
sbb dword [eax + 0x6a283aa7], edx
cmc
inc edi
out 0x5f, eax
and al, 0x29
pop esp
sub dword [edi], edx
sbb dl, byte [edi]
sar byte [eax], 0xea
add byte [edi - 0x3538a23e], ch
sub byte [eax - 0x61f7817e], 0xe6
mov eax, ebp
xor dword [ecx + 0x374e934a], ebx
dec edx
sub eax, dword ss:[esi - 0x22]
add cl, byte [esi + 0x32]
cmpsb byte [esi], byte es:[edi]
cmc
les eax, [esi - 0x59921103]
lahf
jb 0x639583
ret 0xf68e
scasd eax, dword es:[edi]
ret 0xc75d
invalid

Function at 0x64d13d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x654338
cmp edx, dword [eax]
je 0x64d15f
add eax, 8
inc ecx
cmp eax, 0x6543c8
jl 0x64d150
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x654338]
jne 0x64d28d
mov eax, dword [0xa57c90]
cmp eax, 1
je 0x64d267
test eax, eax
jne 0x64d190
cmp dword [0x654264], 1
je 0x64d267
cmp edx, 0xfc
je 0x64d28d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64d1c7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
lea eax, [ebp + 8]
lea esi, [esi + 0x65433c]
push 0
push eax
push dword [esi]
call fcn.0064dfb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x9ce080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9ce0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x9f3458
push ecx
call fcn.009de1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.009de1e1
add esp, 0x10
jmp 0x9ce0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.009de20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.009dddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.009ce050
mov eax, dword [0x9f8728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x9ce13b
push esi
call fcn.009cdfb0
add esp, 4
mov dword [0x9f8728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x9ce14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.009cdff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x9d1440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9d14b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x9d148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9d1471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9d147e
add edx, ecx
cmp ebx, edx
jb 0x9d148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9d1467
xor ecx, ecx
jmp 0x9d14a2
test eax, eax
jne 0x9d1492
xor ecx, ecx
jmp 0x9d14a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.009d13c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9d18f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x9d1921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x9d1946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x9d196e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x9d1993
push ecx
push esi
call fcn.009d14c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x9d8e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x9ee8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x9d8ed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.009d57a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x9d8e61
mov edx, dword [eax]
jmp 0x9d8e63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.009d7050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x9d8ebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x9d8ebf
cmp esi, edi
je 0x9d8ebf
mov ecx, esi
call fcn.009d0a00
push esi
call fcn.009de1c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.009d5990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x9d8ef5
mov eax, dword [eax]
jmp 0x9d8ef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.009d4640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x9d8f25
mov eax, dword [eax]
jmp 0x9d8f27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x9d8f76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x9d8f76
cmp esi, edi
je 0x9d8f76
mov eax, dword [esi]
cmp eax, edi
je 0x9d8f5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x9d8f6d
push eax
call fcn.009de1c8
add esp, 4
push esi
call fcn.009de1c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x9d9f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x9ee9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x9da002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.009dddff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x9da002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009d56e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.009de20b
push 0x10
call fcn.009de1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x9d9fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009ca1c0
jmp 0x9d9fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.009d9b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x9d9ff0
mov ecx, edi
call fcn.009ca2c0
push edi
call fcn.009de1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x9da021
inc ebx
cmp ebx, 0x20
jb 0x9d9f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2e050113
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4ce96e6d
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401ca1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ce0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ce0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ce0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ce0
cmp dword [ecx + 0x74], 0xe
jbe 0x401ce0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x435cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x435cdf
pop dword [ebp - 0x50]
mov eax, 0x2ae296a8
add eax, 0xd560c637
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x56591895
sub dword [ebp - 0x60], 0x806d34a
mov dword [ebp - 0x5c], 0x7a28d729
add dword [ebp - 0x5c], 0xb80a751c
mov dword [ebp - 0x58], 0x3862e5a6
sub dword [ebp - 0x58], 0xec16a178
mov dword [ebp - 0x54], 0xb7b9e887
add dword [ebp - 0x54], 0x48461779
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x129d347c
sub dword [ebp - 0x60], 0x9e2acb26
mov dword [ebp - 0x5c], 0xfc22a091
add dword [ebp - 0x5c], 0x4549c0e4
mov dword [ebp - 0x58], 0xbe619673
add dword [ebp - 0x58], 0xa50dd5f9
mov dword [ebp - 0x54], 0xa4b961d4
sub dword [ebp - 0x54], 0xa4b961d4
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x3f0b25a2
add eax, 0xc1388cce
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x45bf8
push 0
call eax
mov ecx, 0xe352f038
add ecx, 0x1cad5d13
mov esi, eax
mov edi, 0xc24fc0a6
sub edi, 0xc20972a6
add edi, dword [ebp - 0x50]
mov edx, 0x3d62be6a
sub edx, 0x7fa9cac5
xor dword [ebp - 0x14], 0x2fcba6b3
mov ebx, dword [edi]
mov dword [ebp - 0x2c], 0x8935a1ad
xor ebx, edx
xor dword [ebp - 0x24], edi
mov dword [esi], ebx
add dword [ebp - 0x40], 0xe1ae855a
add esi, 4
add edi, 0x8eee740c
sub edi, 0x8eee7408
loop 0x435dfc
add eax, 0xa41f6768
sub eax, 0xa41e3f69
xor ebx, ebx
add ebx, eax
add eax, 0x7c091405
sub eax, 0x7c091400
mov ecx, 0x6f51e972
sub ecx, 0x6f11e972
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1000cc3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002d770
call fcn.10016ea3
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000ccbb
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000ccbb
call fcn.10005a09
mov esi, eax
jmp 0x1000cd92
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000ccde
call fcn.10005a09
jmp 0x1000cd85
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000ccd4
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000cd0e
mov esi, 0x8007000e
jmp 0x1000cd87
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001cc74
jmp 0x1000cd34
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000cd07
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000ccd4
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001cc74
mov esi, eax
test edi, edi
je 0x1000cd92
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000cdab
lea ecx, [ebp - 0x418]
call fcn.1000c3cf
mov eax, esi
call fcn.10016df0
ret 0x10