joyce8/EMBER2024-capa huggingface dataset:
Function at 0x554e00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, 0x98
call fcn.0042cd60
mov eax, dword [0x636148]
xor eax, esp
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 4], edi
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x58], 0x61707865
mov dword [esp + 0x5c], 0x3320646e
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], 0x79622d32
mov dword [esp + 0x64], 0x6b206574
test eax, eax
je 0x554ffd
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
nop
mov esi, 0x40
cmp eax, esi
cmovb esi, eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esi
push eax
call fcn.00555020
add esp, 8
xor eax, eax
test esi, esi
je 0x554fcc
cmp esi, 0x20
jb 0x554fa4
lea edx, [edi - 1]
lea ecx, [esp + esi + 0x23]
add edx, esi
cmp edi, ecx
ja 0x554f1c
lea ecx, [esp + 0x24]
cmp edx, ecx
jae 0x554fa4
lea ecx, [ebx - 1]
add ecx, esi
cmp edi, ecx
ja 0x554f29
cmp edx, ebx
jae 0x554fa4
mov ebp, esi
lea edx, [edi + 0x10]
lea esi, [esp + 0x24]
mov ecx, ebx
sub ecx, esi
and ebp, 0xffffffe0
mov dword [esp + 0x14], ecx
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x14]
sub ecx, edi
mov esi, dword [esp + 0x18]
mov edi, ecx
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x24]
lea ecx, [ebx + eax]
movups xmm1, xmmword [esp + ecx + 0x24]
lea ecx, [esi + eax]
lea edx, [edx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x34]
add eax, 0x20
movups xmmword [esp + ecx + 0x24], xmm1
movups xmm1, xmmword [edi + edx - 0x20]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, ebp
jb 0x554f60
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xb0]
cmp eax, esi
jae 0x554fcc
lea ecx, [esp + 0x24]
mov ebp, edi
sub ebx, ecx
sub ebp, ecx
lea edx, [esp + 0x24]
add edx, eax
inc eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edx + ebp], cl
cmp eax, esi
jb 0x554fb2
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
add edi, esi
inc dword [esp + 0x94]
sub eax, esi
add ebx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
test eax, eax
jne 0x554ed0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
pop edi
xor ecx, esp
call fcn.0042cd1d
add esp, 0x98
ret
Function at 0x557960
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x557974
mov dword [esp + 0x18], fcn.00556140
jmp fcn.005478e0
mov dword [esp + 0x18], fcn.005553e0
jmp fcn.00547620
Function at 0x3a115ba2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x3a115bb1
pop dword [ebp - 0x30]
mov eax, 0x14d2445d
add eax, 0x253f1754
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xb514836a
add dword [ebp - 0x40], 0x993dc1e1
mov dword [ebp - 0x3c], 0x598e6cf6
sub dword [ebp - 0x3c], 0x275b20b1
mov dword [ebp - 0x38], 0x975f73f8
add dword [ebp - 0x38], 0xb4ecd036
mov dword [ebp - 0x34], 0x4e60c865
add dword [ebp - 0x34], 0xb19f379b
lea eax, [ebp - 0x40]
push eax
mov eax, 0xecd1e5d3
sub eax, 0xb2c0d53f
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x7bf17bfc
add dword [ebp - 0x40], 0xf880ed5a
mov dword [ebp - 0x3c], 0x1be1708c
add dword [ebp - 0x3c], 0x258af0e9
mov dword [ebp - 0x38], 0x986ba752
add dword [ebp - 0x38], 0xcb03c51a
mov dword [ebp - 0x34], 0xab13bb3d
sub dword [ebp - 0x34], 0xab13bb3d
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3a897
push 0
call eax
mov ecx, 0x1d9002de
sub ecx, 0x1d8fb46c
mov esi, eax
mov edx, 0x3a11b600
add edx, dword [ebp - 0x30]
mov edi, 0xe75eb3be
sub edi, 0x16d3f351
xor dword [ebp - 0x2c], 0x6f62932e
mov ebx, dword [edx]
xor dword [ebp - 0xc], edx
sub ebx, edi
add dword [ebp - 0xc], 0x8ebd5e51
mov dword [esi], ebx
xor dword [ebp - 0x1c], 0x9883b39
add esi, 0xb12a24cc
sub esi, 0xb12a24c8
add edx, 0xba1b82eb
sub edx, 0xba1b82e7
loop 0x3a115cc8
add eax, 0x76af43c5
add eax, 0x8951e8d6
xor ebx, ebx
add ebx, eax
add eax, 0xf7f864b0
sub eax, 0xf7f864ab
mov ecx, sym.MSOXEV.DLL_Ordinal_10
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x3a117ee9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3a1114b4]
jne 0x3a117f85
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3a119350], eax
mov dword [0x3a11934c], ecx
mov dword [0x3a119348], edx
mov dword [0x3a119344], ebx
mov dword [0x3a119340], esi
mov dword [0x3a11933c], edi
mov word [0x3a119368], ss
mov word [0x3a11935c], cs
mov word [0x3a119338], ds
mov word [0x3a119334], es
mov word [0x3a119330], fs
mov word [0x3a11932c], gs
pushfd
pop dword [0x3a119360]
mov eax, dword [ebp]
mov dword [0x3a119354], eax
mov eax, dword [ebp + 4]
mov dword [0x3a119358], eax
lea eax, [ebp + 8]
mov dword [0x3a119364], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3a1192a0], 0x10001
mov eax, dword [0x3a119358]
mov dword [0x3a119254], eax
mov dword [0x3a119248], 0xc0000409
mov dword [0x3a11924c], 1
mov eax, dword [0x3a1114b4]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3a119098]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x3a119298], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x3a11808c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x3a119298], 0
jne 0x3a118075
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x40137b
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push 0x11c
lea eax, [ebp - 0x158]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x158], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40140d
cmp dword [ebp - 0x154], 6
jb 0x40140d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00402065
cmp eax, 0x2000
jae 0x40140d
call fcn.00401880
test eax, eax
jne 0x40140d
push 6
push eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40140d
lea eax, [ebp - 0x3c]
call fcn.00401ac4
test eax, eax
je 0x4013ff
lea edi, [ebp - 0x3c]
call fcn.00401bfc
test eax, eax
je 0x4013f3
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret

Function at 0x40140f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.00401d7e
mov dword [0x42b128], eax
push 0x104
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push eax
call fcn.004024cc
jmp loc.0042e378
Function at 0x401ac4
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
xor ebx, ebx
push 0x3c
mov esi, eax
push ebx
push esi
mov dword [ebp - 4], ebx
call sub.ntdll.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401bf4
push edi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x401bf4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x218]
push eax
jmp loc.0042d000
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401bfc
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ebx, ebx
jmp 0x401c20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x401c27
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
je 0x401c08
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x38]
test eax, eax
je 0x401c41
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401c4a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x401c4f
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push 4
xor ebx, ebx
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x401d1d
cmp dword [ebp + 0xc], esi
je 0x401d1d
cmp dword [ebp + 0x10], esi
je 0x401d1d
push 0xf0000020
push 1
push esi
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x401d00
cmp dword [ebp - 8], esi
je 0x401d00
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401d00
cmp dword [ebp - 4], esi
je 0x401d0e
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x401d00
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
call edi
test eax, eax
je 0x401d00
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call edi
test eax, eax
je 0x401d00
inc ebx
cmp dword [ebp - 4], esi
je 0x401d0e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], esi
je 0x401d1d
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x10006724
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
xor eax, eax
mov dword [edi], 0x100015dc
mov dword [edi + 0x38], eax
push 0x10001670
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.10009631
mov dword [edi + 4], eax
test eax, eax
je 0x100067db
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x10001688
push eax
call esi
push 0x10001698
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push 0x100016ac
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push 0x100016bc
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push 0x100016d0
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov ebx, 0x100016e8
push ebx
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push ebx
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push 0x100016f4
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push 0x10001710
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push 0x10001724
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
pop esi
mov dword [edi + 0x34], eax
mov dword [edi + 8], 1
pop ebx
mov eax, edi
pop edi
ret

Function at 0x10009631
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10009640
pop dword [ebp - 0x28]
mov eax, 0x10009640
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x1818a18
add dword [ebp - 0x38], 0x4cd0bb33
mov dword [ebp - 0x34], 0x289c3b97
sub dword [ebp - 0x34], 0xf668ef52
mov dword [ebp - 0x30], 0x3ad13e7f
sub dword [ebp - 0x30], 0xee84fa51
mov dword [ebp - 0x2c], 0xe5e9d2fb
add dword [ebp - 0x2c], 0x1a162d05
lea eax, [ebp - 0x38]
push eax
mov eax, 0xa618a74c
sub eax, 0x96189594
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xc5a222e8
sub dword [ebp - 0x38], 0x512fb992
mov dword [ebp - 0x34], 0x569b7b41
sub dword [ebp - 0x34], 0x152f19cc
mov dword [ebp - 0x30], 0x4c80c6d4
sub dword [ebp - 0x30], 0xe9115a68
mov dword [ebp - 0x2c], 0x79c760da
sub dword [ebp - 0x2c], 0x79c760da
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xafc1ec55
add eax, 0x603e250b
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3cf62
push 0
call eax
mov ecx, 0x1be3750d
sub ecx, 0x1be32410
xor ebx, ebx
add ebx, eax
mov edi, 0x17adce87
add edi, 0xf8553b79
add edi, dword [ebp - 0x28]
mov edx, 0xe4170898
sub edx, 0x14b09b00
xor dword [ebp - 8], 0xa3e136c2
mov esi, dword [edi]
sub esi, edx
sub dword [ebp - 0x1c], eax
mov dword [ebx], esi
xor dword [ebp - 0x18], 0x11c8231c
add ebx, 0x17d7eb7b
sub ebx, 0x17d7eb77
add edi, 0xcdc31677
add edi, 0x323ce98d
loop 0x1000975f
add eax, 0x15c17bdb
sub eax, 0x15c04514
mov ebx, eax
add eax, 0x53b7348b
add eax, 0xac48cb7a
mov ecx, 0xcd73b062
add ecx, 0x428c4f9e
add ecx, dword [ebp - 0x28]
call ebx
leave
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 0x10013a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10013a33
pop dword [ebp - 0x50]
mov eax, 0x10013a33
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xb5620a0d
sub dword [ebp - 0x60], 0x670fc4c2
mov dword [ebp - 0x5c], 0xc342f394
sub dword [ebp - 0x5c], 0x910fa74f
mov dword [ebp - 0x58], 0xe7923fb7
add dword [ebp - 0x58], 0x64ba0477
mov dword [ebp - 0x54], 0x591222e7
sub dword [ebp - 0x54], 0x591222e7
lea eax, [ebp - 0x60]
push eax
mov eax, 0xea380916
add eax, 0x25c9b76a
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x4b0efd2
add dword [ebp - 0x60], 0x6fc17984
mov dword [ebp - 0x5c], 0x237dd2b8
add dword [ebp - 0x5c], 0x1dee8ebd
mov dword [ebp - 0x58], 0xc33087fb
sub dword [ebp - 0x58], 0x5fc11b8f
mov dword [ebp - 0x54], 0xe841801d
add dword [ebp - 0x54], 0x17be7fe3
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x39021
push 0
call eax
mov ecx, 0x4e63
mov edi, eax
mov ebx, 0xfaf6dd46
sub ebx, 0xeaf47546
add ebx, dword [ebp - 0x50]
mov esi, 0x2afa81df
add esi, 0x4175f8c8
add dword [ebp - 0x28], 0xb5d51c11
mov edx, dword [ebx]
xor dword [ebp - 0x2c], 0xcda4cfe0
add edx, esi
sub dword [ebp - 0x4c], 0xb76f5aa2
mov dword [edi], edx
xor dword [ebp - 0x24], 0xc7ff585a
add edi, 4
add ebx, 4
loop 0x10013b45
add eax, 0x12c5f
mov ebx, eax
add eax, 0x50b506c7
add eax, 0xaf4af93e
mov ecx, 0x3ac09d79
sub ecx, 0x2ac09d79
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x6d7b364a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, dword [esi + 0x289c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x292c], eax
call edi
sub eax, dword [esi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2930], eax
mov eax, dword [esi + 0x2d4c]
test eax, eax
je 0x6d7b36b9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28a0]
push dword [esi + 0x289c]
push dword [esi + 0x2930]
push dword [esi + 0x292c]
push dword [esi + 0x2d4c]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.6d7bb07b
pop ecx
pop edi
pop esi
ret

Function at 0x6d7b3d88
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
test eax, eax
je 0x6d7b3dbd
push edi
mov edi, 0x120
cmp dword [esp + 0x10], edi
jae 0x6d7b3db0
push eax
call fcn.6d7b4838
push 2
call fcn.6d7b4827
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
pop edi
pop esi
ret

Function at 0x6d7bb07b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x6d7bb08a
pop dword [ebp - 0x30]
mov eax, 0x9e463d58
sub eax, 0x30ca8cce
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x60d33835
add dword [ebp - 0x40], 0xed7f0d16
mov dword [ebp - 0x3c], 0x1d5ec524
add dword [ebp - 0x3c], 0x14d48721
mov dword [ebp - 0x38], 0x7cd77624
sub dword [ebp - 0x38], 0x308b31f6
mov dword [ebp - 0x34], 0x7d9c8d3f
sub dword [ebp - 0x34], 0x7d9c8d3f
lea eax, [ebp - 0x40]
push eax
mov eax, 0x1981e192
sub eax, 0xac050156
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xd54b304f
add dword [ebp - 0x40], 0x9f273907
mov dword [ebp - 0x3c], 0xe7e7e2ea
sub dword [ebp - 0x3c], 0xa67b8175
mov dword [ebp - 0x38], 0xcd70c6ea
sub dword [ebp - 0x38], 0x6a015a7e
mov dword [ebp - 0x34], 0x8c465d69
add dword [ebp - 0x34], 0x73b9a297
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x64c77f6c
sub eax, 0xf74a9ecc
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3d90b
push 0
call eax
mov ecx, 0x522640a0
add ecx, 0xadda1ac5
mov edx, eax
mov ebx, 0x6d7dd200
add ebx, dword [ebp - 0x30]
mov edi, 0xb4df1e39
add dword [ebp - 0x18], ecx
mov esi, dword [ebx]
xor dword [ebp - 4], 0x9a1a668d
xor esi, edi
xor dword [ebp - 0x14], 0xd6960226
mov dword [edx], esi
add edx, 0x88480e85
sub edx, 0x88480e81
add ebx, 0xf8ee0929
add ebx, 0x711f6db
loop 0x6d7bb1a0
add eax, 0x16067
xor ebx, ebx
add ebx, eax
add eax, 0x5f86bc0d
sub eax, 0x5f86bc08
mov ecx, 0x2c0ca198
add ecx, 0x416e5e68
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x6d7be17a
Capabilities:
Read file on windows

Disassembly:
cmp byte [esi], 0
push ebx
push edi
jne 0x6d7be200
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
test ecx, ecx
je 0x6d7be1a0
push 1
push esi
push edi
call ecx
add esp, 0xc
jmp 0x6d7be1ad
push dword [eax + 0x38]
push 1
push 1
push esi
call ebx
add esp, 0x10
cmp eax, 1
je 0x6d7be1c0
mov dword [0x6d7d9e8c], 0x66
xor eax, eax
jmp 0x6d7be215
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
lea edi, [esi + 1]
test ecx, ecx
je 0x6d7be1dd
movzx eax, byte [esi]
push eax
push edi
push dword [esp + 0x14]
call ecx
add esp, 0xc
jmp 0x6d7be1ec
push dword [eax + 0x38]
movzx eax, byte [esi]
push eax
push 1
push edi
call ebx
add esp, 0x10
movzx ecx, byte [esi]
cmp eax, ecx
jne 0x6d7be1b2
mov al, byte [edi]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov byte [edi], 2
jmp 0x6d7be210
movzx eax, byte [esi + 1]
mov al, byte [eax + esi]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
inc byte [esi + 1]
dec byte [esi]
xor eax, eax
inc eax
pop edi
pop ebx
ret

Function at 0x6d7c335e
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x6d7c338c
push esi
call fcn.6d7c7b5a
cmp dword [esi + 0x40], 0
pop ecx
je 0x6d7c3385
xor eax, eax
mov dword [esi + 0x14], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x6d7c33fc
mov eax, dword [esi + 0x1b4]
cmp dword [eax + 0x10], 0
je 0x6d7c33ee
mov eax, dword [esi + 8]
test eax, eax
je 0x6d7c33ad
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x1b4]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x6d7c33ea
cmp eax, 2
je 0x6d7c33ee
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6d7c33a2
cmp eax, 3
je 0x6d7c33d1
cmp eax, 1
jne 0x6d7c33a2
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x6d7c33a2
mov ecx, dword [esi + 0x140]
add dword [eax + 8], ecx
jmp 0x6d7c33a2
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x6d7c341a
cmp eax, 0xcc
je 0x6d7c341a
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.6d7c3229
pop esi
ret

Function at 0x6d7cd236
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d7d7070]
jne 0x6d7cd240
repz ret
jmp fcn.6d7cd70c