joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4164a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x466b89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
mov eax, dword [0x4761cc]
xor ebx, ebx
mov dword [esp + 0x14], eax
xor esi, esi
mov edx, edi
mov ecx, esi
sar edx, cl
test dl, 1
je 0x4164ee
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 5
je 0x416511
mov dl, byte [esp + 0x14]
inc dl
inc esi
cmp esi, 0x1a
mov byte [esp + 0x14], dl
jl 0x4164d7
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x14]
mov byte [esp + 0x18], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x416569
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
push ecx
call fcn.00416380
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
je 0x4165b0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4165a7
cmp al, 0xff
je 0x4165a7
pop edi
dec al
pop esi
pop ebp
mov byte [ecx], al
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x419460
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467008
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x10], 0
call fcn.00415150
mov al, 1
mov dword [esi + 0x1c], 0
mov byte [esi + 4], al
mov byte [esi + 0x20], al
mov eax, dword [esp + 0x18]
mov dword [esi + 0x28], 0
cmp eax, 0xffffffff
jne 0x4194bb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4194b9
mov eax, dword [eax + 4]
jmp 0x4194bb
xor eax, eax
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x30], eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.00415140
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 8
Function at 0x425bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467ed9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x34]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x20], ebx
call fcn.004150c0
sub esp, 0x10
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 2
call fcn.00422f90
add esp, 0x14
mov ecx, esi
mov byte [esp + 0x1c], bl
push eax
call fcn.00425b20
lea eax, [esp + 0x20]
lea ecx, [esi + 0x10]
push eax
call fcn.004371a0
mov eax, dword [esp + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x425c69
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x425c60
cmp al, 0xff
je 0x425c60
dec al
mov byte [ecx], al
jmp 0x425c69
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], 0xffffffff
call fcn.00415140
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x14
Function at 0x42ad3e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468379
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov cl, byte [eax]
xor ebx, ebx
mov byte [esi], cl
mov al, byte [edx]
push edi
lea ecx, [esp + 0x20]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x47bd48]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x42ad8b
push 0x34
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], ebx
mov dword [eax + 0x30], 1
mov dword [0x47bd48], eax
mov dword [eax], ebx
mov ecx, dword [0x47bd48]
add esp, 4
mov dword [ecx + 8], ebx
mov edi, dword [0x47bd4c]
push 0x34
inc edi
mov dword [0x47bd4c], edi
mov edi, dword [0x47bd48]
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x30], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x433e30
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x12
mov esi, 0x46ae04
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x48]
mov ecx, 0x400
mov esi, 0x46ae4c
mov dword [esp + 0x18], ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x10], 0x12
xor ecx, ecx
lea eax, [edx + 1]
mov cl, byte [edx + edi]
add ebx, 4
cdq
idiv esi
xor eax, eax
shl ecx, 8
mov ebp, edx
mov al, byte [edi + ebp]
mov dword [esp + 0x24], eax
lea eax, [ebp + 1]
cdq
idiv esi
mov ebp, edx
xor edx, edx
mov dl, byte [edi + ebp]
lea eax, [ebp + 1]
mov dword [esp + 0x20], edx
cdq
idiv esi
xor eax, eax
mov ebp, edx
mov al, byte [edi + ebp]
mov dword [esp + 0x14], eax
lea eax, [ebp + 1]
cdq
idiv esi
mov eax, dword [esp + 0x24]
mov ebp, dword [ebx - 4]
or ecx, eax
mov eax, dword [esp + 0x20]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
xor ebp, ecx
dec eax
mov dword [ebx - 4], ebp
mov dword [esp + 0x10], eax
jne 0x433e6c
mov ebx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov esi, ebx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.00433f70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esi], eax
add esi, 4
inc edi
mov dword [esi], ecx
inc edi
add esi, 4
cmp edi, 0x12
jl 0x433eeb
lea eax, [ebx + 0x48]
mov dword [esp + 0x10], 4
mov ebp, eax
xor edi, edi
mov esi, ebp
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebx
call fcn.00433f70
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x100
jl 0x433f26
mov eax, dword [esp + 0x10]
add ebp, 0x400
dec eax
mov dword [esp + 0x10], eax
jne 0x433f22
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x439730
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x439773
mov ecx, dword [ebp + 8]
push ecx
call fcn.00440e4b
add esp, 4
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x40]
test eax, eax
je 0x439769
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x43988a
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x43984a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
je 0x439839
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4397b1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
call dword [ecx]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4397d3
xor al, al
jmp 0x43988a
cmp dword [ebp - 4], 2
jne 0x4397db
jmp 0x439839
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x439834
cmp dword [ebp - 4], 3
je 0x4397f0
cmp dword [ebp - 4], 1
jne 0x439834
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
jl 0x439834
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x11c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ecx + 8], eax
jmp 0x439799
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x84], ecx
jmp 0x43987e
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xcc
je 0x43987e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.0043988e
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x43988e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x4398c4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
xor edx, edx
mov dl, byte [ecx + 8]
test edx, edx
je 0x43998a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x78]
cmp edx, dword [ecx + 0x60]
jae 0x439956
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x43991e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x184]
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x439954
xor al, al
jmp 0x4399a6
jmp 0x4398da
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx + 4]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
jmp 0x4398c4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0x41]
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x43f480
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
xor ecx, ecx
test ecx, ecx
je 0x43f4b0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
call dword [eax]
add esp, 4
mov dword [ebp - 0x10], 0x3b9aca00
cmp dword [ebp - 0x10], 0x3b9aca00
jne 0x43f4c6
xor ecx, ecx
test ecx, ecx
je 0x43f4e0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004424bb
add esp, 4
mov dword [ebp - 0xc], eax
push 0x54
mov edx, dword [ebp + 8]
push edx
call fcn.00442450
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43f538
mov eax, dword [ebp + 8]
push eax
call fcn.004424c2
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 0x14], 0x36
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx]
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx], fcn.0043f67d
mov eax, dword [ebp - 8]
mov dword [eax + 4], fcn.0043f86d
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], fcn.0043f95f
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], fcn.0043fa60
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x43fb75
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], 0x43fc14
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], 0x43fcb3
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], 0x43ff82
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], 0x4402d9
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], fcn.00440636
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], 0x4407ec
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], 0x3b9aca00
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x2c], eax
mov dword [ebp - 4], 1
jmp 0x43f5ca
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jl 0x43f5ee
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4 + 0x34], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0x3c], 0
jmp 0x43f5c1
mov eax, dword [ebp - 8]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x4c], 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push str.JPEGMEM
call sub.MSVCRT.dll_getenv
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f679
mov byte [ebp - 0x18], 0x78
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push str._ld_c
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCRT.dll_sscanf
add esp, 0x10
test eax, eax
jle 0x43f679
movsx edx, byte [ebp - 0x18]
cmp edx, 0x6d
je 0x43f65e
movsx eax, byte [ebp - 0x18]
cmp eax, 0x4d
jne 0x43f66a
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x3e8
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x3e8
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], edx
mov esp, ebp
pop ebp
ret
Function at 0x455760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x45578a
test ecx, ecx
jne 0x455794
test edx, edx
jne 0x455794
mov eax, edi
jmp 0x455800
cmp eax, 0xffffffff
jne 0x455794
push 0xfffffffffffffffe
pop eax
jmp 0x455800
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x455800
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x4557c5
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x4557e4
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x45585b
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.00455860
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x455847
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x45585b
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x45576c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x45a9c0
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 8
shl eax, 0x18
test eax, 0x80000000
je 0x45a9dc
add eax, eax
xor eax, 0x4c11db7
jmp 0x45a9de
shl eax, 1
dec ecx
jne 0x45a9cc
ret

Function at 0x45aac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor eax, eax
xor ecx, ecx
mov esi, dword [edi + 4]
test esi, esi
jle 0x45aaf2
mov ebp, dword [edi]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x47c52c]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x45aad5
mov esi, dword [edi + 0xc]
xor ecx, ecx
test esi, esi
jle 0x45ab1b
mov ebp, dword [edi + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x47c52c]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x45aafe
mov ecx, dword [edi]
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov ecx, dword [edi]
mov byte [ecx + 0x17], dl
mov ecx, dword [edi]
mov edx, eax
shr edx, 0x10
mov byte [ecx + 0x18], dl
mov edx, dword [edi]
pop edi
pop esi
shr eax, 0x18
pop ebp
mov byte [edx + 0x19], al
pop ebx
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [0x40a040]
mov dword [esp + 0xdc], eax
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x40812e
push edi
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov word [esp + 0x48], ax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ecx, 0x20
lea edi, [esp + 0x60]
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x44], 1
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
je 0x4010b2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401067
sub eax, edx
mov al, byte [eax + esi - 1]
cmp al, 0x2f
je 0x401097
cmp al, 0x5c
je 0x401097
mov ecx, dword [ebp + 8]
push ecx
push esi
push str._s_s
lea edx, [esp + 0x6c]
push 0x7f
push edx
call fcn.00401b2d
add esp, 0x14
jmp 0x4010ca
mov eax, dword [ebp + 8]
push eax
push esi
push 0x408120
lea ecx, [esp + 0x6c]
push 0x7f
push ecx
call fcn.00401b2d
add esp, 0x14
jmp 0x4010ca
mov edx, dword [ebp + 8]
push edx
push 0x40811c
lea eax, [esp + 0x68]
push 0x7f
push eax
call fcn.00401b2d
add esp, 0x10
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push 0
push 0x20
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0xe4]
call fcn.00401bb5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4015a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
push ebx
push ebp
push esi
mov esi, 0x10
cmp ecx, esi
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
mov byte [esp + 0x13], 0
jb 0x4015d1
mov eax, dword [eax + 4]
jmp 0x4015d4
add eax, 4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4016a9
mov ebp, dword [esp + 0x28]
cmp dword [ebp + 0x18], esi
lea edi, [ebp + 4]
jb 0x401604
mov eax, dword [edi]
jmp 0x401606
mov eax, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x17]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push edx
call ebx
cmp eax, 0xea
jne 0x40169e
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.004020b5
mov esi, eax
mov eax, dword [ebp + 0x18]
add esp, 4
cmp eax, 0x10
jb 0x401646
mov edi, dword [edi]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push 0
push edi
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov eax, esi
mov byte [esi + ecx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401668
mov ecx, dword [esp + 0x2c]
sub eax, edx
push eax
push esi
call fcn.00401470
push esi
call fcn.004020b0
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40169e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
Function at 0x4020df
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4081a0
call fcn.00402e08
mov edi, 0x94
mov eax, edi
call fcn.00404550
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x40a798], ecx
mov eax, dword [esi + 4]
mov dword [0x40a7a4], eax
mov edx, dword [esi + 8]
mov dword [0x40a7a8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x40a79c], esi
cmp ecx, 2
je 0x40213f
or esi, 0x8000
mov dword [0x40a79c], esi
shl eax, 8
add eax, edx
mov dword [0x40a7a0], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40217a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40217a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x402192
cmp eax, 0x20b
je 0x40217f
mov dword [ebp - 0x1c], esi
jmp 0x4021a6
cmp dword [ecx + 0x84], 0xe
jbe 0x40217a
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4021a0
cmp dword [ecx + 0x74], 0xe
jbe 0x40217a
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.004044f7
pop ecx
test eax, eax
jne 0x4021d2
cmp dword [0x40a76c], 1
jne 0x4021bf
call fcn.00403cac
push 0x1c
call fcn.00403b35
push 0xff
call fcn.0040399a
pop ecx
pop ecx
call fcn.00404455
mov dword [ebp - 4], esi
call fcn.004042aa
test eax, eax
jge 0x4021eb
push 0x1b
call fcn.004020ba
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40bd34], eax
call fcn.00404188
mov dword [0x40a764], eax
call fcn.004040e6
test eax, eax
jge 0x402211
push 8
call fcn.004020ba
pop ecx
call fcn.00403eb3
test eax, eax
jge 0x402222
push 9
call fcn.004020ba
pop ecx
push 1
call fcn.004039ca
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x402238
push eax
call fcn.004020ba
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403e56
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x402259
movzx eax, word [ebp - 0x40]
jmp 0x40225c
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004016c0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40227a
push edi
call fcn.00403af5
call fcn.00403b17
jmp 0x4022ac
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00402e43
ret