joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41938e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x439014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4193d9
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00419529
test al, al
jne 0x4193d3
sub edx, 2
cmp edx, edi
jne 0x4193b9
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4193fb
lea eax, [edi + 2]
cmp edx, eax
je 0x4193fb
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004192da
add esp, 0x10
jmp 0x4194f5
push esi
lea ecx, [ebp - 0x255]
call fcn.00419529
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41943e
push dword [ebp - 0x25c]
jmp 0x4193eb
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41947b
cmp word [ebp - 0x226], 0
je 0x41949c
cmp word [ebp - 0x226], ax
jne 0x41947b
cmp word [ebp - 0x224], 0
je 0x41949c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004192da
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4194e8
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x419455
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4194d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4194f5
push 0x41910a
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041d3f0
add esp, 0x10
jmp 0x4194c5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040893a
leave
ret

Function at 0x419e56
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x419e67
pop esi
ret
push ebx
push edi
push esi
call fcn.00419e1f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00414098
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x419e8f
push ebx
push esi
push edi
call fcn.0040a200
add esp, 0xc
push 0
call fcn.0041405e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x41a25f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419ea4
Function at 0x1002cda
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x10011d8
call fcn.01003d60
mov edi, 0x94
mov eax, edi
call fcn.01003db0
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 [0x1009b5c], ecx
mov eax, dword [esi + 4]
mov dword [0x1009b68], eax
mov edx, dword [esi + 8]
mov dword [0x1009b6c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1009b60], esi
cmp ecx, 2
je 0x1002d3a
or esi, 0x8000
mov dword [0x1009b60], esi
shl eax, 8
add eax, edx
mov dword [0x1009b64], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002d73
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002d73
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002d8b
cmp eax, 0x20b
je 0x1002d78
mov dword [ebp - 0x1c], edi
jmp 0x1002d9f
cmp dword [ecx + 0x84], 0xe
jbe 0x1002d73
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002d99
cmp dword [ecx + 0x74], 0xe
jbe 0x1002d73
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push edi
call fcn.01003d0f
pop ecx
test eax, eax
jne 0x1002dcb
cmp dword [0x1009b4c], 2
je 0x1002db8
call fcn.0100358c
push 0x1c
call fcn.010033c3
push 0xff
call fcn.01003244
pop ecx
pop ecx
mov dword [ebp - 4], edi
call fcn.01003b4a
test eax, eax
jge 0x1002ddf
push 0x1b
call fcn.01002cb5
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x100b0f4], eax
call fcn.01003a24
mov dword [0x1009b44], eax
call fcn.01003982
test eax, eax
jge 0x1002e05
push 8
call fcn.01002cb5
pop ecx
call fcn.01003736
test eax, eax
jge 0x1002e16
push 9
call fcn.01002cb5
pop ecx
call fcn.01003274
mov dword [ebp - 0x20], eax
cmp eax, edi
je 0x1002e29
push eax
call fcn.01002cb5
pop ecx
mov eax, dword [0x1009b7c]
mov dword [0x1009b80], eax
push eax
push dword [0x1009b74]
push dword [0x1009b70]
call fcn.010026c0
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002e58
push esi
call fcn.01003383
call fcn.010033a5
jmp 0x1002e8a
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.01003d99
ret
Function at 0x408e80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x34
and eax, 0xff
sub eax, 0
je 0x408ee9
dec eax
jne 0x408f39
mov eax, dword [str.save_break.dat]
mov ecx, dword [0x442004]
mov edx, dword [0x442008]
mov dword [esp + 0x14], eax
mov ax, word [0x44200c]
mov dword [esp + 0x18], ecx
mov cl, byte [0x44200e]
mov dword [esp + 0x1c], edx
mov edx, dword [str.CCHBR]
mov word [esp + 0x20], ax
mov ax, word [0x441ffc]
mov byte [esp + 0x22], cl
mov dword [esp + 0xc], edx
mov word [esp + 0x10], ax
mov dword [esp], 0x5df560
jmp 0x408f39
mov ecx, dword [str.save_speed.dat]
mov edx, dword [0x441fec]
mov eax, dword [0x441ff0]
mov dword [esp + 0x14], ecx
mov cx, word [0x441ff4]
mov dword [esp + 0x18], edx
mov dl, byte [0x441ff6]
mov dword [esp + 0x1c], eax
mov eax, dword [str.CCSPR]
mov word [esp + 0x20], cx
mov cx, word [0x441fe4]
mov byte [esp + 0x22], dl
mov dword [esp + 0xc], eax
mov word [esp + 0x10], cx
mov dword [esp], 0x6671c0
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x24]
push 0x44107c
push edx
call fcn.00433a25
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40901f
xor eax, eax
push ebx
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1d], eax
push 5
push ecx
mov byte [esp + 0x24], 0
mov byte [esp + 0x29], al
call fcn.00433dfc
add esp, 0x10
lea esi, [esp + 0x1c]
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408fa6
test cl, cl
je 0x408fa2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408fa6
add eax, 2
add esi, 2
test cl, cl
jne 0x408f82
xor eax, eax
jmp 0x408fab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x409034
xor ebp, ebp
mov eax, ebp
push ebx
and eax, 0xffff
push 1
push 0xe8
mov esi, 0xb5e7c3d1
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
lea edi, [eax + edx*8]
push edi
call fcn.00433dfc
add esp, 0x10
mov eax, edi
mov ecx, 0x3a
mov edx, dword [eax]
add eax, 4
xor edx, esi
mov dword [eax - 4], edx
lea edx, [esi - 1]
imul esi, edx
dec ecx
jne 0x408fec
mov eax, dword [edi + 0xe0]
mov ecx, dword [edi + 0xe4]
cmp eax, ecx
jne 0x409034
inc ebp
cmp bp, 0xa
jb 0x408fb5
push ebx
call fcn.004339af
add esp, 4
mov edx, dword [esp + 0x48]
push edx
call fcn.00408710
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push ebx
call fcn.004339af
lea ecx, [esp + 0x28]
push ecx
call fcn.00433f30
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, 0xa
xor edx, edx
mov byte [eax], 0
mov dword [eax + 0xe0], edx
add eax, 0xe8
dec ecx
jne 0x409052
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x409070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x114
and eax, 0xff
push ebx
sub eax, 0
push ebp
je 0x4090db
dec eax
jne 0x40912a
mov eax, dword [str.save_break.dat]
mov ecx, dword [0x442004]
mov edx, dword [0x442008]
mov dword [esp + 0x14], eax
mov ax, word [0x44200c]
mov dword [esp + 0x18], ecx
mov cl, byte [0x44200e]
mov dword [esp + 0x1c], edx
mov edx, dword [str.CCHBR]
mov word [esp + 0x20], ax
mov ax, word [0x441ffc]
mov byte [esp + 0x22], cl
mov dword [esp + 0xc], edx
mov word [esp + 0x10], ax
mov ebx, 0x5df560
jmp 0x40912e
mov ecx, dword [str.save_speed.dat]
mov edx, dword [0x441fec]
mov eax, dword [0x441ff0]
mov dword [esp + 0x14], ecx
mov cx, word [0x441ff4]
mov dword [esp + 0x18], edx
mov dl, byte [0x441ff6]
mov dword [esp + 0x1c], eax
mov eax, dword [str.CCSPR]
mov word [esp + 0x20], cx
mov cx, word [0x441fe4]
mov byte [esp + 0x22], dl
mov dword [esp + 0xc], eax
mov word [esp + 0x10], cx
mov ebx, 0x6671c0
jmp 0x40912e
mov ebx, dword [esp + 8]
lea edx, [esp + 0x14]
push 0x441f30
push edx
call fcn.00433a25
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4091c1
push esi
push edi
push ebp
push 1
lea eax, [esp + 0x1c]
push 5
push eax
call fcn.00433cf2
add esp, 0x10
mov dword [esp + 0x10], 0xa
mov ecx, 0x3a
mov esi, ebx
lea edi, [esp + 0x3c]
mov eax, 0xb5e7c3d1
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
mov edx, 0x3a
mov esi, dword [ecx]
add ecx, 4
xor esi, eax
mov dword [ecx - 4], esi
lea esi, [eax - 1]
imul eax, esi
dec edx
jne 0x40917d
push ebp
push 1
lea ecx, [esp + 0x44]
push 0xe8
push ecx
call fcn.00433cf2
mov eax, dword [esp + 0x20]
add esp, 0x10
add ebx, 0xe8
dec eax
mov dword [esp + 0x10], eax
jne 0x409162
push ebp
call fcn.004339af
add esp, 4
pop edi
pop esi
mov edx, dword [esp + 0x120]
push edx
call fcn.00408710
add esp, 4
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x4094c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
push 0x40000
call fcn.00433f89
mov ebx, eax
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push str.txt_src_s
push ecx
mov esi, 0xa3b7ed95
call fcn.00433bbe
lea edx, [esp + 0x20]
push 0x4000
push edx
call fcn.0043a127
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
je 0x4095ad
push edi
call fcn.0043d8aa
push edi
mov ebp, eax
call fcn.00434fb6
lea eax, [esp + 0x18]
push 0x44107c
push eax
call fcn.00433a25
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4095ad
push edi
push 1
push ebp
push ebx
call fcn.00433dfc
push edi
call fcn.004339af
mov ecx, ebp
add esp, 0x14
shr ecx, 2
je 0x40955e
mov eax, ebx
mov edx, dword [eax]
add eax, 4
xor edx, esi
mov dword [eax - 4], edx
lea edx, [esi - 1]
imul esi, edx
dec ecx
jne 0x40954b
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x10]
push eax
push str.txt_s
push ecx
call fcn.00433bbe
lea edx, [esp + 0x1c]
push 0x441f30
push edx
call fcn.00433a25
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4095ad
push esi
push 1
push ebp
push ebx
call fcn.00433cf2
push esi
call fcn.004339af
push ebx
call fcn.00433f5a
add esp, 0x18
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push ebx
call fcn.00433f5a
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x421790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x486d14
call fcn.00433991
mov edi, eax
shl edi, 1
call fcn.00433991
shl eax, 1
mov word [esi - 2], ax
mov al, bl
and al, 1
neg al
sbb eax, eax
and eax, 0xffff0006
add eax, 0xfffd
mov word [esi], ax
call fcn.00433991
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x43e5a0]
fstp dword [esi + 4]
call fcn.00433991
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x43e5a0]
fstp dword [esi + 8]
call fcn.00433991
cdq
mov ecx, 0x280
idiv ecx
add edx, 0x50
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp dword [esi + 0xc]
call fcn.00433991
cdq
mov ecx, 0x1b8
and edi, 0xffff
idiv ecx
shl edi, 2
mov eax, dword [0x51959c]
add esi, 0x20
add edx, 0x50
inc ebx
mov dword [esp + 0xc], edx
mov edx, dword [0x519598]
fild dword [esp + 0xc]
cmp bx, 0x10
fstp dword [esi - 0x10]
fld dword [edi + edx]
fmul qword [0x43e390]
fstp dword [esi - 0xc]
fld dword [edi + eax]
fmul qword [0x43e390]
fstp dword [esi - 8]
jb 0x42179b
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421870
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x486d14
call fcn.00433991
mov edi, eax
shl edi, 1
call fcn.00433991
shl eax, 1
mov word [esi - 2], ax
mov al, bl
and al, 1
neg al
sbb eax, eax
and eax, 0xffff0002
add eax, 0xffff
mov word [esi], ax
call fcn.00433991
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x43e5a0]
fstp dword [esi + 4]
call fcn.00433991
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x43e5a0]
fstp dword [esi + 8]
call fcn.00433991
cdq
mov ecx, 0x320
idiv ecx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp dword [esi + 0xc]
call fcn.00433991
cdq
mov ecx, 0x12c
and edi, 0xffff
idiv ecx
shl edi, 2
mov eax, dword [0x51959c]
inc ebx
add esi, 0x20
cmp bx, 0x10
mov dword [esp + 0xc], edx
mov edx, dword [0x519598]
fild dword [esp + 0xc]
fstp dword [esi - 0x10]
fld dword [edi + edx]
fmul qword [0x43e1d8]
fstp dword [esi - 0xc]
fld dword [edi + eax]
fmul qword [0x43e1d8]
fstp dword [esi - 8]
jb 0x42187b
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421990
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x7b7
call fcn.00433987
add esp, 4
xor esi, esi
mov ebx, 0x94
mov edi, 4
call fcn.00433991
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x41
xor dl, 0xa5
mov byte [esi + 0x5b9f60], dl
call fcn.00433991
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x41
xor dl, 0xd3
mov byte [esi + 0x5ba1c0], dl
inc esi
dec edi
jne 0x4219ac
dec ebx
jne 0x4219a7
mov esi, 0x5c8540
mov edi, 0x100
call fcn.00433991
mov word [esi], ax
add esi, 2
dec edi
jne 0x4219ef
pop edi
pop esi
pop ebx
ret
Function at 0x422b90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
push ebx
push esi
push edi
call fcn.00422880
mov al, byte [0x484e73]
test al, al
jne 0x422c7c
mov al, byte [0x484e71]
mov dl, 1
cmp al, dl
mov dword [0x5d5280], 0xc12e0000
mov dword [0x5d5284], 0xc1120000
mov byte [0x5d58c3], 7
mov byte [0x5d58c0], 0
mov byte [esp + 0xc], dl
jbe 0x422dae
mov edi, 0xc1160000
xor ax, ax
mov al, dl
lea ecx, [eax - 1]
mov eax, dword [esp + 0xc]
and eax, 0xff
lea esi, [eax + eax*2]
lea esi, [esi + esi*4]
lea esi, [esi + esi*4]
lea eax, [eax + esi*2]
mov esi, 0xa4
lea eax, [eax + eax*2]
shl eax, 2
mov word [eax + 0x5d58c8], cx
and ecx, 0xffff
shl ecx, 5
sub esi, ecx
mov ecx, dword [0x484e50]
mov dword [esp + 0x10], esi
and ecx, 0xff
fild dword [esp + 0x10]
mov byte [ecx + 0x484e85], dl
mov bl, byte [0x484e50]
inc bl
inc dl
fmul dword [0x43e1f4]
mov byte [0x484e50], bl
mov byte [esp + 0xc], dl
fstp dword [eax + 0x5d5280]
mov dword [eax + 0x5d5284], edi
mov byte [eax + 0x5d58c3], 7
mov byte [eax + 0x5d58c0], 0
mov al, byte [0x484e71]
cmp dl, al
jb 0x422be2
jmp 0x422dae
mov al, byte [0x484e71]
xor edx, edx
mov dword [0x484ef4], edx
xor bl, bl
test al, al
mov word [0x484ef8], dx
mov byte [esp + 0xc], bl
jbe 0x422dae
push ebp
mov ecx, dword [esp + 0x10]
mov edi, 3
and ecx, 0xff
mov ebp, 3
mov esi, ecx
shr esi, 2
mov eax, esi
cdq
idiv edi
movsx eax, dl
dec eax
mov dword [esp + 0x14], eax
lea eax, [ecx + ecx*2]
fild dword [esp + 0x14]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov al, bl
shr al, 2
lea ecx, [ecx + edx*2]
mov dl, bl
and dl, 3
lea ecx, [ecx + ecx*2]
shl ecx, 2
movzx di, dl
fmul qword [0x43e4c8]
mov byte [ecx + 0x5d58ca], al
xor eax, eax
mov word [ecx + 0x5d58c8], di
mov al, byte [ecx + 0x5d58ca]
cdq
idiv ebp
cmp edx, 2
jne 0x422d30
and edi, 0xffff
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
fmul dword [0x484f20]
fxch st(1)
fsub qword [0x43e4a8]
fxch st(1)
fxch st(1)
faddp st(1)
jmp 0x422d4c
fadd qword [0x43e4a8]
and edi, 0xffff
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
fmul dword [0x484f20]
fsubp st(1)
fstp dword [ecx + 0x5d52ac]
mov dword [ecx + 0x5d52b0], 0xc10b8000
mov byte [ecx + 0x5d58c3], 7
mov byte [ecx + 0x5d58c0], 0
mov eax, esi
xor ecx, ecx
mov cl, byte [esi + 0x484ef4]
shl eax, 4
mov byte [eax + ecx + 0x484e94], bl
mov al, byte [esi + 0x484ef4]
inc al
mov byte [esi + 0x484ef4], al
mov dl, byte [0x484e50]
mov al, byte [0x484e71]
inc dl
inc bl
mov byte [0x484e50], dl
cmp bl, al
mov byte [esp + 0x10], bl
jb 0x422c9f
pop ebp
mov al, byte [0x484e73]
pop edi
test al, al
sete dl
pop esi
mov byte [0x484e55], dl
mov byte [0x484e84], 1
pop ebx
add esp, 8
ret
Function at 0x4236e0
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 8]
push edi
push eax
push 0x20019
push 0
push str.SOFTWARE
push reloc.DSOUND.dll_DirectSoundEnumerateA
mov byte [esp + 0x1f], 0
call esi
test eax, eax
jne 0x423801
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push eax
push str.Bulldog
push edx
call esi
test eax, eax
jne 0x423801
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.CueClub
push edx
call esi
test eax, eax
jne 0x423801
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 8
push eax
call edi
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push 0x486fb4
push edx
push 0
push 0x456a98
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4237f5
mov dword [0x486fb4], 0x5c2e
nop
nop
nop
nop
nop
nop
push 0
push 0
push 0x486f60
push 0x486f64
push 0x486f68
push 0x40
push str.NotInstalled
push 0x486fb4
mov byte [0x486fb6], 0x5c
mov byte [0x486fb7], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x486f68]
push ecx
push str.NotInstalled
push str.Volume__s__serial__08lX
call fcn.0042cba0
add esp, 0xc
jmp 0x4237f5
mov edx, dword [esp + 0xc]
push edx
call edi
mov byte [esp + 0xb], 1
mov esi, str.CUECLUB
mov eax, str.NotInstalled
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
nop
nop
test cl, cl
jmp 0x42382b
xor eax, eax
jmp 0x423834
pop edi
pop esi
test eax, eax
jmp 0x423858
mov al, byte [esp + 3]
test al, al
jmp 0x42387f
mov al, 1
add esp, 0x14
ret
Function at 0x42eb40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x100
mov ecx, dword [esp + 0x104]
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 4]
push ecx
push edx
mov byte [esp + 0xc], 0
call fcn.00434ab1
lea eax, [esp + 0xc]
push eax
call fcn.0042eba0
mov eax, dword [0x8b5504]
add esp, 0x10
test eax, eax
je 0x42eb82
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x5196ac]
test eax, eax
je 0x42eb90
call fcn.0042cba0
push 0
call fcn.004349dc
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x42ebf0
Capabilities:
Get file size
Terminate process

Disassembly:
sub esp, 0x100
mov ecx, dword [esp + 0x104]
lea eax, [esp + 0x108]
push eax
lea edx, [esp + 4]
push ecx
push edx
mov byte [esp + 0xc], 0
call fcn.00434ab1
lea eax, [esp + 0xc]
push eax
call fcn.0042eba0
mov eax, dword [0x5196ac]
add esp, 0x10
test eax, eax
je 0x42ec30
call fcn.0042cba0
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov edx, dword [0x8b5504]
push 0x30
lea ecx, [esp + 4]
push str.CueClub
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x8b5504]
test eax, eax
je 0x42ec61
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
call fcn.004349dc
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x439021
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x482ea8
cmp edx, dword [eax]
je 0x439043
add eax, 8
inc ecx
cmp eax, 0x482f38
jl 0x439034
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x482ea8]
jne 0x439171
mov eax, dword [0x56fde0]
cmp eax, 1
je 0x43914b
test eax, eax
jne 0x439074
cmp dword [0x482984], 1
je 0x43914b
cmp edx, 0xfc
je 0x439171
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4390ab
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004397a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00439dd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4390ee
lea eax, [ebp - 0x1a4]
push eax
call fcn.00439dd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43ec90
push edi
call fcn.00433ac0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004397a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004397b0
lea eax, [ebp - 0xa0]
push 0x43ec70
push eax
call fcn.004397b0
push dword [esi + 0x482eac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004397b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043ada3
add esp, 0x2c
pop edi
jmp 0x439171
lea eax, [ebp + 8]
lea esi, [esi + 0x482eac]
push 0
push eax
push dword [esi]
call fcn.00439dd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x409900
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x431420], eax
mov ecx, 1
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x43141c]
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [eax + ecx]
mov dword [ecx*4 + 0x431420], eax
cmp ecx, 0x26f
jl 0x409910
mov dword [0x416910], 0x270
ret

Function at 0x409950
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, dword [0x430010]
cmp eax, dword [0x416430]
je 0x409968
mov dword [0x416910], 0x271
cmp dword [0x416910], 0x270
jl 0x409a87
cmp dword [0x416910], 0x271
jne 0x40999f
mov eax, dword [0x430010]
call fcn.00409900
mov eax, dword [0x430010]
not eax
mov dword [0x430010], eax
mov dword [0x416430], eax
mov ebx, 0
sub ebx, 1
nop
add ebx, 1
mov eax, dword [ebx*4 + 0x431424]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x431420]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x431a54]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x416920]
xor edx, eax
mov dword [ebx*4 + 0x431420], edx
cmp ebx, 0xe2
jl 0x4099a8
mov ebx, 0xe3
sub ebx, 1
mov esi, esi
add ebx, 1
mov eax, dword [ebx*4 + 0x431424]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x431420]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x431094]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x416920]
xor edx, eax
mov dword [ebx*4 + 0x431420], edx
cmp ebx, 0x26e
jl 0x4099fc
mov eax, dword [0x431ddc]
and eax, 0x80000000
mov edx, dword [0x431420]
and edx, 0x7fffffff
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [0x431a50]
xor edx, eax
and ecx, 1
mov eax, dword [ecx*4 + 0x416920]
xor eax, edx
mov dword [0x431ddc], eax
mov dword [0x416910], 0
mov eax, dword [0x416910]
mov eax, dword [eax*4 + 0x431420]
add dword [0x416910], 1
mov edx, eax
shr edx, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret