joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2ca6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push edi
mov byte [ebp - 0x14], 0x3c
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x3e
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], 0x3c
mov byte [ebp - 0xe], 0x2f
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x3e
mov byte [ebp - 0xb], 0x3c
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x3e
mov byte [ebp - 8], 0x25
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x3c
mov byte [ebp - 5], 0x2f
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x3e
mov byte [ebp - 2], 0
mov byte [ebp - 0x414], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x414]
push edx
call fcn.004bae06
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [0x4ea3e4]
and eax, 0x3ff
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*4 + 0x17ac], 0
je 0x4b2d9e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x17ac]
push edx
call fcn.004b9b4e
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x17ac], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 0x27ac], 0
push 0x400
call fcn.004b9c37
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4 + 0x17ac], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x27ac], 0x400
lea edx, [ebp + 0x14]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x17ac]
push edx
call fcn.004badb5
add esp, 0xc
mov dword [ebp - 0x418], 0
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x101fca70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10262351
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x102a5f40]
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 ebx, ecx
mov edi, dword [sym.imp.MSVCR110.dll_malloc]
push 1
mov dword [ebp - 0x34], ebx
call edi
mov esi, eax
push esi
push 0
push 0x1028ca4b
call fcn.101204c0
mov byte [esi], 0
push 1
mov dword [ebx], esi
call edi
mov esi, eax
push esi
push 0
push 0x1028ca4b
call fcn.101204c0
mov byte [esi], 0
push 1
mov dword [ebx + 4], esi
call edi
mov esi, eax
push esi
push 0
push 0x1028ca4b
call fcn.101204c0
mov byte [esi], 0
push 1
mov dword [ebx + 8], esi
call edi
mov esi, eax
push esi
push 0
push 0x1028ca4b
call fcn.101204c0
add esp, 0x40
mov byte [esi], 0
push 1
mov dword [ebx + 0xc], esi
call edi
mov esi, eax
push esi
push 0
push 0x1028ca4b
call fcn.101204c0
mov byte [esi], 0
xorps xmm0, xmm0
push 5
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
movsd qword [ebx + 0x48], xmm0
mov dword [ebx + 0x50], 0
call edi
mov esi, eax
push esi
push 4
push 0x1028af88
call fcn.101204c0
movsd xmm0, qword [0x102a5410]
mov byte [esi + 4], 0
add esp, 0x20
movsd qword [ebx + 0x78], xmm0
movsd xmm0, qword [0x10277178]
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x70], 1
movsd qword [ebx + 0x80], xmm0
mov byte [ebx + 0x8c], 1
push 0
lea ecx, [ebx + 0x90]
call fcn.101d2ad0
mov dword [ebx + 0xac], 0
mov byte [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
push 0x608
mov dword [ebp - 4], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x58], 0
call sub.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x101fcc6f
mov ecx, eax
call fcn.101d2830
jmp 0x101fcc71
xor eax, eax
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [ebx + 0x88], eax
call fcn.102076c0
push eax
lea ecx, [ebx + 0x90]
mov byte [ebp - 4], 2
call fcn.101d2e50
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.101d2d20
mov eax, ebx
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.10251d16
mov esp, ebp
pop ebp
ret
Function at 0x1020c6c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0x2c]
dec ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x17c]
jl 0x1020c7bf
mov edx, dword [ebp + 0xc]
xorps xmm3, xmm3
lea esp, [esp]
mov eax, dword [edi + 0x120]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 8], eax
movsd xmm0, qword [esi + eax*8]
mov eax, dword [edi + 0x110]
ucomisd xmm0, xmm3
mov eax, dword [eax + ecx*4]
mov dword [ebp - 4], eax
lahf
test ah, 0x44
jnp 0x1020c7a7
mov ecx, dword [ebp - 8]
mov eax, dword [edi + 0x10c]
mov esi, dword [ebp - 4]
movsd xmm2, qword [eax + ecx*8]
mov eax, dword [edi + 0xe0]
mov ecx, dword [ebp - 4]
mulsd xmm2, xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0xec]
lea edx, [eax + ecx*4]
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp + 8]
lea eax, [edx + eax*4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xe8]
lea ecx, [eax + ecx*8]
cmp edx, dword [ebp - 8]
je 0x1020c795
mov edi, dword [ebp - 8]
jmp 0x1020c770
movsd xmm1, qword [ecx]
mov eax, dword [edx]
mulsd xmm1, xmm2
movsd xmm0, qword [esi + eax*8]
add edx, 4
add ecx, 8
subsd xmm0, xmm1
movsd qword [esi + eax*8], xmm0
cmp edx, edi
jne 0x1020c770
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edx, eax
movsd qword [eax + ecx*8], xmm2
mov ecx, dword [ebp - 0xc]
jmp 0x1020c7af
mov eax, dword [ebp - 4]
movsd qword [edx + eax*8], xmm3
dec ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x17c]
jge 0x1020c6f0
mov ecx, dword [edi + 0x17c]
dec ecx
js 0x1020c8a5
movsd xmm1, qword [0x1028cdd0]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
cmp eax, 4
jl 0x1020c877
mov eax, dword [edi + 0x120]
sub ecx, 4
mov eax, dword [eax + ecx*4 + 0x10]
movsd xmm0, qword [esi + eax*8]
mov eax, dword [edi + 0x110]
xorpd xmm0, xmm1
mov eax, dword [eax + ecx*4 + 0x10]
movsd qword [edx + eax*8], xmm0
mov eax, dword [edi + 0x120]
mov eax, dword [eax + ecx*4 + 0xc]
movsd xmm0, qword [esi + eax*8]
mov eax, dword [edi + 0x110]
xorpd xmm0, xmm1
mov eax, dword [eax + ecx*4 + 0xc]
movsd qword [edx + eax*8], xmm0
mov eax, dword [edi + 0x120]
mov eax, dword [eax + ecx*4 + 8]
movsd xmm0, qword [esi + eax*8]
mov eax, dword [edi + 0x110]
xorpd xmm0, xmm1
mov eax, dword [eax + ecx*4 + 8]
movsd qword [edx + eax*8], xmm0
mov eax, dword [edi + 0x120]
mov eax, dword [eax + ecx*4 + 4]
movsd xmm0, qword [esi + eax*8]
mov eax, dword [edi + 0x110]
xorpd xmm0, xmm1
mov eax, dword [eax + ecx*4 + 4]
movsd qword [edx + eax*8], xmm0
cmp ecx, 3
jge 0x1020c7e3
test ecx, ecx
js 0x1020c8a5
jmp 0x1020c880
dec ecx
mov eax, dword [edi + 0x120]
mov eax, dword [eax + ecx*4 + 4]
movsd xmm0, qword [esi + eax*8]
mov eax, dword [edi + 0x110]
xorpd xmm0, xmm1
mov eax, dword [eax + ecx*4 + 4]
movsd qword [edx + eax*8], xmm0
jns 0x1020c880
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10238ec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1026634c
push esi
mov ebx, ecx
call dword [sym.imp.MSVCR110.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x10238ef7
push esi
push 0x1028bff0
call dword [sym.imp.MSVCR110.dll_printf]
add esp, 8
push 1
call dword [sym.imp.MSVCR110.dll_exit]
push dword [ebp + 0x2c]
movsd xmm0, qword [ebp + 0x24]
sub esp, 8
mov ecx, ebx
movsd qword [esp], xmm0
push dword [ebp + 0x20]
movsd xmm0, qword [ebp + 0x14]
push dword [ebp + 0x1c]
sub esp, 8
movsd qword [esp], xmm0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10238a10
push edi
mov esi, eax
call dword [sym.imp.MSVCR110.dll_fclose]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x28
Function at 0x102513b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102637b8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x102a5f40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x9c]
call eax
fstp qword [ebp - 0x14]
xorps xmm0, xmm0
comisd xmm0, xmmword [ebp - 0x14]
jbe 0x1025143c
movsd xmm1, qword [0x1028cdd0]
xor ecx, ecx
cmp dword [esi], ecx
jle 0x1025141b
mov eax, dword [esi + 0x38]
inc ecx
movsd xmm0, qword [eax + ecx*8 - 8]
xorpd xmm0, xmm1
movsd qword [eax + ecx*8 - 8], xmm0
cmp ecx, dword [esi]
jl 0x10251403
movsd xmm0, qword [esi + 0xc0]
xorpd xmm0, xmm1
movsd qword [esi + 0xc0], xmm0
movsd xmm0, qword [0x1028cdb0]
movsd qword [esi + 0x70], xmm0
mov ecx, dword [esi]
xor edx, edx
test ecx, ecx
jle 0x10251451
mov eax, dword [esi + 0x2c]
add edx, dword [eax]
lea eax, [eax + 4]
dec ecx
jne 0x10251447
mov ecx, dword [esi]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [esi + 0x30]
push dword [esi + 0x34]
push edx
push ecx
push dword [esi + 4]
lea ecx, [ebp - 0x5c]
push 1
call fcn.101d5730
push dword [esi + 0x54]
mov eax, dword [edi]
push dword [esi + 0x50]
lea ecx, [ebp - 0x5c]
push dword [esi + 0x38]
mov dword [ebp - 4], 0
push dword [esi + 0x4c]
push dword [esi + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x1ec]
xor edi, edi
cmp dword [esi], edi
jle 0x102514c5
jmp 0x102514a0
mov eax, dword [esi + 0xd8]
mov ecx, dword [ebp + 8]
cmp byte [edi + eax], 0
mov eax, dword [ecx]
push edi
je 0x102514ba
call dword [eax + 0x14c]
jmp 0x102514c0
call dword [eax + 0x144]
inc edi
cmp edi, dword [esi]
jl 0x102514a0
movsd xmm0, qword [esi + 0x40]
subsd xmm0, qword [esi + 0xc0]
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, dword [ecx]
movsd qword [esp], xmm0
push 4
call dword [eax + 0x10]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.101d5e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d6c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d2a7

Function at 0x46d6cb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d436

Function at 0x46dbee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042abb0
mov eax, dword [0x496040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0046a6e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46dc30
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46dd8c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0047ffe0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4e6988]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0046f181
mov ecx, dword [esi*4 + 0x4e6988]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46dd85
cmp eax, dword [edi + ecx + 0x24]
jne 0x46dd85
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46dd85
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046f181
add esp, 0x14
test edx, edx
jl 0x46dd85
jg 0x46dcfb
test eax, eax
jb 0x46dd85
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46dd85
jl 0x46dd15
cmp dword [ebp - 0x1008], eax
ja 0x46dd85
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46dd33
test ebx, ebx
je 0x46dd6c
cmp ecx, edi
jae 0x46dd6c
mov al, byte [ecx]
cmp al, 0xd
jne 0x46dd4d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46dd59
cmp byte [ecx + 1], 0xa
jne 0x46dd59
inc ecx
jmp 0x46dd59
movzx eax, al
movsx eax, byte [eax + 0x496320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46dd33
cmp edx, ebx
jne 0x46dd33
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46dd8a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00429766
leave
ret
Function at 0x46e30a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4e6988]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46e34a
cmp byte [ebx], 0xa
jne 0x46e34a
or byte [eax + edi + 0x28], 4
jmp 0x46e34f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x46e44d
mov al, byte [edx]
cmp al, 0x1a
je 0x46e42f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x46e37e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46e3a3
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x46e3ad
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46e360
jmp 0x46e44d
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46e42a
cmp dword [ebp - 0xc], 0
je 0x46e42a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4e6988]
test byte [eax + edi + 0x28], 0x48
je 0x46e404
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46e3ef
mov byte [esi], dl
jmp 0x46e400
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4e6988]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46e44d
cmp byte [ebp - 1], 0xa
jne 0x46e413
cmp esi, ebx
jne 0x46e413
mov byte [esi], 0xa
jmp 0x46e44c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0046f19f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46e44d
mov byte [esi], 0xd
jmp 0x46e44c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4e6988]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46e449
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46e44d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46e456
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4e6988]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46e499
cmp word [esi], dx
jne 0x46e499
or byte [edi + eax + 0x28], 4
jmp 0x46e49e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x46e5f1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x46e5d1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46e4e0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46e516
cmp eax, edx
jae 0x46e522
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x46e4b8
jmp 0x46e5f1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46e5cd
cmp dword [ebp - 0x14], 0
je 0x46e5cd
mov eax, dword [ebx*4 + 0x4e6988]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46e5a5
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46e56e
mov word [esi], cx
jmp 0x46e5a1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e6988]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e6988]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e6988]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46e5f1
pop ebx
cmp word [ebp - 4], bx
jne 0x46e5b6
cmp esi, dword [ebp + 0xc]
jne 0x46e5b6
mov word [esi], bx
jmp 0x46e5ee
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0046f19f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46e5f1
push 0xd
jmp 0x46e5ea
mov ecx, dword [ebx*4 + 0x4e6988]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46e5e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46e5f1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x102e70b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x102e729d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x195000]
push edi
or ebp, 0xffffffff
jmp 0x102e70da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x102e70e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102e70d0
mov eax, 1
add ebx, ebx
jne 0x102e70f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x102e7104
jne 0x102e7123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102e7123
dec eax
add ebx, ebx
jne 0x102e7110
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x102e70e8
add ebx, ebx
jne 0x102e711f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x102e7175
xor ecx, ecx
sub eax, 3
jb 0x102e713b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x102e71aa
sar eax, 1
mov ebp, eax
jmp 0x102e7146
add ebx, ebx
jne 0x102e7146
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102e7114
inc ecx
add ebx, ebx
jne 0x102e7154
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x102e7114
add ebx, ebx
jne 0x102e7161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x102e7156
jne 0x102e7172
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x102e7156
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x102e7194
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x102e7186
jmp 0x102e70d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x102e7194
add edi, ecx
jmp 0x102e70d6
pop esi
mov edi, esi
mov ecx, 0xd3b7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x102e71b2
cmp byte [edi], 0x27
jne 0x102e71b2
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 0x102e71b7
lea edi, [esi + 0x2d8000]
mov eax, dword [edi]
or eax, eax
je 0x102e722f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2eb770]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2eb8c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x102e71e4
mov ecx, edi
jns 0x102e7213
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2eb8c8]
or eax, eax
je 0x102e7229
mov dword [ebx], eax
add ebx, 4
jmp 0x102e7201
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x102e7260
cmp al, 0xef
ja 0x102e7253
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x102e7235
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x102e7242
mov ebp, dword [esi + 0x2eb8cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x102e7294
sub esp, 0xffffff80
jmp 0x1013fe5e
Function at 0x100131ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10013225
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10013223
push 0x1888
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10013270
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10013253
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x10013270
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.100185ee
mov dword [eax], 0xfffd
jmp 0x10013248
mov esp, ebp
pop ebp
ret
Function at 0x1001f217
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001f33f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xffffffe2
jmp 0x1001f24b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffffc
jg 0x1001f33d
mov dword [ebp - 0x48], 0x446d
mov dword [ebp - 0x44], 0x446d
mov dword [ebp - 0x40], 0x446d
mov dword [ebp - 0x3c], 0x446d
lea ecx, [ebp - 2]
call fcn.100091f3
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.100185fd
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.100185bf
mov dword [ebp - 0xc], 0x6d4f2887
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001f2c6
push 0x1888
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], 3
jmp 0x1001f2d6
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1001f330
mov dword [ebp - 0x20], 0xfffffff7
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1001f2fa
cmp dword [ebp - 0xc], 0
je 0x1001f2fa
mov dword [ebp - 0x10], 1
jmp 0x1001f2fe
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xffffffff
jae 0x1001f30d
mov dword [ebp - 0x14], 1
jmp 0x1001f311
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
je 0x1001f324
mov dword [ebp - 0x18], 1
jmp 0x1001f328
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
jmp 0x1001f2cf
lea ecx, [ebp - 0x34]
call fcn.100185e9
jmp 0x1001f240
jmp 0x1001f349
push 0
push 0
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esp, ebp
pop ebp
ret