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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x1028385
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x102835e
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10283a3
dec esi
je 0x102839a
dec esi
jne 0x10283a8
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1029883
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
and dword [ebx + 0x28], 0
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], 0
mov word [ebx + 0xc], ax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x24], ecx
mov esi, 0x8000
jne 0x10298d3
push esi
push eax
add eax, esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
and dword [ebx + 0x30], eax
mov word [ebx + 0x2c], ax
call fcn.010292ba
and dword [ebx + 0x20], 0
mov eax, esi
push 2
mov word [ebx + 0x3c], ax
mov eax, dword [ebx + 0x14]
pop ecx
mov dword [ebx + 0x34], esi
add eax, esi
push edi
movzx edi, byte [eax]
mov edx, dword [ebx + 0x20]
shl edx, 5
xor edx, edi
and edx, 0x7fff
inc eax
dec ecx
mov dword [ebx + 0x20], edx
jne 0x10298f7
cmp byte [ebp + 0x24], cl
je 0x102991d
mov edi, ebx
call fcn.010290fb
jmp 0x102992f
xor eax, eax
mov ecx, esi
mov edx, dword [ebx + 0x18]
xor edi, edi
mov word [eax + edx], di
inc eax
inc eax
dec ecx
jne 0x1029921
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.010284bb
push 0x4b
pop edx
call fcn.010284bb
call fcn.01029600
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
pop edi
je 0x102996e
mov eax, dword [ebx + 0x14]
push esi
lea ecx, [eax + 0x8000]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x28]
neg eax
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x102beb3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x1035030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc88], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0xc8c], eax
mov eax, dword [esi + 0x870]
add eax, 0x20
mov ecx, eax
shl ecx, 3
mov dword [ebp - 0xc9c], ecx
cmp ecx, 0x320
jb 0x102bf00
xor eax, eax
jmp 0x102c0e2
push ebx
push edi
mov edi, eax
shl edi, 4
push edi
lea eax, [ebp - 0xc84]
push 0
push eax
call sub.msvcrt.dll_memset
push edi
lea eax, [ebp - 0x644]
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0x18]
add esp, 0x18
test ecx, ecx
jbe 0x102c05f
mov eax, dword [ebp + 0x14]
mov ebx, dword [esi + 0x34]
mov edi, dword [esi + 0x30]
shl eax, 2
mov dword [ebp - 0xc90], eax
mov eax, dword [ebp + 0x10]
shl eax, 2
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], ecx
jmp 0x102bf5f
mov eax, dword [ebp - 0xc94]
mov ecx, dword [ebp - 0xc88]
and ecx, 7
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc88]
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x102bf89
mov eax, dword [ebp - 0xc88]
movzx eax, byte [edi + eax]
jmp 0x102bfcd
mov ecx, dword [ebp - 0xc88]
cmp byte [edi + ecx], 7
mov ecx, dword [esi + 0x2c]
push dword [ecx + eax]
push esi
jae 0x102bfb7
call fcn.0102a13d
mov ecx, dword [ebp - 0xc88]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x102bfc6
call fcn.0102a13d
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc94], 4
inc dword [ebp - 0xc88]
lea eax, [ebp + eax*2 - 0xc84]
inc word [eax]
mov eax, dword [ebp - 0xc8c]
xor edx, edx
mov ecx, eax
and ecx, 7
inc edx
shl edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x102bfff
movzx eax, byte [edi + eax]
jmp 0x102c043
cmp byte [edi + eax], 7
mov ecx, dword [ebp - 0xc90]
mov eax, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x102c02d
call fcn.0102a13d
mov ecx, dword [ebp - 0xc8c]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x102c03c
call fcn.0102a13d
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc90], 4
inc dword [ebp - 0xc8c]
lea eax, [ebp + eax*2 - 0x644]
inc word [eax]
dec dword [ebp - 0xc98]
jne 0x102bf59
xor esi, esi
xor ebx, ebx
cmp dword [ebp - 0xc9c], esi
jbe 0x102c0de
mov edi, 0x100
movzx eax, word [ebp + esi*2 - 0xc84]
mov ecx, edi
cmp ax, cx
movzx eax, ax
jae 0x102c08b
movzx eax, byte [eax + 0x10046a0]
jmp 0x102c098
shr eax, 8
movzx eax, byte [eax + 0x10046a0]
add eax, 8
movzx ecx, word [ebp + esi*2 - 0x644]
mov edx, edi
cmp cx, dx
movzx ecx, cx
jae 0x102c0b3
movzx ecx, byte [ecx + 0x10046a0]
jmp 0x102c0c0
shr ecx, 8
movzx ecx, byte [ecx + 0x10046a0]
add ecx, 8
mov eax, dword [eax*4 + 0x1004658]
sub eax, dword [ecx*4 + 0x1004658]
cdq
xor eax, edx
sub eax, edx
add ebx, eax
inc esi
cmp esi, dword [ebp - 0xc9c]
jb 0x102c070
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01011f27
leave
ret 0x14
Function at 0x1031e81
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
push 0
push 0x10
push dword [ebp + 0xc]
mov dword [esi], 2
push dword [ebp + 8]
and dword [edi], 0
push 0x80000002
mov dword [ebp + 0x14], 4
call sub.ADVAPI32.dll_RegGetValueW
test eax, eax
jne 0x1031ed0
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x10]
ja 0x1031edb
inc eax
shl eax, cl
mov dword [edi], eax
and dword [esi], 0
jmp 0x1031edb
cmp eax, 2
jne 0x1031edf
mov dword [esi], 1
xor eax, eax
jmp 0x1031eed
test eax, eax
jle 0x1031eed
and eax, 0xffff
or eax, 0xc0070000
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x1000a0e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esi], 0
test edx, edx
jne 0x1000a0ff
xor al, al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push ecx
push 0x40
push edx
push eax
mov dword [esi + 4], edx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [esi + 0xc], al
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1000a130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push 0x40
push 1
push esi
mov edi, ecx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov cl, byte [esi]
mov byte [ebp - 5], cl
test eax, eax
je 0x1000a17e
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x1c]
call ebx
mov cl, byte [ebp - 5]
movzx eax, cl
sub eax, 0xe8
je 0x1000a201
sub eax, 1
je 0x1000a201
sub eax, 0x16
jne 0x1000a1f2
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
inc eax
mov dword [ecx], eax
call fcn.1000d2b0
add esp, 4
cmp al, 0x15
je 0x1000a1ab
cmp al, 0x25
jne 0x1000a1f2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0x40
add esi, 2
mov dword [ebp - 0x18], 4
push 4
push esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
setne byte [ebp - 0x10]
mov esi, dword [esi]
test eax, eax
je 0x1000a1e5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x1c]
call ebx
mov eax, dword [esi]
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push ecx
mov eax, esp
inc esi
mov dword [eax], esi
call fcn.1000d260
add esp, 4
add eax, 4
add eax, esi
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c6b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007951d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009b128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10009840
push 8
call fcn.10057514
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 1
call fcn.10054f97
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.1000d0f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov edx, dword [edx + 0x20]
call edx
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp + 0xb], al
call dword [edx + 8]
test eax, eax
je 0x1000c7d0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x1000c7ec
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.10009840
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000cd90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079560
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1009b128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10057514
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10054f97
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000d2a6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000d2b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov bl, byte [esi]
test eax, eax
je 0x1000d2f7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100116e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1009bb90], 0xffffffff
push esi
je 0x1001176c
mov ecx, dword [0x100cfa20]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov edx, 0x1869f
call fcn.100116a0
mov edx, dword [0x100cfa20]
add esp, 8
mov ecx, edx
mov dword [ebp - 4], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011720
push 0
lea eax, [ebp - 4]
sub ecx, esi
push eax
push ecx
push edx
push dword [0x1009bb90]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1001174e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1001176c
mov ecx, dword [0x100cfa20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011757
sub ecx, edx
cmp ecx, dword [ebp - 4]
jne 0x1001176c
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1009b128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1009bb90], 0xffffffff
je 0x100118ec
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10011950
mov edi, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x100117d6
cmp edi, dword [eax + 0x10]
jae 0x100118ec
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push 0x1869f
push dword [0x100cfa20]
call fcn.10008c00
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.1005eb3a
mov edx, dword [0x100cfa20]
add esp, 0x1c
mov ecx, edx
mov dword [ebp - 0x10], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011812
push 0
lea eax, [ebp - 0x10]
sub ecx, esi
push eax
push ecx
push edx
push dword [0x1009bb90]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10011844
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100118ec
mov ecx, dword [0x100cfa20]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011850
sub ecx, edx
cmp ecx, dword [ebp - 0x10]
jne 0x100118ec
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10011950
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x28], xmm0
cmp byte [eax + 0xd], 0
jne 0x10011886
cmp edi, dword [eax + 0x10]
jae 0x100118d9
cmp dword [0x100cf964], 0xccccccc
je 0x100118ff
mov esi, dword [0x100cf960]
mov dword [ebp - 0x18], 0x100cf960
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x14], 0
call fcn.10057514
add esp, 4
mov ecx, 0x100cf960
mov dword [eax + 0x10], edi
push eax
push dword [ebp - 0x24]
mov dword [eax], esi
push dword [ebp - 0x28]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.1000fc80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1000e720
int3
Function at 0x10011a50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov edx, esp
mov dword [ebp - 4], ecx
mov dword [edx], eax
call fcn.1000a130
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe9
test eax, eax
je 0x10011aaa
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
inc esi
push eax
push 0x40
push 4
sub edi, esi
mov dword [ebp - 0x14], 4
push esi
sub edi, 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
test eax, eax
je 0x10011aea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011b00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov edx, esp
mov dword [ebp - 4], ecx
mov dword [edx], eax
call fcn.1000a130
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe8
test eax, eax
je 0x10011b5a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
inc esi
push eax
push 0x40
push 4
sub edi, esi
mov dword [ebp - 0x14], 4
push esi
sub edi, 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
test eax, eax
je 0x10011b9a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
sub edi, esi
jne 0x10011bcf
mov byte [ebp - 8], 0
jmp 0x10011be9
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
push edi
push 0x90
push esi
call fcn.10059300
add esp, 0xc
cmp byte [ebp - 8], 0
je 0x10011c15
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10013150
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, ecx
movzx ecx, dx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ecx
cmp edx, 0x190
jge 0x10013177
mov word [esp + 0xc], cx
jmp 0x100131eb
mov esi, dword [0x100cf96c]
movzx eax, cx
mov dword [esp + 0x10], eax
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [esp + 0xc]
movzx eax, ax
shr eax, 8
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x15ae8]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1001c230
mov eax, dword [eax + 4]
test eax, eax
jne 0x100131c7
mov eax, dword [esi + 0x15aec]
cmp eax, dword [esi + 0x15aec]
je 0x100131e2
add eax, 0xc
mov ecx, edi
push eax
call fcn.10016cd0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov word [esp + 0xc], ax
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x12]
push eax
push ecx
mov ecx, edi
call fcn.10016d40
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015a70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x1009b128]
xor eax, esp
mov dword [esp + 0x1c], eax
push str.ModelVariations_Peds.ini
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10015ac0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10015ac0
push str.ModelVariations_Peds.ini
push str._n_s_not_found__n_n
call fcn.100116e0
add esp, 8
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100572f8
mov esp, ebp
pop ebp
ret
sub esp, 8
lea ecx, [esp + 0xc]
mov eax, esp
mov dword [eax], str.ModelVariations_Peds.ini
mov dword [eax + 4], 0x18
call fcn.100124c0
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x10015ae6
mov eax, dword [eax]
push eax
push str._n_ModelVariations_Peds.ini__n_n_s_n
call fcn.100116e0
mov edx, dword [esp + 0x20]
add esp, 8
cmp edx, 0x10
jb 0x10015b26
mov ecx, dword [esp + 4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015b1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015b35
push edx
push ecx
call fcn.10057549
add esp, 8
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100572f8
mov esp, ebp
pop ebp
ret
call fcn.10062aff
int3
Function at 0x10016640
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079f25
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009b128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
imul eax, edx, 0x1000193
push eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1001c230
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x1001679a
cmp dword [edi + 8], 0x71c71c7
je 0x100167b1
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
push 0x24
mov dword [ebp - 0x18], esi
call fcn.10057514
mov cx, word [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov word [esi + 8], cx
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov dword [ebp - 4], 3
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100905f0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100905f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x10016753
mov ecx, edi
call fcn.1001b510
push dword [ebp + 8]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001c230
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x10016756
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi + 4], ebx
mov dword [esi], edx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
mov ebx, dword [ebp - 0x10]
jne 0x10016787
mov dword [ecx + eax*8], esi
jmp 0x10016796
cmp edi, edx
jne 0x10016790
mov dword [ecx + eax*8], esi
jmp 0x1001679a
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001679a
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.10054dc0
int3