joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10067510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018b648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea edi, [esi + 4]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [esi + 0x20]
mov dword [ebp - 0x10], ecx
mov byte [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], 0x3f800000
mov dword [ecx + 0x14], 0xff000000
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], 0xffffffff
movups xmmword [ecx + 0x20], xmm0
mov dword [ecx + 0x30], 4
mov dword [ecx + 0x34], 0xf
mov dword [ecx + 0x20], 0x656e6f4e
mov byte [ecx + 0x24], 0
mov byte [ebp - 4], 3
mov al, byte [ebp + 8]
movss xmm0, dword [ebp + 0x18]
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov al, byte [ebp + 0x14]
mov byte [ecx + 0xc], al
mov al, byte [ebp + 0x15]
mov byte [ecx + 0xd], al
mov al, byte [ebp + 0x16]
mov byte [ecx + 0xe], al
mov al, byte [ebp + 0x17]
mov byte [ecx + 0xf], al
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x1c], eax
lea eax, [ebp + 0x28]
movss dword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
je 0x1006760e
cmp dword [ebp + 0x3c], 0x10
push dword [ebp + 0x38]
cmovae eax, dword [ebp + 0x28]
push eax
call fcn.10066d50
push 0x1024238c
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_hash]
mov dword [esi], eax
add esp, 4
lea eax, [ebp + 0x40]
cmp edi, eax
je 0x10067638
cmp dword [ebp + 0x54], 0x10
mov ecx, edi
push dword [ebp + 0x50]
cmovae eax, dword [ebp + 0x40]
push eax
call fcn.10066d50
mov eax, dword [0x1023d990]
mov dword [ebp - 0x10], esi
cmp eax, dword [0x1023d994]
je 0x10067653
mov dword [eax], esi
add dword [0x1023d990], 4
jmp 0x1006765d
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.10067fe0
mov al, byte [ebp + 0x58]
mov ecx, dword [ebp + 0x3c]
mov byte [esi + 0x1c], al
cmp ecx, 0x10
jb 0x10067693
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100676cb
push ecx
push edx
call fcn.10189b37
add esp, 8
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
cmp ecx, 0x10
jb 0x100676db
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100676d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100676d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10189b37
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x54
Function at 0x1006f630
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x1006f661
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10066c60
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1006f76c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x1006f6f1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1006f762
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1006f72b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1006f723
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x1006f75f
cmp edi, edx
je 0x1006f73c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1006f775
cmp edi, edx
jne 0x1006f730
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x1006f6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1006f75f
Function at 0x1006fa40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1006fb96
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.10189b37
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x1006faf9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1006fab7
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1006fb8c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1006fb0d
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x1006fb10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1006fb8c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.10189b37
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1006fb9d
cmp esi, eax
jne 0x1006fb67
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1006fb20
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1007e370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ba45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.1007eed0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1007e4d2
cmp dword [0x1023d8a4], 0xfffffff
jne 0x1007e3f0
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x1023d8a0
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.101897e8
mov dword [ebp - 0x18], eax
add esp, 4
lea ebx, [eax + 8]
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [ebx + 4], 0
mov dword [ebx + 4], 2
mov dword [ebp - 4], 1
mov eax, dword [0x1023d8a4]
mov esi, dword [0x1023d8b8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1022bcd0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x1022bcd0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x1023d89c]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1007e4c5
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.100682d0
call fcn.1018ab80
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x1007e4b0
cmp esi, 0x200
jae 0x1007e4ae
shl esi, 3
cmp esi, ecx
jae 0x1007e4b0
mov esi, ecx
push esi
call fcn.1007ecf0
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.1007eed0
mov ecx, dword [eax]
jmp 0x1007e4c8
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push edi
call fcn.1007ec80
mov ecx, dword [ebp - 0xc]
add eax, 0xc
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007e4f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1007e646
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x6c
push eax
call fcn.10189b37
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x1007e5a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1007e567
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1007e63c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1007e5bd
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x1007e5c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1007e63c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x6c
push eax
call fcn.10189b37
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1007e64d
cmp esi, eax
jne 0x1007e617
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1007e5d0
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1007ecf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1007ed1c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x1023d8a0]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1023d8a8
lea eax, [edi + edi]
push eax
call fcn.10066c60
mov eax, dword [0x1023d8a0]
lea ebx, [edi - 1]
mov dword [0x1023d8b4], ebx
mov dword [0x1023d8b8], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1007ee56
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x1023d8a8]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x1007edb4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1007ee21
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1007edee
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x1007ede6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x1007ee21
cmp ebx, edx
je 0x1007edfe
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1007ee32
cmp ebx, edx
jne 0x1007edf2
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x1007ee56
mov ebx, dword [0x1023d8b4]
jmp 0x1007ed62
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1007ee21
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007ef40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x138c
call fcn.1018ab50
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
mov dword [esp + 0xc], ebx
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [esp + 0x1394], 0xffffffff
mov esi, 1
mov dword [esp + 0x14], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [esp + esi*4 + 0x14], eax
inc esi
cmp esi, 0x270
jb 0x1007ef75
lea eax, [ebx - 0x80000000]
mov dword [esp + 0x10], 0x270
add ebx, 0x80000000
lea esi, [edi - 0x80000000]
cmp dword [esp + 0xc], 0x80000000
lea ecx, [esp + 0x10]
cmovae ebx, eax
cmp edi, 0x80000000
lea eax, [edi - 0x80000000]
cmovae esi, eax
sub esi, ebx
cmp esi, 0xffffffff
jne 0x1007efd9
call fcn.1007fb40
mov ecx, eax
jmp 0x1007f011
inc esi
call fcn.1007fb40
mul esi
mov dword [esp + 0xc], eax
mov ecx, edx
cmp eax, esi
jae 0x1007f011
mov eax, esi
xor edx, edx
neg eax
div esi
mov edi, edx
cmp dword [esp + 0xc], edi
jae 0x1007f011
nop dword [eax + eax]
lea ecx, [esp + 0x10]
call fcn.1007fb40
mul esi
mov ecx, edx
cmp eax, edi
jb 0x1007f000
add ecx, ebx
pop edi
cmp ecx, 0x80000000
pop esi
lea edx, [ecx - 0x80000000]
lea eax, [ecx - 0x80000000]
cmovae eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007fb40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1007fb9d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x1007fb60
mov eax, dword [esi]
jmp 0x1007fc77
cmp eax, 0x4e0
jb 0x1007fc77
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x1007fbb6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x1007fc00
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10081c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
movss xmm0, dword [0x1022b884]
lea eax, [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x1024144c
push esi
push edi
push eax
lea eax, [esp + 0x64]
mov byte [ebx + 0x1828], 0
push eax
movss dword [esp + 0x44], xmm0
call fcn.10082bb0
mov esi, dword [eax]
mov dword [esp + 0x58], esi
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], eax
cmp edx, eax
je 0x10081e31
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
dec ecx
and ecx, edx
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10243ea0]
push edi
movss xmm2, dword [eax + 0x1c]
call fcn.10080ad0
test al, al
je 0x10081e1e
xor esi, esi
lea eax, [edi + 0x10]
nop
mov ecx, dword [ebp + 0x10]
push eax
push esi
lea eax, [esp + 0x7c]
push eax
call fcn.100808a0
movss xmm0, dword [ebp + 0x28]
sub esp, 8
movss xmm3, dword [ebp + 0x20]
movss xmm2, dword [ebp + 0x24]
subss xmm0, dword [esp + 0x84]
subss xmm3, dword [esp + 0x7c]
subss xmm2, dword [esp + 0x80]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
mov dword [esp + 0x78], 0
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x5c], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.10080570
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fdivr dword [esp + 0x48]
fstp qword [esp + 0x48]
movsd xmm0, qword [esp + 0x48]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1022b7b8]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x54]
divss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x70], 0
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x1022b7b8]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm2
movss dword [esp + 0x6c], xmm1
jb 0x10081ddc
addss xmm1, dword [0x1022b8ec]
movss dword [esp + 0x6c], xmm1
lea edx, [esp + 0x68]
lea ecx, [ebp + 0x14]
call fcn.10080680
movss xmm1, dword [esp + 0x3c]
comiss xmm1, xmm0
movss dword [esp + 0x54], xmm0
jbe 0x10081e0d
push edi
mov ecx, ebx
call fcn.10083360
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x3c], xmm0
inc esi
lea eax, [edi + 0x10]
cmp esi, 0x12
jl 0x10081cd0
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x40], edx
cmp edx, dword [esp + 0x5c]
jne 0x10081ca5
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x24