joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x4018ed
Capabilities:
Encode data using base64 via winapi
Get common file path
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
enter 0x4d4, 0
lea eax, [ebp - 0x2cc]
push eax
push 2
call dword [sym.imp.WS2_32.DLL_WSAStartup]
push 0x104
lea eax, [ebp - 0x4d4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x7f00
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], 6
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.DLL_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassA]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x13c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x10]
lea ebx, [eax - 0x47]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
mov eax, dword [ebp - 4]
add eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x401c44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x403050]
or dl, 1
imul edx, eax
mov edi, dword [0x403050]
mov ebx, eax
sub edi, edx
mov eax, 0x403054
mov edx, edi
call fcn.00401b81
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402d2c
push edx
sub edi, fcn.004024f7
push edi
xor eax, eax
push fcn.004024f7
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401cbc
mov eax, fcn.004024f7
mov ebx, esi
mov edx, edi
call fcn.00401b81
mov edx, 0x1be00
mov eax, 0x403054
mov ebx, esi
call fcn.00401343
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x474d335f
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x1f682d32
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10002ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e656
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x1002d068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.lynxclientmessengerpro.exe
push 0x1002de48
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call fcn.10001050
add esp, 4
test eax, eax
jne 0x10002f4a
push str.lynxclientmessengerpro.exe_verification_failed
call fcn.10003d50
add esp, 4
xor eax, eax
jmp 0x100030f4
push str.lynxclientmessengerpro.exe_verification_passed
call fcn.10003d50
push 0x44
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.100086a0
xor eax, eax
mov dword [ebp - 0x2a0], 0x44
add esp, 0x10
mov dword [ebp - 0x21c], 7
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x25c], xmm0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x10002fbf
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100045e0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x249]
cmovae ecx, dword [ebp - 0x230]
push edx
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x248]
call fcn.10001120
push str.Launching
mov byte [ebp - 4], 1
call fcn.10003d50
lea eax, [ebp - 0x218]
push eax
call fcn.10003d50
add esp, 8
lea ecx, [ebp - 0x25c]
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10003080
push str.CreateProcess_failed
call fcn.10003d50
add esp, 4
xor esi, esi
jmp 0x1000309b
push dword [ebp - 0x25c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x258]
call esi
mov esi, 1
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x100030b9
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.100048a0
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp ecx, 8
jb 0x100030f2
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.100048f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007550
mov esp, ebp
pop ebp
ret
Function at 0x10003500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002d068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10003644
cmp byte [ebx + 0x3e], 0
je 0x10003644
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x10003564
xor al, al
jmp 0x10003646
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100035d5
sub eax, 1
je 0x100035d9
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x1000362c
xor bl, bl
jmp 0x1000362e
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x1000360e
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1000dac7
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x100035d1
cmp byte [ebx + 0x3e], 0
je 0x1000362c
test esi, esi
jne 0x10003597
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.100040b0
jmp 0x10003594
mov bl, 1
cmp ecx, 0x10
jb 0x10003640
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.100048a0
mov al, bl
jmp 0x10003646
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007550
mov esp, ebp
pop ebp
ret
Function at 0x1001108c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10010d4f

Function at 0x10011097
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10010ed0
Function at 0x43c856
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x47a2a0
call fcn.00448da9
mov eax, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
mov edx, 0x494578
mov ecx, eax
call fcn.0043f5e8
mov esi, eax
mov ecx, esi
call fcn.0043d9a5
pop ecx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push 0x100001
mov ecx, eax
call fcn.00425854
push esi
mov ebx, 0x100000
push ebx
push 1
push dword [ebp - 0x28]
call fcn.00457e47
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp eax, ebx
ja 0x43c931
push esi
call fcn.0045c423
pop ecx
test eax, eax
je 0x43c8d6
push 0x133
jmp 0x43c936
push esi
call fcn.0045c3f7
pop ecx
test eax, eax
jne 0x43c8e8
push 0x13b
jmp 0x43c936
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.0043c822
mov ecx, dword [ebp - 0x10]
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebx + ecx]
cmp ebx, eax
je 0x43c916
push ecx
push ebx
mov ecx, edi
call fcn.00404a3c
lea ecx, [ebp - 0x28]
call fcn.0040c03a
test esi, esi
je 0x43c929
push esi
call fcn.00456f3d
pop ecx
mov eax, edi
call fcn.00448d72
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.0041241e
push 0x4a5ce4
lea eax, [ebp - 0x38]
push eax
call fcn.0044c197
int3

Function at 0x44278c
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, ecx
push edi
mov edi, dword [esp + 0x24]
mov ebp, SysReAllocString
test edi, edi
jl 0x44280f
jg 0x4427b8
test esi, esi
je 0x44280f
test edi, edi
jg 0x4427b8
jl 0x4427b4
cmp esi, ebp
jae 0x4427b8
mov eax, esi
jmp 0x4427ba
mov eax, ebp
and dword [esp + 0x20], 0
cmp dword [esp + 0x18], 0xffffffff
je 0x442800
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push ebx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4427ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x44280a
jmp 0x442800
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4427fb
add ebx, eax
cdq
sub esi, eax
sbb edi, edx
jmp 0x4427a0
cmp eax, 0xffffffff
jne 0x44280a
call fcn.00451cc1
cmp dword [eax], 4
je 0x4427a0
or eax, 0xffffffff
jmp 0x442811
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x8a8840
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8a8990
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8a8866
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a8852
add dl, dl
jne 0x8a8871
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a88c4
xor eax, eax
add dl, dl
jne 0x8a887e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a8965
add dl, dl
jne 0x8a888d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a8898
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a88a3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a88ae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8a88ba
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8a885d
mov eax, 1
add dl, dl
jne 0x8a88d2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a88dd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a88c9
sub eax, ebx
mov ebx, 1
jne 0x8a8910
mov ecx, 1
add dl, dl
jne 0x8a88f6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8a8901
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a88ed
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a885d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8a8927
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8a8932
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a891e
cmp eax, 0x7d00
jae 0x8a8955
cmp eax, 0x500
jb 0x8a8950
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a885d
cmp eax, 0x7f
ja 0x8a8958
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a885d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8a8986
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8a885d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001500
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37d4
call fcn.1002a120
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push edi
push eax
push str..PhysicalDrive_d
lea edx, [ebp - 0x10c]
xor esi, esi
call fcn.10001c30
add esp, 8
push esi
push esi
push 3
push esi
push 3
push esi
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x37cc], edi
cmp edi, 0xffffffff
je 0x1000173d
xor eax, eax
push 0x2710
push eax
lea edx, [ebp - 0x37bc]
mov dword [ebp - 0x37c8], eax
mov dword [ebp - 0x37c4], eax
push edx
mov dword [ebp - 0x37d0], esi
mov dword [ebp - 0x37c0], eax
mov dword [ebp - 0x37c8], eax
mov dword [ebp - 0x37c4], eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x37d0]
push eax
push 0x2710
lea ecx, [ebp - 0x37bc]
push ecx
push 0xc
lea edx, [ebp - 0x37c8]
push edx
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10001730
mov eax, dword [ebp - 0x37b0]
push esi
lea edi, [ebp - 0x8dc]
lea ecx, [ebp - 0x37bc]
call fcn.10001390
mov eax, dword [ebp - 0x37ac]
push esi
lea edi, [ebp - 0xcc4]
lea ecx, [ebp - 0x37bc]
call fcn.10001390
mov eax, dword [ebp - 0x37a8]
push esi
lea edi, [ebp - 0x10ac]
lea ecx, [ebp - 0x37bc]
call fcn.10001390
mov eax, dword [ebp - 0x37a4]
push 1
lea edi, [ebp - 0x4f4]
lea ecx, [ebp - 0x37bc]
call fcn.10001390
add esp, 0x10
cmp byte [0x1003bb00], 0
jne 0x100016e7
movsx eax, byte [ebp - 0x4f4]
mov edi, dword [sym.imp.MSVCR100.dll_isalnum]
push eax
call edi
add esp, 4
test eax, eax
jne 0x10001663
movsx ecx, byte [ebp - 0x4e1]
push ecx
call edi
add esp, 4
test eax, eax
je 0x100016e7
xor eax, eax
jmp 0x10001670
mov cl, byte [ebp + eax - 0x8dc]
mov byte [eax + 0x1003b700], cl
inc eax
test cl, cl
jne 0x10001670
xor eax, eax
jmp 0x10001690
mov cl, byte [ebp + eax - 0xcc4]
mov byte [eax + 0x1003b300], cl
inc eax
test cl, cl
jne 0x10001690
xor eax, eax
jmp 0x100016b0
mov cl, byte [ebp + eax - 0x4f4]
mov byte [eax + 0x1003bb00], cl
inc eax
test cl, cl
jne 0x100016b0
xor eax, eax
jmp 0x100016d0
mov cl, byte [ebp + eax - 0x10ac]
mov byte [eax + 0x1003af00], cl
inc eax
test cl, cl
jne 0x100016d0
mov esi, 1
push 0x2710
lea edx, [ebp - 0x37bc]
push 0
push edx
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0x37cc]
add esp, 0xc
push 0
lea eax, [ebp - 0x37d0]
push eax
push 0x2710
lea ecx, [ebp - 0x37bc]
push ecx
push 0
push 0
push 0x700a0
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, dword [ebp - 0x37cc]
jmp 0x10001736
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10029640
mov esp, ebp
pop ebp
ret 4
Function at 0x10001b80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x94
xor edi, edi
lea eax, [ebp - 0xa0]
push edi
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x10001c03
call fcn.100011e0
test eax, eax
jne 0x10001c19
push esi
call fcn.10001920
test eax, eax
jne 0x10001c19
push esi
call fcn.10001500
test eax, eax
jne 0x10001c19
push esi
call fcn.10001070
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029640
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test edi, edi
jne 0x10001c17
push esi
call fcn.100017b0
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x10001c05
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029640
mov esp, ebp
pop ebp
ret

Function at 0x10001d30
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10001db2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov edx, dword [ebp - 0xd0]
mov ecx, dword [esi]
push 0
push edx
push 4
push esi
mov dword [ebp - 0xcc], ecx
call edi
xor eax, eax
jmp 0x10001d80
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10001d80
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
push 0
push edx
push 4
push esi
mov dword [esi], ecx
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10029640
mov esp, ebp
pop ebp
ret 4

Function at 0x10001dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1003a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10001e17
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10001df4
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029640
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.10029640
mov esp, ebp
pop ebp
ret 4
Function at 0x10001f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a4c8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1003a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x10001f87
lea eax, [ebp + 8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001f90
sub eax, edx
mov esi, eax
push esi
call fcn.100295fe
mov edi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x10001fb8
lea esp, [esp]
xor byte [eax + edi], al
inc eax
cmp eax, esi
jb 0x10001fb0
cmp dword [ebp + 0x1c], 0x10
jb 0x10001fcb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x10002e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x10002e2a
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x40
push 4
lea ecx, [esi + ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, edi
jb 0x10002e12
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x10003120
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8