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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xe
call fcn.00412e00
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40abad
push 0x403c08
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x403c14
mov ecx, dword [ebp - 4]
add ecx, 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 2
shl edx, 2
mov eax, dword [ebp - 4]
mov cx, word [ebp + 8]
mov word [eax + edx], cx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40aba1
cmp dword [ebp - 0xc], 5
je 0x40aba1
cmp dword [ebp - 0xc], 4
je 0x40ab4e
mov eax, dword [ebp - 4]
push eax
call fcn.0040a5e0
add esp, 4
jmp 0x40aba1
mov dword [ebp - 0x10], 0x104
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
call fcn.00412e00
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40aba1
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, 2
shl ecx, 2
add ecx, dword [ebp - 4]
push ecx
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x40ab95
mov edx, dword [ebp - 8]
push edx
call fcn.0040a5e0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00412e30
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.00412e30
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40894f
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.0040896a
or ecx, ebx
xor dword [eax], edx
sub ebx, ebx
inc eax
add ebx, ebx
and ecx, ebx
cmp eax, edi
jne fcn.0040894f
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x460b4904
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4dee1ca7
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x8ee4011
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x419361fb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407370
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424fd2
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x42e00c]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov esi, dword [ebp + 0x10]
push 0x104
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], edi
push 0
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.livesuit
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
push 0x42a05c
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x218]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407458
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, edi
call fcn.00402b20
mov dword [ebp - 4], 0
lea ebx, [esi + 0x10]
cmp dword [ebx], 0
mov dword [ebp - 0x220], 1
je 0x40757b
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
lea ecx, [eax - 3]
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4074bd
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402b20
lea eax, [ebp - 0x238]
mov dword [ebp - 0x220], 3
push eax
mov ecx, edi
call fcn.00402260
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x40751e
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407514
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040d364
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x40752c
mov esi, dword [esi]
mov dword [ebp - 0x21c], esi
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov ebx, dword [ebx]
cmp ebx, eax
ja 0x407564
lea eax, [ecx + ebx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x40754b
mov eax, dword [edi]
push ebx
push dword [ebp - 0x21c]
lea esi, [eax + ecx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x40757b
push ebx
push esi
mov byte [ebp - 0x21c], 0
mov ecx, edi
push dword [ebp - 0x21c]
push ebx
call fcn.00403540
mov eax, edi
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.0040ce19
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
bts edi, eax
cmp eax, 0x20
cmovae edx, edi
xor edi, edx
cmp eax, 0x40
mov eax, dword [ebp + 0xc]
cmovae edx, edi
test eax, eax
js 0x413aec
push ebx
push esi
lea ebx, [ebp + 0xc]
xor ecx, ecx
lea ebx, [ebx + 4]
bts ecx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
cmp eax, 0x40
mov eax, dword [ebx]
cmovae esi, ecx
or edi, ecx
or edx, esi
test eax, eax
jns 0x413ac8
pop esi
pop ebx
mov eax, edi
pop edi
pop ebp
ret

Function at 0x419130
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x1505
push edi
xor edi, edi
test esi, esi
jne 0x419149
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov dl, byte [esi]
test dl, dl
je 0x41916c
nop
mov eax, ecx
lea esi, [esi + 1]
shld edi, ecx, 5
xor edi, edi
shl ecx, 5
add ecx, eax
movzx eax, dl
cdq
mov dl, byte [esi]
add ecx, eax
test dl, dl
jne 0x419150
pop edi
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x41c980
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x18], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
jb 0x41ca48
ja 0x41c9a4
cmp dword [ebp + 0x14], 0
jbe 0x41ca48
mov eax, dword [ebp - 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x10]
push edi
movzx ecx, word [ebx + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
nop word [eax + eax]
mov eax, dword [ebp + 0x10]
mov al, byte [esi + eax]
test edi, edi
je 0x41c9e0
movzx edx, cx
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor al, cl
mov byte [esi + edi], al
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push 1
push eax
mov eax, dword [ebx]
not eax
push eax
call fcn.0041ddf0
not eax
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 8]
not eax
push eax
call fcn.0041ddf0
mov edx, dword [ebp - 8]
add esp, 0x18
add esi, 1
not eax
mov dword [ebx + 8], eax
adc edx, 0
movzx ecx, ax
mov dword [ebp - 8], edx
cmp edx, dword [ebp + 0x18]
jb 0x41c9c0
ja 0x41ca45
cmp esi, dword [ebp + 0x14]
jb 0x41c9c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ca50
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x18], 0
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movlpd qword [ebp - 0xc], xmm0
jb 0x41cba5
push ebx
mov ebx, dword [ebp + 0x14]
ja 0x41ca7a
test ebx, ebx
je 0x41cba4
cmp dword [ebp + 0xc], 0
push edi
je 0x41cb2e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push 1
mov bl, byte [eax + ecx]
mov ax, word [esi + 8]
or ax, 2
mov byte [ebp - 4], bl
movzx edi, ax
lea eax, [ebp - 4]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.0041ddf0
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.0041ddf0
mov edx, dword [ebp + 0xc]
not eax
mov dword [esi + 8], eax
add esp, 0x18
mov eax, edi
mov ecx, edi
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 8]
shr ecx, 8
xor cl, bl
mov byte [eax + edx], cl
add eax, 1
mov ecx, dword [ebp - 0x10]
adc ecx, 0
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp + 0x18]
jb 0x41ca91
ja 0x41cba3
cmp eax, dword [ebp + 0x14]
jb 0x41ca91
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov eax, dword [ebp + 0x10]
push 1
mov al, byte [edi + eax]
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [esi]
not eax
push eax
call fcn.0041ddf0
not eax
mov dword [esi], eax
movzx eax, al
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 8]
not eax
push eax
call fcn.0041ddf0
not eax
add esp, 0x18
mov dword [esi + 8], eax
add edi, 1
mov eax, dword [ebp - 0x10]
adc eax, 0
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp + 0x18]
jb 0x41cb40
ja 0x41cba3
cmp edi, ebx
jb 0x41cb40
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41cfb0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push 2
push eax
push dword [ebp + 8]
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
setns al
pop ebp
ret

Function at 0x41ddf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041de00
Function at 0x423dd0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00423de0

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x5f1a6dad
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
mov ecx, 0x470a1608
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x11a6ca0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4e007267
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
mov ecx, 0x121d3424
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x7a2d55b0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10003c20
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx + 0x20], 0
mov eax, ecx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret

Function at 0x10003c70
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 0x10]
mov edi, ecx
push dword [ebp + 0xc]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi], 0x6a09e667
mov dword [edi + 4], 0xbb67ae85
mov dword [edi + 8], 0x3c6ef372
mov dword [edi + 0xc], 0xa54ff53a
mov dword [edi + 0x10], 0x510e527f
mov dword [edi + 0x14], 0x9b05688c
mov dword [edi + 0x18], 0x1f83d9ab
mov dword [edi + 0x1c], 0x5be0cd19
call fcn.10003cf0
push dword [ebp + 8]
mov ecx, edi
call fcn.10003da0
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5a42
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x100dcd80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xc40], esi
mov dword [ebp - 0xc38], 0
mov dword [ebp - 0xc3c], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x800
lea eax, [ebp - 0xc10]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0xc38], 1
call fcn.1008e490
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xc30], 0x800
push 0x111
push eax
call fcn.1002f1b0
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 1
jbe 0x1000862c
mov eax, dword [eax]
lea ecx, [ebp - 0xc34]
push ecx
push 0x101
push 0
push eax
push reloc.WS2_32.dll_bind
call fcn.10009060
mov ecx, dword [ebp - 0xc14]
add esp, 0x14
mov byte [ebp - 4], 0
mov edi, eax
cmp ecx, 0xf
jbe 0x10008688
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000867e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100087d5
push ecx
push edx
call fcn.1008c554
add esp, 8
test edi, edi
jne 0x100087b8
lea eax, [ebp - 0xc28]
push 0x118
push eax
call fcn.1002f1b0
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x100086ac
mov eax, dword [eax]
lea ecx, [ebp - 0xc30]
push ecx
lea ecx, [ebp - 0xc10]
push ecx
push 0
push 0
push eax
push dword [ebp - 0xc34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc14]
mov edi, eax
cmp ecx, 0xf
jbe 0x10008707
mov edx, dword [ebp - 0xc28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100086fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100087da
push ecx
push edx
call fcn.1008c554
add esp, 8
test edi, edi
jne 0x100087ac
push 0x3ff
lea eax, [ebp - 0x40f]
push edi
push eax
call fcn.1008e490
mov edi, dword [ebp - 0xc30]
add esp, 0xc
xor esi, esi
mov byte [ebp - 0x410], 0
test edi, edi
jle 0x10008798
nop word [eax + eax]
mov al, byte [ebp + esi - 0xc10]
mov cl, al
and al, 0xf
shr cl, 4
cmp cl, 9
ja 0x10008758
add cl, 0x30
jmp 0x1000875b
add cl, 0x37
mov byte [ebp - 0xc2c], cl
cmp al, 9
ja 0x10008769
add al, 0x30
jmp 0x1000876b
add al, 0x37
mov byte [ebp - 0xc2b], al
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 0xc2a], 0
push 0x400
push eax
call fcn.10094995
inc esi
add esp, 0xc
cmp esi, edi
jl 0x10008740
mov esi, dword [ebp - 0xc3c]
lea eax, [ebp - 0x410]
push eax
mov ecx, esi
call fcn.100076f0
push dword [ebp - 0xc34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
call fcn.10091b9f
int3