joyce8/EMBER2024-capa huggingface dataset:
Function at 0x649d8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x649ef9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040a62c
mov eax, esi
mov edx, 0x649f14
call fcn.0040b668
jne 0x649dce
xor ebx, ebx
jmp 0x649e77
mov eax, esi
mov edx, 0x649f30
call fcn.0040b668
jne 0x649de6
mov ebx, 0x1a
jmp 0x649e77
mov eax, esi
mov edx, 0x649f4c
call fcn.0040b668
jne 0x649dfb
mov ebx, 0x1c
jmp 0x649e77
mov eax, esi
mov edx, 0x649f6c
call fcn.0040b668
jne 0x649e10
mov ebx, 0x26
jmp 0x649e77
mov eax, esi
mov edx, 0x649f94
call fcn.0040b668
jne 0x649e25
mov ebx, 6
jmp 0x649e77
mov eax, esi
mov edx, 0x649fb4
call fcn.0040b668
jne 0x649e3a
mov ebx, 5
jmp 0x649e77
mov eax, esi
mov edx, 0x649fdc
call fcn.0040b668
jne 0x649e4f
mov ebx, 0x28
jmp 0x649e77
mov eax, esi
mov edx, 0x64a020
call fcn.0040b668
jne 0x649e64
mov ebx, 0x27
jmp 0x649e77
mov eax, esi
mov edx, 0x64a044
call fcn.0040b668
jne 0x649e77
mov ebx, 0x19
xor edx, edx
push ebp
push 0x649ed6
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x649ecc
lea eax, [ebp - 0x20e]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x649ecc
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040b380
mov eax, dword [ebp - 0x214]
mov edx, edi
call fcn.00649d1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x649ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x649f00
lea eax, [ebp - 0x214]
call fcn.0040a62c
ret

Function at 0x64a0b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x64a14f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6d8488]
mov eax, dword [eax]
call fcn.006003a0
cmp ebx, 1
jne 0x64a0f0
push 1
call sub.kernel32.dll_Sleep
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a159
test ebx, ebx
jg 0x64a0fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a159
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x6d8488]
mov eax, dword [eax]
call fcn.006003a0
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x64a141
cmp eax, dword [esp]
pop edx
pop eax
ja 0x64a105
jmp 0x64a145
pop edx
pop eax
jg 0x64a105
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a159
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x64d6e8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x64d7d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x445c24]
call fcn.0046a4e4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov word [eax + 0x18], 0x5c
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00469444
mov dword [ebp - 8], 0x80000000
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x64d77a
inc ebx
xor esi, esi
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0040b2c4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
inc esi
dec ebx
jne 0x64d744
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x64d786
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040b2c4
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0xc], edx
call fcn.0040874c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64d7d7
lea eax, [ebp - 0x10]
call fcn.0040a62c
ret
Function at 0x67e844
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x6ffc64
test esi, esi
jne 0x67e85e
xor eax, eax
jmp 0x67e94f
cmp dword [ebp], 0
jne 0x67e869
call fcn.0067e7d4
xor ebx, 0xffffffff
cmp edi, 8
jb 0x67e929
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x67e875
test edi, edi
jbe 0x67e94a
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x67e92d
or eax, 0xffffffff
xor eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x686c54
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x686c69
add esp, 0xfffffff0
call fcn.00408dfc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.0040aa0c
mov esi, 0x80000000
cmp byte [ebp + 8], 2
je 0x686c8d
or esi, 0x40000000
movzx eax, byte [ebp + 8]
sub al, 1
jb 0x686c99
je 0x686ca2
jmp 0x686cab
mov dword [ebp - 0xc], 2
jmp 0x686cb2
mov dword [ebp - 0xc], 4
jmp 0x686cb2
mov dword [ebp - 0xc], 3
push 0
push 0x8000080
mov eax, dword [ebp - 0xc]
push eax
push 0
push 1
push esi
mov eax, dword [ebp - 8]
call fcn.0040b2c4
push eax
call sub.kernel32.dll_CreateFileW
mov edi, eax
mov dword [ebx + 8], edi
cmp edi, 0xffffffff
jne 0x686ce1
call fcn.0042e93c
jmp 0x686d4c
lea eax, [ebp - 0x10]
push eax
push edi
call sub.kernel32.dll_GetFileSize
mov ecx, eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x686d2d
call fcn.0042e93c
push 0
push 0
push 0
push 4
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [ebx + 0x18], esi
test esi, esi
jne 0x686d4c
call fcn.0042e93c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x686d63
call fcn.00408e54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x686d70
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x686d85
add esp, 0xfffffff0
call fcn.00408dfc
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov dword [ebx + 8], 0xffffffff
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_GetFileSize
mov ecx, eax
mov eax, dword [ebp - 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
push 0
push 0
push 0
push 2
push 0
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
mov dword [ebx + 0xc], edi
test edi, edi
jne 0x686de2
call fcn.0042e93c
push 0
push 0
push 0
push 4
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [ebx + 0x18], esi
test esi, esi
jne 0x686e01
call fcn.0042e93c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x686e18
call fcn.00408e54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x69601c
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
lea ebx, [eax + 0x18]
movzx edx, word [eax + 0x14]
add ebx, edx
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x6960b0
inc edi
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
add eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x696083
mov esi, dword [esp + 8]
test esi, esi
jle 0x6960aa
push 0x40
push 0x1000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebp, eax
mov dword [ebx + 8], ebp
mov eax, ebp
xor ecx, ecx
mov edx, esi
call fcn.00407980
jmp 0x6960aa
mov esi, edx
push 0x40
push 0x1000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebp, eax
mov eax, dword [ebx + 0x14]
mov edx, dword [esp]
lea eax, [edx + eax]
mov edx, ebp
mov ecx, esi
call fcn.0040708c
mov dword [ebx + 8], ebp
add ebx, 0x28
dec edi
jne 0x69604a
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6962e0
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, eax
xor esi, esi
mov eax, dword [edi]
lea ebx, [eax + 0x18]
mov eax, dword [edi]
movzx eax, word [eax + 0x14]
add ebx, eax
mov eax, dword [edi]
movzx ebp, word [eax + 6]
dec ebp
test ebp, ebp
jl 0x6963c7
inc ebp
xor edx, edx
mov eax, dword [ebx + 0x24]
mov ecx, eax
and ecx, 0x20000000
cmp ecx, 0x20000000
jne 0x69631e
or edx, 0x10
mov ecx, eax
and ecx, 0x40000000
cmp ecx, 0x40000000
jne 0x696331
or edx, 2
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
jne 0x696344
or edx, 8
mov ecx, eax
and ecx, 0x4000000
cmp ecx, 0x4000000
jne 0x69635a
or edx, 0x200
and eax, 0x2000000
cmp eax, 0x2000000
jne 0x69637c
push 0x4000
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 8]
or eax, esi
push eax
call sub.kernel32.dll_VirtualFree
jmp 0x6963c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x6963ab
mov ecx, dword [ebx + 0x24]
and ecx, 0x40
cmp ecx, 0x40
jne 0x696395
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
jmp 0x6963ab
mov ecx, dword [ebx + 0x24]
and ecx, 0x80
cmp ecx, 0x80
jne 0x6963ab
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
test eax, eax
jle 0x6963bd
push esp
push edx
push eax
mov eax, dword [ebx + 8]
or eax, esi
push eax
call sub.kernel32.dll_VirtualProtect
add ebx, 0x28
dec ebp
jne 0x696306
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6a12b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
test esi, esi
jne 0x6a12d4
mov eax, ebx
call fcn.006a0b3c
mov eax, ebx
call fcn.006a0af4
jmp 0x6a145e
mov eax, esi
mov edx, dword [0x69ec18]
call fcn.00408a60
test al, al
je 0x6a12fe
mov edi, esi
mov edx, edi
mov eax, ebx
call fcn.006a11e8
mov edx, edi
mov eax, ebx
call fcn.006a1180
jmp 0x6a145e
mov eax, esi
mov edx, dword [0x56b9cc]
call fcn.00408a60
test al, al
je 0x6a136b
mov eax, ebx
call fcn.006a0af4
call fcn.0056ca20
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x6a1364
push dword fs:[edx]
mov dword fs:[edx], esp
push 2
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov dx, 2
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a145e
call fcn.0056ca20
mov edx, dword [eax]
call dword [edx + 0x14]
ret
mov eax, esi
mov edx, dword [0x5103b8]
call fcn.00408a60
test al, al
je 0x6a13da
mov eax, ebx
call fcn.006a0af4
mov edi, esi
mov eax, edi
call fcn.0051ae2c
cmp al, 8
jne 0x6a139b
mov dl, 1
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x7c]
jmp 0x6a13a4
xor edx, edx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x74]
mov edx, eax
mov eax, ebx
call fcn.006a1ec8
mov eax, edi
call fcn.0051ae2c
add al, 0xfe
sub al, 2
jae 0x6a145e
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, eax
mov eax, ebx
call fcn.006a1890
jmp 0x6a145e
mov eax, esi
mov edx, dword [0x50e62c]
call fcn.00408a60
test al, al
je 0x6a1455
mov eax, ebx
call fcn.006a0af4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 8], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov edi, eax
mov dword [ebp - 4], edi
push 5
push 0
push 0
push 0
mov ecx, edi
mov edx, dword [ebp - 8]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x94]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
imul edx, dword [ebx + 0x868]
mov eax, dword [ebx + 0x30]
xor ecx, ecx
call fcn.00407980
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x86c]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x6a145e
mov edx, esi
mov eax, ebx
call fcn.00466c84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6a8bc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x6a8be2
add esp, 0xfffffff0
call fcn.00408dfc
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x6a8d02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00406eb0
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x6a8cec
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00526514
xor eax, eax
push ebp
push 0x6a8cd9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00526514
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040b3bc
jmp 0x6a8ca4
lea eax, [esi + 4]
mov ecx, 1
mov edx, 1
call fcn.0040b6e8
mov edi, dword [esi + 4]
mov ebx, edi
test ebx, ebx
je 0x6a8cb2
sub ebx, 4
mov ebx, dword [ebx]
dec ebx
jle 0x6a8cbe
mov eax, dword [esi + 4]
cmp word [eax], 0x5f
je 0x6a8c92
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a8ce0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a8d09
lea eax, [ebp - 4]
call fcn.0040a674
ret
Function at 0x6b9700
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x4fc
push eax
call sub.user32.dll_GetCursorPos
xor eax, eax
push ebp
push 0x6b9761
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
cmp byte [eax + 0x44], 0
je 0x6b9757
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov edx, dword [eax]
call dword [edx + 0x130]
cmp eax, 4
je 0x6b9757
push 1
push 0x6b98cc
call sub.winmm.dll_sndPlaySoundW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b976b
xor eax, eax
push ebp
push 0x6b9850
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x5103b8]
call fcn.0051a3d8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov edx, dword [eax]
call dword [edx + 0x130]
cmp eax, 8
ja case.default.0x6b97a1
jmp dword [eax*4 + 0x6b97a8]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006bb7a0
jmp case.default.0x6b97a1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006bb91c
jmp case.default.0x6b97a1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006bb9cc
jmp case.default.0x6b97a1
mov eax, dword [0x6d7df0]
mov eax, dword [eax]
mov edx, ebx
call fcn.0064f32c
jmp case.default.0x6b97a1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006bb7a0
jmp case.default.0x6b97a1
mov eax, dword [ebp - 4]
call fcn.006bc48c
jmp case.default.0x6b97a1
mov eax, dword [0x6d7dac]
mov eax, dword [eax]
mov ecx, ebx
or edx, 0xffffffff
call fcn.006b5f38
jmp case.default.0x6b97a1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006bc53c
jmp case.default.0x6b97a1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006bc6a4
mov eax, ebx
call fcn.0040874c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b985a
xor eax, eax
push ebp
push 0x6b987d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6ffee4]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b9887
xor eax, eax
push ebp
push 0x6b98b9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x6dc634]
push eax
mov eax, 0x6511d4
push eax
push 0xd
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6ffee4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b98c3
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6ba698
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x6ba6d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x6ba6e4
call sub.user32.dll_FindWindowW
mov ebx, eax
push 1
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ba6dc
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x6ba734
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
mov eax, dword [0x6ffedc]
call fcn.0040b2c4
push eax
push 0x6ba754
push 0
call sub.shell32.dll_ShellExecuteW
ret
Function at 0x419540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad2eb
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.004a197c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4195c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f7a5
mov eax, dword [eax]
push 0xb4e214
push eax
call fcn.0048e114
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a1c07
test bl, bl
je 0x4195c2
push 0xb4e214
lea ecx, [esp + 0xc]
call fcn.004a1f97
push 0xb51d8c
lea ecx, [esp + 0xc]
call fcn.004a1f97
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 0x4195fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a1c07
jmp 0x4196c9
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 0x419682
lea edx, [esp + 0x7c]
push 0xb51d88
push edx
call fcn.0048e114
add esp, 8
test eax, eax
je 0x419682
lea eax, [esp + 0x7c]
push 0xb51d84
push eax
call fcn.0048e114
add esp, 8
test eax, eax
je 0x419682
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 0x419612
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.004a1c07
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 0x419ec0
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 0x419f22
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
Function at 0x419f30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ad36b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xc0c218]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41a068
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x419f96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1c07
xor eax, eax
jmp 0x41a0df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a1d44
push esi
lea ecx, [esp + 0xc]
call fcn.004a1fd3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xb51dc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41a0bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00419ec0
test eax, eax
jne 0x41a0bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00419ec0
test eax, eax
jne 0x41a0bd
lea eax, [esp + 0x14]
push 0xb51da0
push eax
call fcn.0048f280
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a09c
lea ecx, [esp + 0x14]
push 0xb51d9c
push ecx
call fcn.0048f200
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a09c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a09f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a1cf4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x419fae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1c07
xor eax, eax
jmp 0x41a0df
mov byte [esi], 0
push 0xb51d98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a1c07
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4