joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5eb100
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004b41bc
mov eax, dword [0x675134]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x67ac20]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x5eb2d8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x5eb227
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x5eb227
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x5eb205
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x5eb189
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5eb291
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x5eb2f8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x5eb2d3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5eb2f8
jmp 0x5eb162
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b5a3a
mov esp, ebp
pop ebp
ret
Function at 0x5eb390
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004b41bc
mov eax, dword [0x675134]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x67ac20]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x5eb57b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x5eb4c6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x5eb4c6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x5eb4a2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x5eb419
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5eb534
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x5eb59b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x5eb576
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x5eb59b
jmp 0x5eb3f2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b5a3a
mov esp, ebp
pop ebp
ret
Function at 0x40b9c5
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce0
xor eax, eax
mov dword [ebp - 0x10], 0x2000
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x118]
push 0x104
push edx
call sub.KERNEL32.dll_GetWindowsDirectoryA
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x118]
add ecx, 0xe
lea edx, [ebp - 0x21c]
push ecx
push eax
push edx
call fcn.0040ac80
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 1
push 0x80
push ecx
call fcn.0040b567
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40ba31
mov eax, 2
jmp 0x40bb5f
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
call sub.KERNEL32.dll_GetFileSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
sub eax, dword [ecx + 0xa]
movsx ecx, word [edx + 4]
mov edx, dword [ebp + 8]
sub eax, 0xe
sub eax, ecx
movsx ecx, word [edx + 6]
mov edx, dword [ebp + 8]
sub eax, ecx
movsx ecx, word [edx + 8]
sub eax, ecx
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp + 8]
push dword [eax + 0xa]
push dword [ebp + 0xc]
call fcn.0040b6a7
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00408d34
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40bae9
mov dword [ebp - 0x14], 0xe
jmp 0x40bafe
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x40ba9f
lea edx, [ebp - 0x10]
jmp 0x40baa2
lea edx, [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub dword [ebp - 0xc], ecx
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.0040b659
add esp, 0xc
cmp eax, dword [ebp - 0x10]
je 0x40bacc
mov dword [ebp - 0x14], 4
jmp 0x40bae9
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0040b680
add esp, 0xc
cmp eax, dword [ebp - 0x10]
je 0x40bae9
mov dword [ebp - 0x14], 5
cmp dword [ebp - 0x14], 0
jne 0x40baf5
cmp dword [ebp - 0xc], 0
jg 0x40ba92
push dword [ebp - 8]
call fcn.00408c20
pop ecx
push dword [ebp - 4]
call fcn.0040b639
cmp dword [ebp - 0x14], 0
pop ecx
je 0x40bb1c
lea eax, [ebp - 0x21c]
push eax
call fcn.0040b6be
pop ecx
jmp 0x40bb5c
push 0x104
lea edx, [ebp - 0x320]
push edx
lea ecx, [ebp - 0x21c]
push ecx
call sub.KERNEL32.dll_GetShortPathNameA
push 0x40c21e
lea eax, [ebp - 0x320]
push eax
push 0x40c211
push 0x40c20c
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 3
push 0
push 1
push 0x11
call sub.USER32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x401040
Capabilities:
Delete directory

Disassembly:
push str.deleting_directory_C:Windows__n
call fcn.00401010
add esp, 4
push str.C:Windows
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
ret
Function at 0x40f618
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40f627
pop dword [ebp - 0xc]
mov eax, 0xed18f848
add eax, 0x1327fddf
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x5194f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xd5dab09b
add ecx, 0x2a259d33
mov ebx, eax
mov edi, 0x50c9d998
add edi, 0xaf7eb468
add edi, dword [ebp - 0xc]
mov edx, 0x42150efd
xor dword [ebp - 8], eax
mov esi, dword [edi]
add dword [ebp - 4], edx
add esi, edx
mov dword [ebx], esi
xor dword [ebp - 4], ebx
add ebx, 0x3e3227f9
add ebx, 0xc1cdd80b
add edi, 0xe34f76d0
sub edi, 0xe34f76cc
loop 0x40f67b
add eax, 0x3da2e5fb
sub eax, 0x3da1bbf0
mov ebx, eax
add eax, 0xfcfdacd5
sub eax, 0xfcfdacd0
mov ecx, 0xed3d028b
add ecx, 0x1302fd75
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x100090a4
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x10]
and dword [eax], 0
push 0xfffffffffffffffb
pop ebp
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call fcn.100091a5
add esp, 0xc
test eax, eax
je 0x10009162
and dword [esp + 8], 0
push ebx
mov ebx, dword [esp + 0x20]
push edi
push ebx
call sub.glib_lite.dll_Ordinal_406
mov edi, eax
pop ecx
test edi, edi
je 0x10009160
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009159
cmp dword [esp + 0x10], ebx
jne 0x1000913f
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push 0
push ebx
push edi
push 0
call sub.gstreamer_lite.dll_Ordinal_25
mov ecx, eax
add esp, 0x1c
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
test ecx, ecx
je 0x10009146
mov eax, dword [esi + 0x110]
xor ebp, ebp
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x114]
mov dword [ecx + 0x44], eax
jmp 0x10009146
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
mov eax, dword [esp + 0x10]
add dword [esi + 0x110], eax
adc dword [esi + 0x114], 0
jmp 0x10009160
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x100092c3
Capabilities:
Get common file path

Disassembly:
push ebp
push edi
push pe_nt_image_headers32
call sub.glib_lite.dll_Ordinal_406
mov edi, eax
pop ecx
test edi, edi
je 0x1000934d
push edi
xor ebp, ebp
push ebp
push 0x1001d834
push 0x10023880
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x10009352
push ebx
push ebp
mov ebx, 0x4000100
push ebx
push 2
push ebp
push 5
push 0xc0000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileA]
push ebp
push ebx
push 3
push ebp
push 7
push Ordinal_1
push edi
mov dword [edi + 0x108], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x104], eax
pop ebx
je 0x10009352
cmp eax, 0xffffffff
je 0x10009352
mov dword [edi + 0x118], ebp
mov dword [edi + 0x11c], ebp
mov dword [edi + 0x110], ebp
mov dword [edi + 0x114], ebp
mov eax, edi
pop edi
pop ebp
ret
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
jmp 0x1000934f

Function at 0x10010530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax*4 + 0x1001e2c8]
push esi
push edi
push 0xffffffffffffff80
mov dword [esp + 0x18], ecx
lea edi, [ecx + ecx]
pop esi
mov ebx, esi
xor edx, edx
sar ebx, 0x1f
mov eax, ebx
xor eax, esi
sub eax, ebx
cmp eax, edi
cmovl edx, eax
mov al, bl
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
xor dl, cl
sub al, dl
add al, cl
mov ecx, dword [esp + 0x14]
add al, cl
xor al, bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0x80
jle 0x1001054d
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.65b6tasy]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.65b6tasy]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.65b6tasy]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.65b6tasy]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.65b6tasy]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.65b6tasy]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401b7e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, 0
mov dword [esp], 0
call sub.msvcrt.dll_malloc
mov esi, eax
mov dword [esp + 4], 0x40e000
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov edi, eax
mov eax, 0
test edi, edi
je 0x401c23
jmp 0x401bc1
mov eax, 0
jmp 0x401c23
test byte [edi + 0xc], 0x10
jne 0x401c00
inc ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_realloc
mov esi, eax
test eax, eax
je 0x401bba
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [eax + ebx - 1]
mov dword [esp], eax
call sub.msvcrt.dll_fread
test byte [edi + 0xc], 0x10
je 0x401bc7
lea eax, [ebx - 1]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00401b44
mov ebx, eax
mov dword [esp], esi
call sub.msvcrt.dll_free
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x11710
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push str.DeviceLonerSpeed
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.__LonerSpeed
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [ebp + 8]
add edx, 4
push edx
push 0
push 0x100
push 0x22
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jg 0x1177d
cmp dword [ebp - 0x18], 0
je 0x11788
cmp dword [ebp - 0x18], 0xc0000035
je 0x11794
cmp dword [ebp - 0x18], 0xc000009a
je 0x1178a
jmp 0x11799
cmp dword [ebp - 0x18], 0x40000000
je 0x1178f
jmp 0x11799
jmp 0x1179e
mov eax, dword [ebp - 0x14]
jmp 0x117df
mov eax, dword [ebp - 0x14]
jmp 0x117df
mov eax, dword [ebp - 0x14]
jmp 0x117df
mov eax, dword [ebp - 0x14]
jmp 0x117df
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x117c7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x14]
jmp 0x117df
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x1c]
or eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4
Function at 0x10026d88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10026d97
pop dword [ebp - 0x10]
mov eax, 0x10026d97
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xe28d851e
add dword [ebp - 0x20], 0x6bc4c02d
mov dword [ebp - 0x1c], 0x2d023481
sub dword [ebp - 0x1c], 0xfacee83c
mov dword [ebp - 0x18], 0x428ac53
add dword [ebp - 0x18], 0x482397db
mov dword [ebp - 0x14], 0x2164dac3
add dword [ebp - 0x14], 0xde9b253d
lea eax, [ebp - 0x20]
push eax
mov eax, 0xec8a1389
add eax, 0x237bad83
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xf488eed6
sub dword [ebp - 0x20], 0x80168580
mov dword [ebp - 0x1c], 0xd1e0ef44
sub dword [ebp - 0x1c], 0x90748dcf
mov dword [ebp - 0x18], 0xf79ec576
add dword [ebp - 0x18], 0x6bd0a6f6
mov dword [ebp - 0x14], 0xae527fab
add dword [ebp - 0x14], 0x51ad8055
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x57853158
sub eax, 0x477f7118
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x591ab
push 0
call eax
mov ecx, 0x164b6e1e
sub ecx, 0x164b293d
mov edx, eax
mov edi, 0x22d31f15
add edi, 0xed33aaeb
add edi, dword [ebp - 0x10]
mov esi, 0x4aa160d4
xor dword [ebp - 8], 0x38317425
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0x226f85fa
xor ebx, esi
sub dword [ebp - 0xc], edx
mov dword [edx], ebx
add dword [ebp - 8], 0x3b5ac5c6
add edx, 4
add edi, 0xcc552051
sub edi, 0xcc55204d
loop 0x10026eae
add eax, 0x1b30a2fc
sub eax, 0x1b2f9ca5
xor ebx, ebx
add ebx, eax
add eax, 0x732244c8
add eax, 0x8cddbb3d
mov ecx, 0x9f6800c6
add ecx, 0x7097ff3a
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000167c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d908
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001768
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.1000ef8d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000173e
call fcn.100037d1
jmp 0x1000173e
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.1000ef8d
int3

Function at 0x1000177d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d938
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001869
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.1000ef8d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000183f
call fcn.100037d1
jmp 0x1000183f
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.1000ef8d
int3