joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f342ba0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.msvcrt.dll_malloc]
push 0x2000
call esi
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x5f342bcb
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x5f342ca8
push edi
push 0x104
call esi
mov edi, eax
test edi, edi
pop ecx
mov dword [ebp - 0x10], edi
jne 0x5f342bf3
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x5f342ca6
push dword [ebp + 8]
mov esi, 0x5f342084
push 0x1000
push ebx
push esi
push 0
push 0x5f34205c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5f342c2a
push 0x527
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x5f342c95
cmp word [ebx], 0
mov esi, ebx
je 0x5f342c92
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push edi
call fcn.5f34298d
test eax, eax
je 0x5f342c81
push dword [ebp - 8]
push dword [ebp + 0x18]
call fcn.5f342a7d
test eax, eax
je 0x5f342c81
cmp dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
je 0x5f342c6e
mov ecx, dword [ebp + 0x10]
push dword [ebp + 8]
mov edx, dword [ebp - 0xc]
add ecx, edx
push ecx
push dword [ebp - 4]
push esi
push eax
call fcn.5f342aa5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x5f342c32
xor edi, edi
inc edi
mov esi, dword [sym.imp.msvcrt.dll_free]
push ebx
call esi
push dword [ebp - 0x10]
call esi
pop ecx
mov eax, edi
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x5f343634
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
push ebx
push esi
push edi
je 0x5f343774
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5f343774
and dword [ecx], 0
mov edi, dword [sym.imp.msvcrt.dll_malloc]
and dword [eax], 0
mov esi, 0x208
push esi
call edi
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x5f343675
push 0xe
jmp 0x5f343779
mov eax, dword [ebp + 0x14]
and word [ebx], 0
push 0x104
push ebx
push 0xffffffffffffffff
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp word [ebx], 0
je 0x5f34376d
push esi
call edi
mov edi, eax
test edi, edi
pop ecx
jne 0x5f3436bd
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, esi
jmp 0x5f343781
push dword [0x5f341d90]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x5f341d84]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
call esi
push ebx
push edi
call esi
push dword [0x5f341d84]
push edi
call esi
push dword [0x5f341d94]
push edi
call esi
mov esi, dword [ebp + 0x10]
push esi
push 0x2001f
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5f343759
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
push dword [0x5f341d7c]
mov dword [ebp - 8], edi
push dword [esi]
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5f34374f
mov eax, dword [ebp + 0xc]
push edi
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
inc esi
jmp 0x5f3436ae
push 0x3f2
jmp 0x5f3436a6
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x5f3436ac
push 0x57
jmp 0x5f3436a6
push 0xa0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x5f343788
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.msvcrt.dll__msize]
push esi
call edi
mov ebx, dword [sym.imp.msvcrt.dll_malloc]
push eax
call ebx
push esi
mov dword [ebp - 4], eax
call edi
push eax
call ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
add esp, 0x10
cmp dword [ebp - 4], 0
mov edi, eax
mov dword [ebp - 8], edi
je 0x5f3438dc
test edi, edi
je 0x5f3438d6
mov eax, dword [ebp + 0x18]
jmp 0x5f3437dd
cmp eax, dword [ebp + 0x14]
ja 0x5f3437e2
and dword [esi + eax*4], 0
inc eax
cmp eax, dword [ebp + 0x1c]
jbe 0x5f3437d3
mov esi, dword [ebp - 4]
mov ebx, dword [sym.imp.msvcrt.dll_swprintf]
xor ecx, ecx
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
cmp dword [eax], 0
mov dword [ebp + 0x18], eax
je 0x5f343861
test cl, 1
push ecx
push 0x5f3420a4
je 0x5f343836
push edi
call ebx
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp + 0x18]
push dword [eax]
push 0x5f3420c8
push edi
call ebx
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp + 0x1c]
add esp, 0x18
cmp eax, dword [0x5f345c48]
jbe 0x5f343861
mov dword [0x5f345c48], eax
jmp 0x5f343861
push esi
call ebx
lea esi, [esi + eax*2 + 2]
mov eax, dword [ebp + 0x18]
push dword [eax]
push 0x5f3420c8
push esi
call ebx
lea esi, [esi + eax*2 + 2]
mov eax, dword [ebp + 0x1c]
add esp, 0x18
cmp eax, dword [0x5f345c3c]
jbe 0x5f343861
mov dword [0x5f345c3c], eax
mov ecx, dword [ebp + 0x1c]
inc ecx
cmp ecx, dword [ebp + 0x14]
mov dword [ebp + 0x1c], ecx
jbe 0x5f3437f0
xor eax, eax
mov word [esi], ax
sub esi, dword [ebp - 4]
mov word [edi], ax
inc esi
inc esi
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 7
push eax
push dword [0x5f341d64]
push dword [ebp + 8]
call esi
mov ebx, eax
test ebx, ebx
jne 0x5f3438b1
sub edi, dword [ebp - 8]
inc edi
inc edi
push edi
push dword [ebp - 8]
push 7
push eax
push dword [0x5f341d68]
push dword [ebp + 8]
call esi
mov ebx, eax
push dword [ebp - 4]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push dword [ebp - 8]
call esi
push dword [ebp + 0xc]
call esi
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x5f3438e7
push dword [ebp - 4]
call ebx
pop ecx
test edi, edi
je 0x5f3438e4
push edi
call ebx
pop ecx
push 0xe
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x5f343e82
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push 0xc0000000
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5f343ecf
push dword [ebp + 0xc]
mov esi, 0x5f345468
push 0x5f34211c
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
jmp 0x5f343f0e
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x5f341ca0
mov esi, 0x5f345468
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp + 0x10]
pop edi
mov dword [ecx], esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5f343f1a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5f34215c
mov esi, ebx
push 0x80000002
movzx edi, bh
and esi, 0xff
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5f343f84
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x5f342150
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5f343f84
cmp dword [ebp - 0xc], 4
jne 0x5f343f84
push dword [ebp - 0x10]
jmp 0x5f343f86
push 0
shr ebx, 0x10
push ebx
push edi
push esi
mov esi, 0x5f345468
push 0x5f342138
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
cmp dword [ebp - 4], 0
je 0x5f343faf
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0xc
Function at 0x415f17
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x466208]
jne 0x415f24
call fcn.004501a8
mov eax, dword [0x469498]
mov ecx, dword [eax]
add dword [0x469498], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x415f5b
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x466208]
jne 0x415f68
call fcn.004501a8
mov eax, dword [0x469498]
mov ecx, dword [eax]
add dword [0x469498], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x415f9d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x466208]
jne 0x415fab
call fcn.004501a8
mov eax, dword [0x469498]
mov eax, dword [eax]
add dword [0x469498], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x415ff1
fadd qword [0x45c0c0]
fmul qword [0x45c0b8]
pop ecx
ret

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

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
inc esi
mov dword [0x4694a0], eax
push edi
mov edx, esi
mov eax, 0x4694a0
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x469e5c
jl 0x41600e
pop edi
mov dword [0x466208], esi
mov dword [0x469e60], esi
pop esi
ret

Function at 0x417d7a
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
call dword [0x45a464]
push 0
push 0
call fcn.00443d44
mov eax, dword [0x467390]
test eax, eax
pop ecx
pop ecx
je 0x417d9f
push eax
call dword [0x45a478]
mov eax, dword [0x466200]
push esi
xor esi, esi
cmp word [eax], si
jbe 0x417dcb
mov ecx, dword [esi*4 + 0x468428]
test ecx, ecx
je 0x417dbe
push 1
call fcn.0040ff6c
mov eax, dword [0x466200]
movzx eax, word [eax]
inc esi
cmp esi, eax
jl 0x417dac
push dword [esp + 8]
call fcn.0043deca
pop esi
Function at 0x43e5b5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x43e5e3
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43e5ea
cmp ebx, dword [eax + 4]
jae 0x43e5ea
xor eax, eax
jmp 0x43e7da
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43e5fb
xor eax, eax
inc eax
jmp 0x43e7d9
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43e611
cmp ecx, edx
jae 0x43e756
cmp dword [eax + 4], 0
je 0x43e61a
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43e602
cmp dword [ebp + 8], 0
je 0x43e63c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43e756
cmp eax, esi
jae 0x43e756
mov eax, dword [0x46b550]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43e661
cmp dword [esi*4 + 0x46b558], edi
je 0x43e75a
inc esi
cmp esi, eax
jl 0x43e64f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x45a274]
test eax, eax
je 0x43e7d6
cmp dword [ebp - 8], 0x1000000
jne 0x43e7d6
test byte [ebp - 0xc], 0xcc
je 0x43e6df
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43e7d6
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43e7d6
cmp word [eax + 0x18], 0x10b
jne 0x43e7d6
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43e7d6
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43e6df
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43e6df
test byte [ecx + 0x27], 0x80
jne 0x43e756
push 1
push 0x46b598
call dword [0x45a270]
test eax, eax
jne 0x43e5f3
mov ecx, dword [0x46b550]
test ecx, ecx
mov edx, ecx
jle 0x43e713
lea eax, [ecx*4 + 0x46b554]
cmp dword [eax], edi
je 0x43e713
dec edx
sub eax, 4
test edx, edx
jg 0x43e707
test edx, edx
jne 0x43e744
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43e720
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43e738
lea eax, [edx*4 + 0x46b558]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43e726
cmp ecx, 0x10
jge 0x43e744
inc ecx
mov dword [0x46b550], ecx
push 0
push 0x46b598
call dword [0x45a270]
jmp 0x43e5f3
xor eax, eax
jmp 0x43e7d9
test esi, esi
jle 0x43e5f3
mov ebx, dword [0x45a270]
push 1
push 0x46b598
call ebx
test eax, eax
jne 0x43e5f3
cmp dword [esi*4 + 0x46b558], edi
je 0x43e7b0
mov eax, dword [0x46b550]
lea esi, [eax - 1]
test esi, esi
jl 0x43e79e
cmp dword [esi*4 + 0x46b558], edi
je 0x43e79a
dec esi
jns 0x43e78e
test esi, esi
jge 0x43e7ae
cmp eax, 0x10
jge 0x43e7a9
inc eax
mov dword [0x46b550], eax
lea esi, [eax - 1]
jmp 0x43e7b0
je 0x43e7c8
xor ecx, ecx
test esi, esi
jl 0x43e7c8
lea eax, [ecx*4 + 0x46b558]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43e7b6
push 0
push 0x46b598
call ebx
jmp 0x43e5f3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44287e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x461a68
call fcn.00458488
mov edi, 0x94
mov eax, edi
call fcn.00457ed0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x45a214]
mov ecx, dword [esi + 0x10]
mov dword [0x46b4a0], ecx
mov eax, dword [esi + 4]
mov dword [0x46b4ac], eax
mov edx, dword [esi + 8]
mov dword [0x46b4b0], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x46b4a4], esi
cmp ecx, 2
je 0x4428de
or esi, 0x8000
mov dword [0x46b4a4], esi
shl eax, 8
add eax, edx
mov dword [0x46b4a8], eax
xor esi, esi
push esi
mov edi, dword [0x45a25c]
call edi
cmp word [eax], 0x5a4d
jne 0x442919
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x442919
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x442931
cmp eax, 0x20b
je 0x44291e
mov dword [ebp - 0x1c], esi
jmp 0x442945
cmp dword [ecx + 0x84], 0xe
jbe 0x442919
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x44293f
cmp dword [ecx + 0x74], 0xe
jbe 0x442919
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0043eb89
pop ecx
test eax, eax
jne 0x442971
cmp dword [0x46b4f0], 1
jne 0x44295e
call fcn.0043dee4
push 0x1c
call fcn.0043df1d
push 0xff
call fcn.0043de01
pop ecx
pop ecx
call fcn.0043ec22
mov dword [ebp - 4], esi
call fcn.0043f048
test eax, eax
jge 0x44298a
push 0x1b
call fcn.00442859
pop ecx
call dword [0x45a2a8]
mov dword [0x46ba84], eax
call fcn.0043d09e
mov dword [0x46b4e8], eax
call fcn.00441bcf
test eax, eax
jge 0x4429b0
push 8
call fcn.00442859
pop ecx
call fcn.00441c71
test eax, eax
jge 0x4429c1
push 9
call fcn.00442859
pop ecx
push 1
call fcn.0043de4f
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4429d7
push eax
call fcn.00442859
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x45a1d4]
call fcn.004427fc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4429f8
movzx eax, word [ebp - 0x40]
jmp 0x4429fb
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0044743d
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x442a19
push edi
call fcn.0043deca
call fcn.0043de40
jmp 0x442a4b
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004584c3
ret
Function at 0x44cc15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov al, byte [0x465090]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 0x13], al
push edi
lea eax, [ebp - 0x14]
push eax
push esi
mov ebx, ecx
mov byte [ebp - 0x14], 0x20
mov byte [ebp - 0x12], 0x28
mov byte [ebp - 0x11], 9
mov byte [ebp - 0x10], 0x3c
mov byte [ebp - 0xf], 0x3e
mov byte [ebp - 0xe], 0x3a
mov byte [ebp - 0xd], 0x3d
mov byte [ebp - 0xc], 0x2b
mov byte [ebp - 0xb], 0x2d
mov byte [ebp - 0xa], 0x2a
mov byte [ebp - 9], 0x2f
mov byte [ebp - 8], 0x21
mov byte [ebp - 7], 0x7e
mov byte [ebp - 6], 0x26
mov byte [ebp - 5], 0x7c
mov byte [ebp - 4], 0x5e
mov byte [ebp - 3], 0
call fcn.004398da
test eax, eax
pop ecx
pop ecx
je 0x44cc99
cmp byte [eax], 0x3d
jne 0x44cc92
cmp eax, esi
jbe 0x44cca4
lea ecx, [eax - 1]
cmp byte [ecx], 0x2e
jne 0x44cc92
mov eax, ecx
cmp eax, esi
jbe 0x44cca4
dec eax
jmp 0x44cca4
push esi
call fcn.00457930
pop ecx
lea eax, [eax + esi - 1]
push eax
push esi
call fcn.00439826
mov edi, eax
sub eax, esi
inc eax
cmp eax, 0xfd
pop ecx
pop ecx
jbe 0x44ccd0
cmp byte [ebp + 0x10], 0
je 0x44cccc
push esi
push str.This_line_does_not_contain_a_recognized_action.
mov ecx, ebx
call fcn.0044bffc
xor eax, eax
jmp 0x44cce0
inc eax
push eax
push esi
push dword [ebp + 8]
call fcn.0043961e
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push ecx
cmp dword [0x469e60], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4694a0
jne 0x4501c8
call dword [0x45a26c]
push eax
call fcn.00415ff9
pop ecx
mov dword [0x466208], 0x270
mov dword [0x469498], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4501e7
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x45021d
mov edx, dword [0x4694a0]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x450739
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp + 0x10]
call fcn.00415ff9
xor edi, edi
pop ecx
cmp dword [esp + 0xc], edi
jbe 0x450763
push esi
mov eax, dword [esp + 0xc]
lea esi, [edi + eax]
call fcn.00415f17
xor byte [esi], al
inc edi
cmp edi, dword [esp + 0x10]
jb 0x45074d
pop esi
pop edi
ret 0xc
Function at 0x450bd5
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, ecx
push esi
push edi
mov edi, eax
or dword [eax + 0x400], 0xffffffff
xor esi, esi
mov edx, esi
push 8
shl edx, 0x18
pop ecx
test edx, 0x80000000
je 0x450bfe
add edx, edx
xor edx, 0x4c11db7
jmp 0x450c00
shl edx, 1
dec ecx
jne 0x450bec
mov dword [edi], edx
inc esi
add edi, 4
cmp esi, 0x100
jl 0x450be4
pop edi
pop esi
ret

Function at 0x451fb3
Capabilities:
Parse credit card information

Disassembly:
jmp 0x452016
cmp ecx, 0x4f
jne 0x451fc4
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x452014
cmp ecx, 0x5e
jne 0x451fe0
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 4]
je 0x45201f
movzx ecx, byte [0x4615f6]
jmp 0x452014
cmp ecx, 0x38
jl 0x45200d
cmp ecx, 0x3d
jle 0x451ffe
cmp ecx, 0x40
jle 0x451ff9
cmp ecx, 0x43
jle 0x451ffe
cmp ecx, 0x44
jne 0x45200d
mov dl, byte [eax + 3]
jmp 0x452001
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x45200b
cmp dl, 0xe
jne 0x45200d
inc eax
inc eax
movzx ecx, byte [ecx + 0x461598]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x451fb5
xor eax, eax
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
nop
sub eax, 0x403d10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4065b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f79b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004845fa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406632
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048250c
mov eax, dword [eax]
push 0x1cc4c58
push eax
call fcn.00474754
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484885
test bl, bl
je 0x406632
push 0x1cc4c58
lea ecx, [esp + 0xc]
call fcn.00484c15
push 0x1cc4c64
lea ecx, [esp + 0xc]
call fcn.00484c15
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40666e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484885
jmp 0x406739
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4066f2
lea edx, [esp + 0x7c]
push 0x1cc4c60
push edx
call fcn.00474754
add esp, 8
test eax, eax
je 0x4066f2
lea eax, [esp + 0x7c]
push 0x1cc4c5c
push eax
call fcn.00474754
add esp, 8
test eax, eax
je 0x4066f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406682
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00484885
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406f40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406fa2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc