joyce8/EMBER2024-capa huggingface dataset:
Function at 0x678236
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x6782d3
push ebx
push esi
call fcn.00678324
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0067813a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x678280
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6782d2
push edi
push eax
call fcn.00546590
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x6782a0
call fcn.005464a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6782d1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0067813a
add esp, 0x20
test eax, eax
jne 0x6782bf
push edi
call fcn.005464a0
jmp 0x6782c7
push ebx
call fcn.005464a0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x6782d6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x6782e7
pop esi
ret
push ebx
push edi
push esi
call fcn.00678324
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00546590
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x67830f
push ebx
push esi
push edi
call fcn.00654250
add esp, 0xc
push 0
call fcn.005464a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x678366
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006785d1

Function at 0x67a2eb
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x67a32e
call fcn.006628c1
mov dword [eax], 0xf
call fcn.006628ae
mov dword [eax], 0xd
call fcn.0066463b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650d60
leave
ret
test eax, eax
jne 0x67a335
inc eax
jmp 0x67a322
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x67a320
xor eax, eax
cmp ecx, 1
setne al
jmp 0x67a322
Function at 0x687350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x418
mov edi, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x418], ecx
xor esi, esi
mov dword [ebp - 0x41c], esi
lea ebx, [ebp - 0x410]
push 0x400
push 0xff
push ebx
call fcn.006547d0
add esp, 0xc
mov dword [ebx - 4], esi
push 0x60
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test eax, eax
jne 0x6873b8
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test eax, eax
je 0x68747e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x687471
mov edi, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x687471
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x420], 0x8007000e
cmp eax, 0xffffffff
je 0x687417
mov edi, eax
inc eax
js 0x6874c3
cmp edi, 0x200
jae 0x687489
mov dword [ebp - 0x414], ebx
test ebx, ebx
jne 0x68745a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x414]
mov edi, dword [ebp - 0x420]
lea eax, [ebp - 0x410]
cmp esi, eax
jne 0x68744d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, edi
add esp, 0x418
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [ebp - 0x414]
call fcn.006892c0
jmp 0x687434
push edi
push ebx
push edi
push dword [ebp - 0x424]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x6874a0
call fcn.00686ff0
mov dword [ebp - 0x420], eax
jmp 0x687417
xor esi, esi
call fcn.00686ff0
mov edi, eax
jmp 0x68742a
add eax, eax
lea ebx, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.006877e0
mov ebx, dword [ebx]
jmp 0x687413
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x414]
mov word [ecx + eax*2], 0
lea ecx, [ebp - 0x41c]
push edx
push dword [ebp - 0x414]
call fcn.006874d0
jmp 0x687476
push 0x80070216
call fcn.0069f5f0
int3
Function at 0x688a20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x220
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0x214], edx
mov eax, dword [ecx]
mov dword [ebp - 0x22c], ecx
mov edi, dword [ecx + 4]
mov ecx, edi
or ecx, 0x2001f
lea esi, [ebp - 0x210]
mov dword [esi], edx
push esi
push ecx
push edx
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x688a85
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
add esp, 0x220
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ebx, dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
mov dword [eax], ebx
and edi, 0x300
mov dword [eax + 4], edi
xor eax, eax
dec eax
lea esi, [ebp - 0x224]
mov dword [esi], eax
mov dword [esi + 4], eax
lea edi, [ebp - 0x228]
mov dword [edi], 0x100
push 0x200
push 0xff
lea eax, [ebp - 0x210]
push eax
call fcn.006547d0
add esp, 0xc
mov edx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor eax, eax
push eax
push eax
push eax
push edi
lea ecx, [ebp - 0x210]
push ecx
push eax
push ebx
call edx
test eax, eax
jne 0x688b13
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call fcn.00688a20
test eax, eax
jne 0x688b46
mov dword [ebp - 0x228], 0x100
mov ebx, dword [ebp - 0x21c]
jmp 0x688acf
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x688b2e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0x22c]
push dword [ebp + 8]
call fcn.00689200
mov ebx, eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x688a6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x688a6c
Function at 0x6a0770
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 1
je 0x6a0792
mov eax, dword [esi]
jmp 0x6a0798
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x6a07de
mov bl, 1
cmp byte [ebp + 0xc], 0
je 0x6a07c8
cmp byte [esi + 4], 1
je 0x6a07b6
mov eax, dword [esi]
jmp 0x6a07bc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 1
je 0x6a07ee
mov eax, dword [esi]
jmp 0x6a07f4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x6a0808
xor ebx, ebx
jmp 0x6a07c8
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 1
je 0x6a0819
mov eax, dword [esi]
jmp 0x6a081f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov bl, 1
jmp 0x6a07c8
Function at 0x6a0850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ebx, edx
mov dword [esp + 0xc], ecx
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0x20], 0xb
mov eax, dword [0x750f80]
mov al, byte [eax + 0xb]
test al, al
jne 0x6a0a79
xor edi, edi
dec edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
lea esi, [esp + 0x50]
mov ecx, ebx
push esi
call fcn.0053fda0
cmp byte [esi + 0xb], 0
mov dword [esp + 8], ebx
js 0x6a093f
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
movq xmm0, qword [esp + 0x50]
movq qword [esp + 0x98], xmm0
lea ebx, [esp + 0x50]
mov ecx, ebx
call fcn.005e5500
lea esi, [esp + 0x8c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edi, ebx
mov ecx, dword [esp + 8]
push esi
call fcn.006a78a0
pxor xmm0, xmm0
movq qword [ebx + 0x34], xmm0
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x24], xmm0
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0x73e8c4
cmp byte [esp + 0xa3], 0
js 0x6a0955
lea ecx, [esp + 0x98]
jmp 0x6a095c
lea ecx, [esp + 0x98]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.005cde60
jmp 0x6a08d7
mov ecx, dword [esp + 0x98]
mov al, byte [ebp + 8]
mov dword [esp + 0x60], ecx
cmp byte [esp + 0x97], 0
jns 0x6a0974
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x68], esi
xor al, 1
movzx eax, al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], esi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x6a09f5
cmp byte [ebp + 0xc], 0
je 0x6a09ee
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x10]
push 0xa5
push str....._baseprocesslaunch_win.cc
push str.LaunchElevatedProcess
push esi
call fcn.005e4620
add esp, 0x10
mov ecx, ebx
push 0
push esi
call fcn.005d6a70
push 0xffffffffffffffff
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, ebx
call fcn.005d6ae0
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0xc]
push esi
call fcn.00528ff0
cmp byte [esp + 0x97], 0
jns 0x6a0a18
push dword [esp + 0x8c]
call fcn.006507ee
add esp, 4
cmp byte [esp + 0xa3], 0
jns 0x6a0a31
push dword [esp + 0x98]
call fcn.006507ee
add esp, 4
mov dword [esp + 0x20], 0xb
mov eax, dword [0x750f80]
mov al, byte [eax + 0xb]
test al, al
jne 0x6a0a5b
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00650d60
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, al
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x20]
push 2
push edi
push ecx
push eax
call fcn.005c56d0
add esp, 0x10
jmp 0x6a0a45
movzx eax, al
lea ecx, [esp + 0x50]
mov dword [ecx], str.LaunchElevatedProcess
lea edx, [esp + 0x20]
push 1
push ecx
push edx
push eax
call fcn.005c56d0
add esp, 0x10
jmp 0x6a088b
Function at 0x6a1880
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1cf
push str....._base_files_file_util_win.cc
push str.DeleteFileAfterReboot
push ebx
call fcn.005e4620
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.005d6a70
mov al, byte [edi + 0xb]
test al, al
jns 0x6a18e8
cmp dword [edi + 4], 0x103
jbe 0x6a18e8
xor ebx, ebx
jmp 0x6a18fe
test al, al
jns 0x6a18ee
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
lea ecx, [esp + 0x10]
call fcn.005d6ae0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6a1d00
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp], edx
mov esi, ecx
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x10]
push 0x8a
push str....._base_files_file_util_win.cc
push str.DoCopyFile
push edi
call fcn.005e4620
add esp, 0x10
mov ecx, ebx
push 0
mov ebx, edi
push edi
mov edi, esi
call fcn.005d6a70
mov ecx, esi
call fcn.005e7a50
test al, al
jne 0x6a1d84
mov esi, dword [esp]
mov ecx, esi
call fcn.005e7a50
test al, al
jne 0x6a1d84
cmp byte [edi + 0xb], 0
jns 0x6a1db1
cmp dword [edi + 4], 0x103
jbe 0x6a1db1
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.005d6ae0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
lea ecx, [esp + 4]
call fcn.005588d0
jmp 0x6a1d86
cmp byte [esi + 0xb], 0
jns 0x6a1dc0
cmp dword [esi + 4], 0x103
ja 0x6a1d84
xor eax, eax
dec eax
lea esi, [esp + 4]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi], eax
push 0x97
push str....._base_files_file_util_win.cc
push str.DoCopyFile
push ebx
call fcn.005e4620
add esp, 0x10
mov ecx, esi
mov esi, dword [esp]
push 0x7b2578
push ebx
call fcn.005587c0
cmp byte [esi + 0xb], 0
jns 0x6a1dff
mov esi, dword [esi]
movzx eax, byte [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x6a1e0b
mov edi, dword [edi]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x6a1da4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
sete cl
test al, 1
sete dl
or dl, cl
jne 0x6a1da6
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
jmp 0x6a1da6
Function at 0x6a1e50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x10]
push 0x4e4
push str....._base_files_file_util_win.cc
push str.MoveUnsafe
push ebx
call fcn.005e4620
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.005d6a70
mov al, byte [edi + 0xb]
test al, al
jns 0x6a1ed6
cmp dword [edi + 4], 0x103
jbe 0x6a1ed6
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.005d6ae0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + 0xb]
test dl, dl
jns 0x6a1ee9
cmp dword [esi + 4], 0x103
ja 0x6a1eb6
mov ecx, esi
test dl, dl
jns 0x6a1ef1
mov ecx, dword [esi]
mov edx, edi
test al, al
jns 0x6a1ef9
mov edx, dword [edi]
push 3
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x6a1eb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
push edi
call fcn.0052ce80
add esp, 4
test al, al
jne 0x6a1f2c
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x6a1eb6
push esi
push edi
call fcn.006a1f40
add esp, 8
test al, al
jne 0x6a1eb8
jmp 0x6a1f20

Function at 0x6a20c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.005e7a50
test al, al
jne 0x6a20de
mov ecx, esi
call fcn.005e7a50
test al, al
je 0x6a20e3
xor eax, eax
pop esi
pop ebp
ret
pop esi
pop ebp
jmp fcn.006a1e50
Function at 0x6a5360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x7b2670], 0
je 0x6a5398
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x7b2674]
test esi, esi
jne 0x6a5438
push 0xc
call fcn.006507be
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.006547d0
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.005c6f60
movsx eax, byte [esi + 0xb]
mov ecx, esi
test eax, eax
jns 0x6a53fb
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
je 0x6a5424
add eax, eax
test eax, eax
je 0x6a5424
lea edx, [eax - 2]
cmp word [ecx + eax - 2], 0x5c
mov eax, edx
jne 0x6a5401
cmp edx, 0xfffffffe
je 0x6a5424
sar edx, 1
inc edx
mov ecx, esi
push 0xffffffffffffffff
push edx
call fcn.005c7db0
mov ecx, esi
push 9
push str.debug.log
call fcn.005cdf60
mov dword [0x7b2674], esi
test byte [0x7ab82c], 1
je 0x6a5381
cmp byte [esi + 0xb], 0
jns 0x6a544d
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x754400]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x7b2670], eax
inc eax
cmp eax, 1
ja 0x6a5381
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.006547d0
add esp, 0xc
mov word [esi - 2], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x6a5561
mov ecx, dword [0x7b2674]
push esi
call fcn.00524400
mov ecx, dword [0x7b2674]
movsx eax, byte [ecx + 0xb]
test eax, eax
js 0x6a5568
test al, al
je 0x6a5576
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x5c
je 0x6a5507
push 1
push 0x7373a4
call fcn.005cdf60
mov ecx, dword [0x7b2674]
push 9
push str.debug.log
call fcn.005cdf60
mov eax, dword [0x7b2674]
cmp byte [eax + 0xb], 0
jns 0x6a5520
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x754400]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x7b2670], eax
inc eax
cmp eax, 1
ja 0x6a5381
mov dword [0x7b2670], 0
xor ebx, ebx
jmp 0x6a5381
mov eax, dword [ecx + 4]
test eax, eax
je 0x6a5576
mov edx, dword [ecx]
jmp 0x6a54ed
ud2
Function at 0x6aa120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp edx, eax
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebp - 0x14], edx
cmovb ebx, edx
xor eax, eax
test ebx, ebx
je 0x6aa185
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov edx, dword [edi + esi*4]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + esi*4]
mov ebx, ecx
xor ebx, edx
mov edi, ecx
sub edi, edx
lea edx, [ebx - 1]
xor edi, ecx
or edi, ebx
not ebx
and edx, ebx
mov ebx, dword [ebp - 0x1c]
xor edi, ecx
mov ecx, dword [ebp - 0x18]
sar edx, 0x1f
sar edi, 0x1f
or edi, 1
xor eax, edi
and eax, edx
xor eax, edi
mov edi, dword [ebp + 8]
inc esi
cmp ebx, esi
jne 0x6aa14a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jb 0x6aa199
ja 0x6aa1b3
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
or ecx, dword [edi + edx*4]
inc edx
cmp esi, edx
jne 0x6aa19b
mov edx, ecx
not edx
dec ecx
and ecx, edx
sar ecx, 0x1f
not ecx
or eax, ecx
jmp 0x6aa191
mov edx, ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
or esi, dword [edx + ecx*4]
inc ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x14], ecx
jne 0x6aa1b7
mov ecx, esi
not ecx
dec esi
and esi, ecx
sar esi, 0x1f
xor eax, 1
and eax, esi
xor eax, 1
jmp 0x6aa191

Function at 0x6aa260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
mov esi, dword [eax + 4]
xor edx, edx
cmp edi, esi
jge 0x6aa286
mov eax, dword [eax]
xor edx, edx
mov ebx, edi
or edx, dword [eax + ebx*4]
inc ebx
cmp esi, ebx
jne 0x6aa27e
cmp esi, edi
jge 0x6aa296
mov eax, dword [ecx]
mov ebx, esi
or edx, dword [eax + ebx*4]
inc ebx
cmp edi, ebx
jne 0x6aa28e
cmp edi, esi
cmovl esi, edi
test esi, esi
jle 0x6aa2b5
mov edi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
xor eax, eax
mov ecx, dword [ebx + eax*4]
xor ecx, dword [edi + eax*4]
or edx, ecx
inc eax
cmp esi, eax
jne 0x6aa2a8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0xc]
xor eax, eax
or ecx, edx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6ae320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x6ae436
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xor esi, esi
xor eax, eax
xor edi, edi
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4]
mov ecx, edx
shl ecx, 0x10
mov eax, ecx
not eax
dec ecx
and ecx, eax
sar ecx, 0x1f
mov dword [ebp - 0x24], ecx
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, ecx
xor eax, edx
mov esi, eax
shl esi, 0x18
mov ecx, esi
dec esi
not ecx
and esi, ecx
mov ecx, eax
shr ecx, 8
sar esi, 0x1f
mov dword [ebp - 0x20], esi
xor ecx, eax
and ecx, esi
xor ecx, eax
mov eax, ecx
shl eax, 0x1c
mov esi, eax
not esi
dec eax
and eax, esi
sar eax, 0x1f
mov edi, ecx
shr edi, 4
mov esi, eax
xor edi, ecx
and edi, eax
xor edi, ecx
mov ecx, edi
shl ecx, 0x1e
mov eax, ecx
dec ecx
not eax
and ecx, eax
mov eax, edi
shr eax, 2
sar ecx, 0x1f
mov ebx, ecx
xor eax, edi
and eax, ecx
lea ecx, [edx - 1]
not edx
and ecx, edx
xor eax, edi
shl eax, 0x1f
mov edx, eax
not edx
dec eax
and eax, edx
mov edx, dword [ebp - 0x24]
and edx, 0x10
shr eax, 0x1f
or eax, edx
mov edx, dword [ebp - 0x20]
and edx, 8
or eax, edx
and esi, 4
or eax, esi
mov esi, dword [ebp - 0x28]
sar ecx, 0x1f
and ebx, 2
or eax, ebx
mov edx, ecx
not edx
mov edi, dword [ebp - 0x1c]
or ecx, edi
or edx, edi
add eax, esi
not ecx
and ecx, eax
mov eax, dword [ebp - 0x2c]
or eax, ecx
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 0x10]
add esi, 0x20
mov edi, edx
mov edx, dword [ebp - 0x10]
cmp ecx, edx
jne 0x6ae347
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x6ae42e
Function at 0x6b7530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ed1b0

Function at 0x6c4ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.006d82d0