joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10193cf0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
xorps xmm0, xmm0
mov edi, ecx
lea esi, [ebp - 0x30]
mov dword [ebp - 0x10], edx
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
push 2
push 0x20
push esi
push 0
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x10193d2d
mov ebx, eax
push 0x20
push esi
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x10193d6f
movups xmm0, xmmword [ebp - 0x30]
movups xmm1, xmmword [ebp - 0x20]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
movups xmmword [edi], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi + 0x20], xmm0
mov edx, dword [ebp + 8]
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x3c], ecx
mov ecx, edi
mov dword [edi + 0x38], eax
call fcn.10194230
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x10193d8e
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10193db6
mov dword [esi], eax
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10193db6
add ebx, 0x80000000
mov dword [eax], ebx
push eax
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
jmp 0x10193d49
push 4
push 4
call fcn.1001ac80
add esp, 8
ud2
Function at 0x1019d910
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
call sub.advapi32.dll_GetUserNameW
test eax, eax
jne 0x1019da55
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1019d998
xor ebx, ebx
cmp esi, 0x40000000
setb al
jae 0x1019da79
mov bl, al
lea ecx, [esi + esi]
add ebx, ebx
test ecx, ecx
mov dword [ebp - 0x14], ecx
js 0x1019da80
je 0x1019d99f
mov eax, dword [0x1044f00c]
mov edi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [edi]
test eax, eax
jne 0x1019d982
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1019da6b
mov dword [edi], eax
push dword [ebp - 0x14]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test edi, edi
jne 0x1019d9a9
jmp 0x1019da6b
mov edi, 2
jmp 0x1019d9a9
mov edi, ebx
test edi, edi
je 0x1019da6b
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push edi
call sub.advapi32.dll_GetUserNameW
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1019d9e1
mov eax, dword [ebp - 0x10]
xor ecx, ecx
sub eax, 1
cmovb eax, ecx
push eax
push edi
push ebx
call fcn.10169f90
add esp, 0xc
test esi, esi
je 0x1019da4b
mov eax, dword [0x1044eff8]
push edi
push 0
jmp 0x1019da44
mov eax, dword [0x1044f00c]
movzx eax, byte [eax]
mov eax, dword [0x1044eff8]
mov eax, dword [eax]
test eax, eax
jne 0x1019da09
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1019da87
mov ecx, dword [0x1044eff8]
mov dword [ecx], eax
push 7
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1019da87
test esi, esi
mov dword [eax + 3], 0x6e776f6e
mov dword [eax], 0x6e6b6e75
mov dword [ebx], eax
mov dword [ebx + 4], 7
mov dword [ebx + 8], 7
mov byte [ebx + 0xc], 1
je 0x1019da4b
push edi
push 0
mov eax, dword [0x1044eff8]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1043dfe4
push 0x19
push 0x1043df6f
call fcn.10027330
add esp, 0xc
ud2
push dword [ebp - 0x14]
push ebx
call fcn.1001ac80
add esp, 8
ud2
call fcn.1001ac40
ud2
call fcn.1001ac40
ud2
push 7
push 1
call fcn.1001ac80
add esp, 8
ud2
Function at 0x101a8c30
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
xorps xmm0, xmm0
mov edi, ecx
lea esi, [ebp - 0x30]
mov dword [ebp - 0x10], edx
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
push 2
push 0x20
push esi
push 0
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x101a8c6d
mov ebx, eax
push 0x20
push esi
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x101a8caf
movups xmm0, xmmword [ebp - 0x30]
movups xmm1, xmmword [ebp - 0x20]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
movups xmmword [edi], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm1
movups xmmword [edi + 0x20], xmm0
mov edx, dword [ebp + 8]
add eax, 0xffffff00
adc ecx, 0xffffffff
mov dword [edi + 0x40], edx
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x3c], ecx
mov ecx, edi
mov dword [edi + 0x38], eax
call fcn.101ac970
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101a8cce
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a8cf6
mov dword [esi], eax
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101a8cf6
add ebx, 0x80000000
mov dword [eax], ebx
push eax
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
jmp 0x101a8c89
push 4
push 4
call fcn.1001ac80
add esp, 8
ud2

Function at 0x101ab8d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 0x10]
push eax
call fcn.101db940
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], ebx
add eax, ebx
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x3c]
call fcn.101aeea0
movzx eax, byte [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
push ecx
push eax
push 0
push ebx
push esi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x101ab96c
mov dword [edi + 4], eax
xor eax, eax
cmp dword [ebp - 0x28], 0
mov byte [edi], al
je 0x101ab94d
mov eax, dword [0x1044eff8]
push ebx
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x1c], 0
je 0x101ab964
mov eax, dword [0x1044eff8]
push dword [ebp - 0x10]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 4
cmp dword [ebp - 0x28], 0
mov byte [edi], al
jne 0x101ab93e
jmp 0x101ab94d
Function at 0x101c6220
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edx, dword [eax + 8]
mov ecx, esi
call fcn.101d5580
mov dword [ebp - 0x10], edx
mov edi, eax
push eax
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
cmp eax, 7
mov dword [ebp - 0x14], eax
jb 0x101c628a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], 0x1044140c
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x1002e030
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x34]
push eax
call fcn.100748a0
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x10], 0
mov word [edi], 0
je 0x101c62a4
mov eax, dword [0x1044eff8]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x101c62bc
mov eax, dword [0x1044eff8]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ccce0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
push 0
push 1
call sub.KERNEL32.dll_OpenProcess
test eax, eax
je 0x101ccd14
push 1
push eax
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x101ccddd
mov byte [esi], 4
jmp 0x101ccead
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], 0x104429f4
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1002e030
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x30]
lea ebx, [ebp - 0x3c]
push eax
push ebx
call fcn.1001b0a0
add esp, 8
mov eax, dword [0x1044f00c]
mov esi, dword [0x1044eff8]
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101ccd7e
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101cceb7
mov dword [esi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cceb7
mov edi, eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
mov eax, dword [0x1044f00c]
movsd xmm0, qword [ebp - 0x3c]
movsd qword [edi], xmm0
movzx eax, byte [eax]
mov eax, dword [esi]
test eax, eax
jne 0x101ccdba
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101ccdcc
mov dword [esi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x101cce94
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101ccedf
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], 0x10442a90
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1002e030
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x30]
lea ebx, [ebp - 0x3c]
push eax
push ebx
call fcn.1001b0a0
add esp, 8
mov esi, dword [0x1044f00c]
movzx eax, byte [esi]
mov eax, dword [0x1044eff8]
mov eax, dword [eax]
test eax, eax
jne 0x101cce4d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101ccec5
mov ecx, dword [0x1044eff8]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101ccec5
mov edi, eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
movsd xmm0, qword [ebp - 0x3c]
movsd qword [edi], xmm0
movzx eax, byte [esi]
mov esi, dword [0x1044eff8]
mov eax, dword [esi]
test eax, eax
jne 0x101cce86
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101cced3
mov dword [esi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101cced3
mov esi, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], 0x1043ef0c
mov byte [eax + 8], 0x27
mov dword [esi + 4], eax
mov dword [esi], 3
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101ccedf
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101ccedf
push 0xc
push 4
call fcn.1001ac80
add esp, 8
ud2
Function at 0x101d0c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov edi, edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
call fcn.101d5580
mov esi, eax
mov ebx, edx
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push esi
mov dword [ebp - 0x14], edi
push edi
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
test ebx, ebx
mov word [esi], 0
je 0x101d0c61
mov eax, dword [0x1044eff8]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x101d0d37
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], 0x10442e04
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x1002e030
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.1001b0a0
add esp, 8
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
mov esi, dword [0x1044f00c]
mov edi, dword [0x1044eff8]
mov dword [ebp - 0x38], eax
movsd qword [ebp - 0x40], xmm0
movzx eax, byte [esi]
mov eax, dword [edi]
test eax, eax
jne 0x101d0ce0
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101d0d54
mov dword [edi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101d0d54
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x28]
movsd qword [ebx], xmm0
movzx eax, byte [esi]
mov eax, dword [edi]
test eax, eax
jne 0x101d0d13
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101d0d62
mov dword [edi], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101d0d62
mov dword [eax], ebx
mov esi, eax
mov ebx, 3
mov dword [eax + 4], 0x1043ef0c
mov byte [eax + 8], 0x27
jmp 0x101d0d3c
mov ebx, 4
push dword [ebp - 0x14]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
mov dword [eax + 4], esi
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xc
push 4
call fcn.1001ac80
add esp, 8
jmp 0x101d0d6e
push 0xc
push 4
call fcn.1001ac80
add esp, 8
ud2
Function at 0x101e7d30
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.101e2700
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.101e2700
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x101e7d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x1048fb64]
test esi, esi
jle 0x101e7eb0
mov eax, dword [0x1048fb68]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x101e7dc4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x101e7e47
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x101e7db0
mov dword [esp], ebx
call fcn.101e8580
mov edi, eax
test eax, eax
je 0x101e7ed7
mov eax, dword [0x1048fb68]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.101e86c0
mov edx, dword [0x1048fb68]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x101e7eb7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x101e7e40
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x101e7e50
add dword [0x1048fb64], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x1048fb68]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x101e7e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.101e7d30
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x101e7dce
mov eax, dword [0x1048fb68]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.101e7d30
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.101e7d30
lea esi, [esi]
nop
Function at 0x101e81f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x1048fb74
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1048fb6c]
sub esp, 4
test ebx, ebx
je 0x101e8245
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x101e823e
test esi, esi
je 0x101e823e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x101e8220
mov dword [esp], 0x1048fb74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x101e8580
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x10000000], 0x5a4d
jne 0x101e85a5
mov ecx, dword [0x1000003c]
cmp dword [ecx + 0x10000000], 0x4550
lea edx, [ecx + 0x10000000]
je 0x101e85b0
ret
cmp word [ecx + 0x10000018], 0x10b
jne 0x101e85a5
push esi
movzx eax, word [ecx + 0x10000014]
push ebx
movzx esi, word [ecx + 0x10000006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x10000000
test si, si
je 0x101e85f8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x101e85ee
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x101e85fa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x101e85e0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x101f7470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 8]
lea edx, [ebx - 1]
bsr ecx, edx
mov edx, 0x1f
sub edx, dword [esp + 0x14]
xor ecx, 0x1f
sub edx, ecx
bsr ecx, ebx
bsr ebx, dword [esp + 0x10]
add ecx, 1
add ebx, 2
cmp ecx, ebx
cmova ecx, ebx
test eax, eax
mov ebx, 0xb
cmove eax, ebx
pop ebx
cmp eax, edx
cmova eax, edx
mov edx, 0xc
cmp eax, ecx
cmovb eax, ecx
cmp eax, edx
cmova eax, edx
mov edx, 5
cmp eax, edx
cmovb eax, edx
ret
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x88]
test byte [esp + 0x8c], 2
je 0x101f761f
mov eax, dword [esp + 0x28]
add eax, 0x2ec
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
sub eax, 0x2ec
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
mov dword [esp + 0x48], ebx
cmp eax, 0xffffffff
je 0x101f7633
mov eax, edi
lea ecx, [edi + ebx*4]
xor edx, edx
lea esi, [esi]
nop
cmp dword [eax], 1
sbb edx, 0xffffffff
add eax, 4
cmp eax, ecx
jne 0x101f74f0
bsr edx, edx
lea eax, [edx + 1]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x30], eax
jb 0x101f7640
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x44], 0xfffffffe
mov dword [esp + 0x4c], eax
jmp 0x101f753d
add ebx, 1
cmp dword [esp + 0x30], ebx
jb 0x101f7613
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp + 4], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebp
mov dword [esp], esi
call fcn.101f5770
cmp eax, 0xffffff88
ja 0x101f7530
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov edx, ecx
cmovae edx, eax
cmp edx, ebx
jb 0x101f7613
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp], ecx
mov dword [esp + 0x24], ebp
call fcn.101f81f0
mov ebp, eax
cmp eax, 0xffffff88
ja 0x101f7530
mov eax, dword [esp + 0x24]
test eax, eax
js 0x101f75eb
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x48]
xor ecx, ecx
xor eax, eax
movzx edx, byte [esi + eax*4 + 4]
imul edx, dword [edi + eax*4]
add eax, 1
add ecx, edx
cmp ebx, eax
jne 0x101f75d0
shr ecx, 3
mov ebx, dword [esp + 0x40]
add ebp, ecx
mov ecx, dword [esp + 0x44]
lea eax, [ecx + 1]
cmp eax, ebp
jb 0x101f7613
cmp ebp, ecx
jae 0x101f7530
mov dword [esp + 0x4c], ebx
add ebx, 1
mov dword [esp + 0x44], ebp
cmp dword [esp + 0x30], ebx
jae 0x101f753d
mov eax, dword [esp + 0x4c]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x7c], 1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x101f4630
mov dword [esp + 0x34], 0
jmp 0x101f7511
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
jmp 0x101f7613
Function at 0x101fa8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov esi, dword [edx + 0x964]
test esi, esi
je 0x101fa8f0
cmp eax, 0x64
je 0x101fa8c9
lea ecx, [eax - 0x66]
cmp ecx, 5
ja 0x101fa990
mov dword [edx + 4], 1
add edx, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
pop ebx
pop esi
jmp fcn.101f92e0
cmp eax, 0x190
je 0x101fa970
ja 0x101fa920
cmp eax, 0xa4
ja 0x101fa940
cmp eax, 0x9f
ja 0x101fa8d0
cmp eax, 0xa
je 0x101fa8d0
lea esi, [eax - 0x64]
mov ecx, 0xffffffd8
cmp esi, 7
jbe 0x101fa8d0
mov eax, ecx
pop ebx
pop esi
ret
cmp eax, 0x1f4
je 0x101fa8d0
jbe 0x101fa958
lea esi, [eax - 0x3e8]
mov ecx, 0xffffffd8
cmp esi, 0x10
jbe 0x101fa8d0
mov eax, ecx
pop ebx
pop esi
ret
lea esi, [eax - 0xc8]
mov ecx, 0xffffffd8
cmp esi, 2
jbe 0x101fa8d0
mov eax, ecx
pop ebx
pop esi
ret
lea esi, [eax - 0x191]
mov ecx, 0xffffffd8
cmp esi, 1
ja 0x101fa919
jmp 0x101fa8d0
test ebx, ebx
je 0x101fa8d0
mov ecx, dword [edx + 0x2c8]
test ecx, ecx
je 0x101fa8d0
mov ecx, 0xffffffd8
jmp 0x101fa919
mov ecx, 0xffffffc4
jmp 0x101fa919
Function at 0x102a7dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x10]
mov esi, dword [edx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
sub eax, esi
sar eax, 3
mov ebp, eax
cmp dword [edx + 0x1c], eax
jb 0x102a7ed0
xor edi, edi
test eax, eax
je 0x102a7e76
mov dword [esp + 0x40], edx
xor edi, edi
xor eax, eax
mov dword [esp + 0x1c], ebp
bsr edx, dword [esi + eax*8]
movzx ecx, word [esi + eax*8 + 4]
mov ebx, 0x1f
xor edx, 0x1f
sub ebx, edx
movzx edx, word [esi + eax*8 + 6]
cmp ecx, 0x3f
ja 0x102a7eb0
movzx ecx, byte [ecx + 0x1044f360]
mov ebp, dword [esp + 0x10]
mov byte [ebp + eax], cl
mov ecx, dword [esp + 0x18]
mov byte [ecx + eax], bl
cmp edx, 0x7f
jbe 0x102a7ec0
bsr edx, edx
add edx, 0x24
cmp ebx, 0x19
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmovae edi, ebx
mov ebx, dword [esp + 0x1c]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, ebx
jb 0x102a7e17
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x24]
cmp eax, 1
jne 0x102a7e8c
mov eax, dword [edx + 0x28]
mov esi, dword [esp + 0x10]
mov byte [esi + eax], 0x23
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x102a7e9c
mov eax, dword [edx + 0x28]
mov ebx, dword [esp + 0x14]
mov byte [ebx + eax], 0x34
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
bsr ecx, ecx
add ecx, 0x13
jmp 0x102a7e3b
movzx edx, byte [edx + 0x1044f5a0]
jmp 0x102a7e55
mov dword [esp + 8], 0xa55
mov dword [esp + 4], str.zstd_lib_compress_zstd_compress.c
mov dword [esp], str.nbSeq___seqStorePtr__maxNbSeq
call dword [sym.imp.msvcrt.dll__assert]
mov edx, dword [esp + 0x40]
jmp 0x102a7e0b