joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e119c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x5e11b0
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x5e11af
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.00409180
xor ebx, ebx
cmp esi, dword [esp]
jge 0x5e1314
inc ebx
mov eax, edi
call fcn.00408c54
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x5e12cd
inc ebx
mov eax, edi
call fcn.00408c54
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x5e129c
inc ebx
mov eax, edi
call fcn.00408c54
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00408c54
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x5e1308
inc ebx
mov eax, edi
call fcn.00408c54
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00408c54
mov byte [eax + ebx - 1], 0x3d
jmp 0x5e1308
inc ebx
mov eax, edi
call fcn.00408c54
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00408c54
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00408c54
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x5e11e4
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5e25b0
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x66e2b0
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x5e25cf
mov esi, 1
mov edx, 0x66e3b8
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x5e2648
dec ebx
je 0x5e266a
dec ebx
je 0x5e268c
dec ebx
je 0x5e26ad
jmp 0x5e26c7
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5e26c7
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5e26c7
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5e26c7
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x5e2638
inc esi
add edx, 0x40
cmp esi, 9
jne 0x5e25eb
mov esi, 0x20
mov eax, 0x66e2e0
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x5e26ec
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5e2728
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x66e367]
test bl, bl
jbe 0x5e2759
lea eax, [esi + 0x3e0]
call fcn.005e2704
lea eax, [esi + 0x3fc]
call fcn.005e2704
dec bl
jne 0x5e273f
mov cl, 0x30
mov edi, 0x66e338
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x5e277a
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x5e2787
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x5e2763
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5e2794
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
lea esi, [ebp - 0x425]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.005e2548
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x5e27b1
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x45]
movzx edx, byte [esi]
mov eax, dword [ebp - 0xc]
call fcn.005e2548
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005e2548
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x5e27ce
mov bl, 1
lea esi, [ebp - 0x3a5]
mov ecx, esi
lea eax, [ebp - 0x425]
mov edx, ebx
call fcn.005e2728
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x5e27f8
mov bl, 1
mov eax, 0x66e230
lea edx, [ebp - 0xa5]
cmp bl, 0x20
ja 0x5e2831
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
jmp 0x5e283e
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x5e281d
mov byte [ebp - 0xd], 1
lea esi, [ebp - 0x3a5]
cmp byte [ebp + 8], 0
je 0x5e2868
lea ecx, [ebp - 0x65]
mov edx, esi
lea eax, [ebp - 0x85]
call fcn.005e25b0
jmp 0x5e288f
movzx eax, byte [ebp - 0xd]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d5]
lea ecx, [ebp - 0x65]
lea eax, [ebp - 0x85]
call fcn.005e25b0
mov bl, 0x20
lea eax, [ebp - 0xa5]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x5e2897
push esi
lea esi, [ebp - 0x85]
lea edi, [ebp - 0xa5]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x65]
lea edi, [ebp - 0x85]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 0xd]
add esi, 0x30
cmp byte [ebp - 0xd], 0x11
jne 0x5e2850
mov bl, 0x40
mov esi, 0x66e270
lea eax, [ebp - 0x3e5]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x5e28fd
movzx edx, dl
movzx edx, byte [ebp + edx - 0x86]
mov byte [eax], dl
jmp 0x5e290a
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc6]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x5e28e6
mov bl, 1
lea esi, [ebp - 0x3e5]
movzx ecx, byte [esi]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.005e2570
inc ebx
inc esi
cmp bl, 0x41
jne 0x5e2918
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5e341c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [esp + 8], al
add edx, edx
add edx, edx
add edx, edx
and dl, 0xff
movzx eax, byte [esi + 5]
shr eax, 5
or dl, al
mov byte [esp + 9], dl
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor esi, ecx
and esi, 1
inc edx
cmp edx, 8
jne 0x5e34cd
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x5e34c8
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00409180
push 1
mov eax, edi
call fcn.00408c54
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.005e2794
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x627490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6274a6
or bx, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6274b6
or bx, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6274c6
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x6288bc
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x66f604]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6288e8
push 0
mov eax, dword [0x66f604]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x653fe4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408778
mov eax, dword [ebp - 8]
call fcn.00408778
xor eax, eax
push ebp
push 0x6540e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov dl, 1
mov eax, dword [0x4da824]
call fcn.004db88c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6540bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x654093
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.004db938
xor ecx, ecx
mov edx, 0x654100
mov eax, dword [ebp - 0x10]
call fcn.004db9a0
test bl, bl
je 0x654072
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004dc144
jmp 0x65407d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004dbe88
mov eax, dword [ebp - 0x10]
call fcn.004db908
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6540a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6540c6
mov eax, dword [ebp - 0x10]
call fcn.00406850
ret
Function at 0x654554
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf0
mov ebx, edx
push esp
push eax
push edx
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.00421f2c
add esp, 0x210
pop ebx
ret

Function at 0x6547f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408778
mov eax, dword [ebp - 8]
call fcn.00408778
xor eax, eax
push ebp
push 0x6548f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00405e88
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.00405e88
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push dword [ebp - 4]
push 0x65490c
push dword [ebp - 8]
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.004098bc
mov eax, dword [ebp - 0x64]
call fcn.004095e4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x6548cc
push 0x7530
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x6548cf
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6548f9
lea eax, [ebp - 0x64]
call fcn.00408694
lea eax, [ebp - 8]
mov edx, 2
call fcn.004086f4
ret

Function at 0x654910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x654919
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408778
mov eax, dword [ebp - 8]
call fcn.00408778
xor eax, eax
push ebp
push 0x6549d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
mov edx, 1
mov cl, 1
call fcn.00433ce0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
xor edx, edx
mov cl, 1
call fcn.00433ce0
lea edx, [ebp - 0x38]
mov eax, ebx
pop ecx
call fcn.0065476c
lea eax, [ebp - 0x18]
call fcn.0042edfc
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004095e4
push eax
mov eax, dword [ebp - 4]
call fcn.004095e4
push eax
push 0x6549e8
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6549df
lea eax, [ebp - 0x38]
mov edx, dword [0x4012f0]
mov ecx, 3
call fcn.0040a29c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004086f4
ret
Function at 0x654d5c
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408778
mov eax, dword [ebp - 8]
call fcn.00408778
xor eax, eax
push ebp
push 0x654df4
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004095e4
push eax
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x654dd7
push 4
mov eax, dword [ebp - 8]
call fcn.004095e4
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov edi, eax
test edi, edi
jbe 0x654dd1
lea eax, [ebp - 0x24]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x654dcb
mov esi, dword [ebp - 0x20]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x654dfb
lea eax, [ebp - 8]
mov edx, 2
call fcn.004086f4
ret
Function at 0x10008ea0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.1007d240
mov eax, dword [0x100b200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10009770
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100090c3
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100090b6
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d10
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d10
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.10008d10
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.10008d10
add esp, 0x20
cmp byte [0x100b4ea8], 0
jne 0x10009079
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10008ff2
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10009079
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b4aa7], al
test al, al
jne 0x10009000
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b42a7], al
test al, al
jne 0x10009020
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b4ea7], al
test al, al
jne 0x10009040
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100b46a7], al
test al, al
jne 0x10009060
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x100090bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1007bea9
mov esp, ebp
pop ebp
ret
Function at 0x1000a2b0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x100b200c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1000a331
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [esi]
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
push 4
push esi
call edi
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x1000a300
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0xcc]
push 0
push dword [ebp - 0xd0]
mov dword [esi], eax
push 4
push esi
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007bea9
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x100b200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000a397
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x1000a374
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bea9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1007bea9
mov esp, ebp
pop ebp
ret 4

Function at 0x1000a3b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d2ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100b200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x100b38ac], 0x10
mov eax, 0x100b3898
cmovae eax, dword [0x100b3898]
cmp byte [eax], 0
je 0x1000a4ca
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x1000a4ca
cmp dword [0x100b3508], 0x10
mov eax, 0x100b34f4
cmovae eax, dword [0x100b34f4]
cmp byte [eax], 0
je 0x1000a4ca
mov esi, 0x100b94a8
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x1000a426
mov edx, 0x100b5480
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1000a440
mov ecx, dword [0x100b9d60]
mov edx, 0x100b3898
cmp dword [0x100b38ac], 0x10
push 0x100b94a8
cmovae edx, dword [0x100b3898]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x1000a4ca
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x100a0c44]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x1000a49d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x1000a480
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x100bda0c]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x100bda0c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d31d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100b200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae esi, dword [ebp + 8]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000a520
sub esi, ecx
push esi
call fcn.1007c7dd
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x1000a54b
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x1000a540
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1000a581
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a577
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007c7cf
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1000b980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
js 0x1000b9b7
nop
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, edi
jle 0x1000b9a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007bea9
mov esp, ebp
pop ebp
ret 8

Function at 0x1000bc70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100b200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ebx, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [edi], ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.1007bea9
mov esp, ebp
pop ebp
ret 8