joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp], ecx
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
mov bl, 1
lea eax, [ecx + 1]
cmp eax, esi
mov dword [edx + 0x14], eax
jae 0x100092a9
mov edi, dword [edx + 0xc]
mov bl, 1
movzx edi, byte [edi + eax]
cmp edi, 0x2b
je 0x100092a1
cmp edi, 0x2d
jne 0x100092a9
xor ebx, ebx
add ecx, 2
mov eax, ecx
mov dword [edx + 0x14], ecx
cmp eax, esi
jae 0x1000944e
mov ebp, dword [edx + 0xc]
mov dword [esp + 4], ebx
lea ecx, [eax + 1]
movzx ebx, byte [ebp + eax]
mov dword [edx + 0x14], ecx
add bl, 0xd0
cmp bl, 0xa
jae 0x10009458
mov edi, dword [esp + 0x30]
mov bh, byte [esp + 0x2c]
cmp ecx, esi
mov dword [esp + 0x14], edi
movzx edi, bl
jae 0x10009350
neg esi
add eax, 2
jmp 0x10009303
movzx ecx, cl
lea edi, [edi + edi*4]
lea edi, [ecx + edi*2]
lea ecx, [esi + eax + 1]
inc eax
cmp ecx, 1
je 0x10009350
movzx ecx, byte [ebp + eax - 1]
add cl, 0xd0
cmp cl, 0xa
jae 0x10009350
cmp edi, 0xccccccb
mov dword [edx + 0x14], eax
jle 0x100092f0
cmp edi, 0xccccccc
jne 0x10009328
cmp cl, 7
jbe 0x100092f0
mov ecx, dword [esp + 0x14]
xor eax, eax
movzx esi, byte [esp + 4]
movzx edi, bh
or ecx, dword [esp + 0x34]
mov ecx, dword [esp]
sete al
push esi
push eax
push edi
call fcn.1010e010
add esp, 0x24
jmp 0x1000943f
mov esi, dword [esp + 0x38]
cmp byte [esp + 4], 0
je 0x1000936a
lea eax, [esi + edi]
sar eax, 0x1f
add eax, 0x80000000
add esi, edi
jmp 0x10009378
xor eax, eax
cmp esi, edi
setns al
add eax, 0x7fffffff
sub esi, edi
cmovo esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
movd xmm0, eax
movd xmm1, ecx
mov eax, esi
punpckldq xmm1, xmm0
neg eax
punpckldq xmm1, xmmword [0x10116330]
cmovs eax, esi
cmp eax, 0x135
subpd xmm1, xmmword [0x10116340]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
jb 0x100093f8
movsd xmm2, qword [0x10116350]
xorpd xmm1, xmm1
nop word cs:[eax + eax]
nop
ucomisd xmm0, xmm1
jne 0x100093d8
jnp 0x10009421
test esi, esi
jns 0x1000947d
divsd xmm0, xmm2
add esi, 0x134
mov eax, esi
neg eax
cmovs eax, esi
cmp eax, 0x134
ja 0x100093d0
mov ecx, dword [0x10180d58]
test esi, esi
movsd xmm1, qword [ecx + eax*8]
js 0x10009444
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x10116360]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x10116370]
jae 0x1000947d
test bh, bh
jne 0x1000942d
xorpd xmm0, xmmword [0x10116380]
mov eax, dword [esp]
movsd qword [eax + 8], xmm0
xor eax, eax
mov ecx, dword [esp]
mov dword [ecx], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
divsd xmm0, xmm1
test bh, bh
je 0x10009425
jmp 0x1000942d
mov dword [esp + 8], 5
jmp 0x10009460
mov dword [esp + 8], 0xd
lea eax, [esp + 8]
push eax
push edx
mov esi, dword [esp + 8]
call fcn.1010e0a0
add esp, 8
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x1000943c
lea eax, [esp + 8]
mov dword [esp + 8], 0xe
push eax
push edx
call fcn.1010e0a0
mov ecx, dword [esp + 8]
add esp, 8
mov dword [ecx + 4], eax
mov eax, 1
jmp 0x10009437
Function at 0x10011110
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10012920
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x17
push 0x101172e8
call fcn.10073aa0
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
push eax
call fcn.10073f70
add esp, 4
lea eax, [ebp - 0x54]
mov dword [ebp - 0x10], 1
push eax
call fcn.10073f70
add esp, 4
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x10], 2
push eax
call fcn.10073f70
add esp, 4
movzx eax, byte [0x10180e99]
push 4
push 0x18
call fcn.100218a0
add esp, 8
test eax, eax
je 0x10011259
mov ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x34]
movsd xmm0, qword [ebp - 0x2c]
movsd xmm3, qword [ebp - 0x3c]
movsd xmm2, qword [ebp - 0x54]
mov dword [ecx], 1
mov dword [ecx + 4], 1
mov word [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 4
mov dword [ecx + 0x14], 0
mov dword [eax + 0x48], edx
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ebp - 0x4c]
movsd qword [eax + 0x10], xmm0
movsd qword [eax], xmm3
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [ebp - 0x6c]
mov edx, dword [ebp - 0x18]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [ebp - 0x44]
movsd qword [eax + 0x28], xmm1
movsd xmm1, qword [ebp - 0x64]
movsd qword [eax + 0x30], xmm2
movsd qword [eax + 0x38], xmm1
movsd xmm1, qword [ebp - 0x5c]
movsd qword [eax + 0x40], xmm1
mov dword [eax + 0x4c], fcn.1000f1b0
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], 0x4099999a
mov byte [eax + 0x58], 0
mov dword fs:[0], edx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 3
push 0x18
push 4
call fcn.10113cc0
add esp, 8
ud2
Function at 0x1001ca90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1001e890
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0xa
push 0x1011866c
call fcn.10073aa0
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
movzx eax, byte [0x10180e99]
push 4
push 0x18
call fcn.100218a0
add esp, 8
test eax, eax
je 0x1001cc15
mov dword [eax], 1
mov dword [eax + 4], 1
mov word [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], 1
push eax
call fcn.10073f70
add esp, 4
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x10], 2
push eax
call fcn.10073f70
add esp, 4
lea eax, [ebp - 0x74]
mov dword [ebp - 0x10], 3
push eax
call fcn.10073f70
add esp, 4
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x10], 4
push eax
call fcn.10073f70
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x34]
movsd xmm3, qword [ebp - 0x44]
movsd xmm2, qword [ebp - 0x5c]
mov dword [eax + 0x60], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x64], ecx
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ebp - 0x54]
movsd qword [eax], xmm3
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 0x18], xmm2
movsd xmm3, qword [ebp - 0x74]
movsd xmm2, qword [ebp - 0x64]
mov ecx, dword [ebp - 0x18]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [ebp - 0x4c]
movsd qword [eax + 0x28], xmm1
movsd xmm1, qword [ebp - 0x6c]
movsd qword [eax + 0x40], xmm2
movsd qword [eax + 0x30], xmm3
movsd xmm2, qword [ebp - 0x8c]
movsd qword [eax + 0x38], xmm1
movsd xmm1, qword [ebp - 0x7c]
mov dword [eax + 0x68], fcn.1000f1b0
movsd qword [eax + 0x48], xmm2
movsd qword [eax + 0x58], xmm1
movsd xmm1, qword [ebp - 0x84]
movsd qword [eax + 0x50], xmm1
mov dword fs:[0], ecx
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x18
push 4
call fcn.10113cc0
add esp, 8
ud2
Function at 0x10022690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10026aa0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 7
push ecx
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 6
add eax, 4
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 5
add eax, 8
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
add eax, 0xc
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
lea ecx, [eax + 0x10]
call fcn.10022900
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x2c
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
add eax, 0x30
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
add eax, 0x34
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 9
add eax, 0x40
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 8
add eax, 0x44
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0xffffffff
add eax, 0x48
push eax
call fcn.10048410
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10049fb0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
je 0x10049fec
mov ebp, dword [esp + 0x14]
push 2
push ebx
push ebp
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x10049fec
mov edi, eax
push ebx
push ebp
call dword [sym.imp.advapi32.dll_SystemFunction036]
and edi, 0x7fffffff
xor esi, esi
test al, al
cmove esi, edi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004b080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
test byte [edx + 0x20], 1
mov edi, edx
mov esi, ecx
jne 0x1004b101
mov ebx, dword [edi + 0x10]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0x40
push 5
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1004b138
mov dword [esp], esi
mov esi, dword [edi + 0x18]
mov eax, dword [esp + 4]
test esi, esi
mov dword [esp + 0xc], eax
je 0x1004b15e
mov eax, dword [edi + 0x1c]
push esi
mov dword [esp + 0xc], eax
call dword [eax + 0xc]
add esp, 4
mov ebp, 0xc
test al, al
je 0x1004b172
push dword [edi + 8]
push dword [edi + 4]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
mov eax, dword [esp + 0xc]
call dword [eax + 0x10]
add esp, 4
jmp 0x1004b16d
mov ebx, dword [edi + 0x18]
mov dword [esp], esi
test ebx, ebx
je 0x1004b146
mov esi, dword [edi + 0x1c]
push ebx
call dword [esi + 0xc]
add esp, 4
mov ebp, 0xc
test al, al
je 0x1004b18c
push dword [edi + 8]
push dword [edi + 4]
push dword [edi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebx
call dword [esi + 0x10]
add esp, 4
jmp 0x1004b157
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 5
mov dword [esi + 4], eax
jmp 0x1004b1ae
push dword [edi + 8]
push dword [edi + 4]
push dword [edi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebp, 0xf
jmp 0x1004b18c
push dword [edi + 8]
push dword [edi + 4]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebp, 0xf
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esp + 0x10]
push 5
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push ecx
push 0x64
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
mov eax, dword [esp]
mov dword [eax], ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10057b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], esp
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0x10058d50
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
mov edx, dword fs:[0]
mov dword [esi + 0x38], edx
mov dword fs:[0], ecx
mov dword [esi + 0x18], 0x1012b4ac
mov dword [esi + 0x1c], 2
mov dword [esi + 0x28], 0
mov dword [esi + 0x40], 0
mov ecx, dword [eax]
movzx edx, byte [eax + 0x26]
mov eax, dword [eax + 4]
sub ecx, edx
mov edx, dword [ebp + 0xc]
sbb eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0x10058ca0
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
mov dword [esi + 0x14], fcn.100c13f0
mov dword [esi + 0x20], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x24], 2
push eax
push dword [ebp + 8]
call fcn.100b5730
add esp, 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp eax, 0x80000000
je 0x10057c0b
test eax, eax
je 0x10057c0b
push 1
push eax
push dword [ecx + 4]
call fcn.100218b0
add esp, 0xc
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1007ab30
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
xorps xmm0, xmm0
call 0x1007ab3f
pop edi
lea eax, [esp + 0x18]
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x18], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1007abdf
mov ecx, dword [esp + 0x54]
xor edx, edx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x50]
mov eax, ecx
div esi
lea eax, [esi + ecx]
sub eax, edx
test edx, edx
cmove eax, ecx
test eax, eax
cmove eax, esi
test ebx, ebx
mov dword [esp + 4], eax
je 0x1007abc7
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], 0
mov dword [esp], 0
mov dword [esp + 8], 0
xor edx, edx
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
lea ebp, [ecx + ebx*8]
mov ebx, dword [ecx + 4]
mov esi, dword [eax*4 + 0x1007ad94]
xor eax, eax
add esi, edi
jmp esi
mov ebx, dword [esp + 4]
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [esp + 8], 0
test dl, dl
je 0x1007abe9
jmp 0x1007abf6
push 0x10142ce0
call fcn.10114360
mov eax, 1
test cl, cl
je 0x1007ad0d
mov dword [ebp + 4], 7
jmp 0x1007ad82
test esi, esi
je 0x1007ad1a
mov dword [ebp + 4], 8
jmp 0x1007ad82
push eax
push 0x3000
push ebx
push dword [esp + 0x14]
call sub.kernel32.dll_VirtualAlloc
test eax, eax
je 0x1007ad37
mov dword [ebp], 1
jmp 0x1007ad6b
call fcn.100aaca0
mov dword [ebp + 4], 0xa
jmp 0x1007ad7f
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
jmp 0x1007ad89
mov dword [ebp + 8], eax
mov dword [ebp], 2
mov eax, ebp
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1008d8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov edi, ecx
lea eax, [esp + 0x30]
push 2
push 0x10152a11
push esi
push edx
push eax
call fcn.100bec70
add esp, 0x14
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], esi
mov word [esp + 0x78], 1
nop dword [eax]
mov ebx, dword [esp + 0x60]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
call fcn.1008ac70
cmp dword [esp + 0x24], 0
je 0x1008d930
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub edx, ecx
add ebx, ecx
mov dword [esp + 0x70], eax
cmp dword [edi + 0x1c], 0
jne 0x1008d971
jmp 0x1008dad2
cmp byte [esp + 0x79], 0
jne 0x1008dad2
mov byte [esp + 0x79], 1
cmp byte [esp + 0x78], 0
je 0x1008d951
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
jmp 0x1008d961
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp edx, ebx
je 0x1008dad2
sub edx, ebx
add ebx, dword [esp + 0x60]
cmp dword [edi + 0x1c], 0
je 0x1008dad2
test edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 8], edi
mov dword [esp + 0x20], ebx
je 0x1008d9d0
mov esi, 0xcbf29ce4
mov eax, 0x84222325
mov edi, edx
nop dword [eax]
movzx ecx, byte [ebx]
mov edx, 0x1b3
imul esi, esi, 0x1b3
inc ebx
xor ecx, eax
mov eax, ecx
shl ecx, 8
mul edx
add ecx, edx
add esi, ecx
dec edi
jne 0x1008d990
xor eax, 0xff
mov ecx, 0x1b3
mov edi, dword [esp + 8]
mul ecx
add edx, esi
mov esi, eax
shld edx, eax, 7
jmp 0x1008d9d7
mov dl, 0x43
mov esi, 0x8602eb6e
mov ecx, dword [edi + 0x10]
and dl, 0x7f
mov edi, dword [edi + 0x14]
movzx eax, dl
mov edx, esi
movd xmm0, eax
punpcklbw xmm0, xmm0
lea eax, [ecx - 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
pshuflw xmm0, xmm0, 0
mov dword [esp + 0x1c], edi
pshufd xmm0, xmm0, 0
mov dword [esp + 0x14], eax
xor eax, eax
movdqa xmmword [esp + 0x80], xmm0
mov esi, dword [esp + 0xc]
and edx, edi
mov dword [esp + 0x18], eax
movdqu xmm0, xmmword [esi + edx]
movdqa xmmword [esp + 0x90], xmm0
pcmpeqb xmm0, xmmword [esp + 0x80]
pmovmskb esi, xmm0
test esi, esi
jne 0x1008da7c
movdqa xmm1, xmmword [esp + 0x90]
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x1008dace
lea edx, [edx + eax + 0x10]
add eax, 0x10
jmp 0x1008da15
lea eax, [esi - 1]
and eax, esi
test ax, ax
mov esi, eax
je 0x1008da3e
tzcnt eax, esi
add eax, edx
and eax, edi
neg eax
imul ebx, eax, 0x2c
mov eax, dword [esp + 0x14]
cmp dword [eax + ebx + 8], ecx
jne 0x1008da70
mov eax, dword [esp + 0x14]
add eax, ebx
push ecx
push dword [eax + 4]
push dword [esp + 0x28]
mov edi, edx
call sub.VCRUNTIME140.dll_memcmp
mov edx, edi
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1008da70
mov eax, dword [esp + 0xc]
cmp byte [esp + 0x79], 0
lea edi, [eax + ebx - 0x20]
je 0x1008d8f0
jmp 0x1008dad2
mov edi, dword [esp + 8]
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1009b3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x9c
mov eax, dword [esp + 0xa4]
xor edx, edx
mov eax, dword [eax]
mov ecx, eax
and eax, 0x1fff
sar ecx, 0xd
cmp eax, 0x16e7
mov dword [esp + 8], ecx
ja 0x1009b426
mov edx, eax
shr edx, 3
movzx edx, byte [edx + 0x1015769c]
lea edx, [eax + edx*8]
mov eax, dword [esp + 0xa8]
mov esi, edx
shr edx, 4
shr esi, 9
and edx, 0x1f
cmp ecx, 0x2710
jae 0x1009b493
movaps xmm0, xmmword [0x101291b0]
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 2
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 0x24], ecx
mov ecx, esp
mov dword [esp + 0x28], fcn.100c1cb0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x30], fcn.100c1dc0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], fcn.100c1dc0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x54], 8
jmp 0x1009b4e4
movaps xmm0, xmmword [0x101177b0]
lea ecx, [esp + 8]
mov dword [esp + 0x3c], 2
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 0x24], ecx
mov ecx, esp
mov dword [esp + 0x28], fcn.100c1cb0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x30], fcn.100c1dc0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], fcn.100c1dc0
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x54], 9
movaps xmm0, xmmword [0x1012c9f0]
movaps xmm1, xmmword [0x1012ca00]
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], 0x10158158
mov dword [esp + 0x10], 3
mov byte [esp + 0x58], 3
mov dword [esp + 0x5c], 2
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 3
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 3
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x74], 8
mov byte [esp + 0x78], 3
mov dword [esp + 0x7c], 2
movups xmmword [esp + 0x84], xmm1
mov dword [esp + 0x94], 8
mov byte [esp + 0x98], 3
push ecx
push dword [eax + 0x18]
push dword [eax + 0x14]
call fcn.100bd020
add esp, 0xc
add esp, 0x9c
pop esi
ret
Function at 0x100a0240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100ae330
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp edi, 0x201
jae 0x100a02d0
jmp 0x100a02be
jbe 0x100a0356
cmp edi, 0x201
jae 0x100a02d0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov esi, edi
jmp 0x100a0301
mov esi, dword [ebp - 0x34]
sub edi, esi
je 0x100a02f5
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, esi
push edi
call fcn.10112f70
add esp, 4
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x100a0325
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x100a03b9
cmp edi, esi
jne 0x100a02b0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100a03d8
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x100a02be
jmp 0x100a02d0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x100a03f5
lea eax, [ebp - 0x44]
push edi
push ebx
push eax
call fcn.100a43b0
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100a03a3
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.100218b0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x100a0393
jmp 0x100a03a3
mov dword [ebp - 0x10], 0
push 0x1015abc8
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_4d570eea025a19564429eb52b34ec34e14659f55library_alloc_src_vecmod.rs
call fcn.10113ef0
add esp, 0xc
jmp 0x100a0404
push 0x1015abb8
push eax
push edi
call fcn.101141f0
add esp, 0xc
ud2
Function at 0x100a4bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov edi, edx
call fcn.100a4660
mov ecx, dword [edi + 4]
cmp eax, ecx
ja 0x100a4d0b
mov edx, dword [edi]
mov ebx, edx
lea esi, [edx + eax]
movzx edx, byte [edi + 8]
mov edi, eax
sub edi, ecx
mov byte [ebp - 0xd], dl
jne 0x100a4c37
mov ebx, dword [ebp - 0x14]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x100a4cb3
jmp 0x100a4c91
cmp dl, 3
mov dword [ebp - 0x18], esi
jae 0x100a4c5f
mov edx, ebx
lea esi, [ecx + ebx - 1]
mov ebx, dword [ebp - 0x14]
mov edi, eax
sub edi, ecx
nop dword [eax]
cmp byte [esi], 0x5c
je 0x100a4cf5
dec esi
inc edi
jne 0x100a4c50
jmp 0x100a4c84
mov edx, ebx
lea esi, [ecx + ebx - 1]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
cmp ebx, 0x2f
je 0x100a4c95
cmp ebx, 0x5c
je 0x100a4c95
dec esi
inc edi
jne 0x100a4c70
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x100a4cb3
mov al, 0xa
jmp 0x100a4ce0
mov ebx, dword [ebp - 0x14]
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
ja 0x100a4cff
add edx, eax
mov edi, 1
mov esi, edx
movzx edx, byte [ebp - 0xd]
sub ecx, eax
je 0x100a4c91
mov al, 9
cmp ecx, 2
je 0x100a4cd2
cmp ecx, 1
jne 0x100a4ce0
cmp byte [esi], 0x2e
jne 0x100a4ce0
xor eax, eax
cmp dl, 3
setae al
lea eax, [eax + eax*2 + 7]
jmp 0x100a4ce0
cmp byte [esi], 0x2e
jne 0x100a4ce0
cmp byte [esi + 1], 0x2e
sete al
xor al, 9
add edi, ecx
mov dword [ebx], edi
mov byte [ebx + 4], al
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
jbe 0x100a4ca2
push 0x10159a70
push ecx
push eax
call fcn.101141d0
push 0x10159a60
push ecx
push eax
call fcn.101141d0
int3