joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005c2f0
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 0x1005c444
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], 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 - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.1006165a
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x1005c3a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1005c367
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1005c43a
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
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 - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1005c3bd
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x1005c3c0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1005c43a
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
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x18]
and eax, dword [ebx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.1006165a
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1005c44b
cmp esi, eax
jne 0x1005c415
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
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 - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1005c3d0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005c600
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006482a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x10075380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, ecx
mov esi, ecx
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, ecx
shr eax, 8
shr esi, 0x18
mov dword [ebp - 0x1c], eax
call fcn.1005c000
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x18], ecx
movzx ecx, cl
xor ecx, 0x811c9dc5
mov dword [ebp - 0x2c], edi
imul edx, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
movzx ecx, cl
xor edx, ecx
mov ecx, dword [ebp - 0x24]
imul edx, edx, 0x1000193
movzx ecx, cl
xor edx, ecx
mov ecx, edi
imul eax, edx, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1005cbb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1005c6c2
cmp eax, dword [edi + 4]
je 0x1005c6c2
mov eax, dword [eax + 0xc]
add eax, 4
jmp 0x1005c768
push 0x24
call fcn.1006130b
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi], xmm0
push 0x18
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi], 0x1006e118
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1006130b
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.1005c1f0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005d280
mov dword [eax], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100612fd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1005c790
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10075380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
call fcn.1005c000
mov ecx, ebx
mov dword [ebp - 8], ebx
shr ecx, 8
mov edi, eax
movzx edx, cl
mov eax, ebx
movzx ecx, bl
xor ecx, 0x811c9dc5
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1005cbb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1005c81c
cmp eax, dword [edi + 4]
je 0x1005c81c
mov eax, dword [eax + 0xc]
add eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100612fd
mov esp, ebp
pop ebp
ret
push 8
call fcn.1006130b
mov esi, eax
add esp, 4
xorps xmm0, xmm0
lea eax, [ebp - 8]
mov ecx, edi
movq qword [esi], xmm0
push eax
mov dword [esi], vtable.ValueContainer_class_cocos2d::CCSpriteBatchNode__.0
call fcn.1005d280
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
lea eax, [esi + 4]
pop esi
pop ebx
call fcn.100612fd
mov esp, ebp
pop ebp
ret
Function at 0x1005c860
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006488a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x10075380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, ecx
mov esi, ecx
shr eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, ecx
shr eax, 8
shr esi, 0x18
mov dword [ebp - 0x1c], eax
call fcn.1005c000
mov ecx, dword [ebp - 0x20]
mov edi, eax
mov dword [ebp - 0x18], ecx
movzx ecx, cl
xor ecx, 0x811c9dc5
mov dword [ebp - 0x2c], edi
imul edx, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
movzx ecx, cl
xor edx, ecx
mov ecx, dword [ebp - 0x24]
imul edx, edx, 0x1000193
movzx ecx, cl
xor edx, ecx
mov ecx, edi
imul eax, edx, 0x1000193
xor eax, esi
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1005cbb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1005c922
cmp eax, dword [edi + 4]
je 0x1005c922
mov eax, dword [eax + 0xc]
add eax, 4
jmp 0x1005c9c8
push 0x24
call fcn.1006130b
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi], xmm0
push 0x10
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi], vtable.ValueContainer_class_std::unordered_map_enum_gd::CustomColorMode__bool__struct_std::hash_enum_gd::CustomColorMode___struct_std::equal_to_enum_gd::CustomColorMode___class_std::allocator_struct_std::pair_enum_gd::CustomColorMode_const___bool____.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1006130b
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.1005c1f0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.1005d280
mov dword [eax], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100612fd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1005c9f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10075380]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov ebx, edx
call fcn.1005c000
mov ecx, ebx
mov dword [esp + 0x18], ebx
shr ecx, 8
mov edi, eax
movzx edx, cl
mov eax, ebx
movzx ecx, bl
xor ecx, 0x811c9dc5
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1005cbb0
mov eax, dword [eax + 4]
test eax, eax
je 0x1005ca84
cmp eax, dword [edi + 4]
je 0x1005ca84
mov eax, dword [eax + 0xc]
add eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.100612fd
mov esp, ebp
pop ebp
ret
push 8
call fcn.1006130b
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
xorps xmm0, xmm0
mov ecx, edi
push eax
lea eax, [esp + 0x14]
movq qword [esi], xmm0
push eax
mov dword [esi], vtable.ValueContainer_float_.0
call fcn.1005db40
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea eax, [esi + 4]
pop esi
pop ebx
xor ecx, esp
call fcn.100612fd
mov esp, ebp
pop ebp
ret
Function at 0x1005cc20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064915
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10075380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.1005cbb0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005ccaa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1005cdf5
cmp dword [ebx + 8], 0xfffffff
jne 0x1005ccbe
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.1006130b
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1006ea70]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1006ea70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1005cda8
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10063100
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005cd8a
cmp eax, 0x200
jae 0x1005cd88
shl eax, 3
cmp eax, ecx
jae 0x1005cd8a
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005d350
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1005cbb0
mov edx, dword [eax]
jmp 0x1005cdab
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1005cdd6
mov dword [ecx + eax*8], esi
jmp 0x1005cde8
cmp ebx, edx
jne 0x1005cddf
mov dword [ecx + eax*8], esi
jmp 0x1005cdec
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005cdec
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005d350
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1005d381
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 [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], 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.1005c1f0
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 0x1005d48c
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 - 0x10], edx
cmp edi, esi
jne 0x1005d411
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1005d482
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1005d44b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1005d443
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1005d47f
cmp edi, edx
je 0x1005d45c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1005d495
cmp edi, edx
jne 0x1005d450
mov ebx, dword [eax + 4]
mov dword [ebp - 4], 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 - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1005d3c0
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 - 4], 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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1005d47f
Function at 0x1005de30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
jbe 0x1005de5c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov ebx, dword [0x1007803c]
or eax, 1
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x10078044
lea eax, [esi + esi]
push eax
call fcn.1005c1f0
mov ecx, dword [0x1007803c]
lea edi, [esi - 1]
mov dword [0x10078050], edi
mov dword [0x10078054], esi
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x1005df88
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
mov edx, dword [0x10078044]
imul esi, esi, 0x1000193
and esi, edi
mov edi, dword [edx + esi*8]
lea ebx, [edx + esi*8]
mov dword [ebp - 4], ebx
cmp edi, dword [ebp - 8]
jne 0x1005def6
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x1005df5a
mov edx, dword [ebx + 4]
mov esi, dword [eax + 8]
cmp esi, dword [edx + 8]
jne 0x1005df2d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1005df28
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp - 4]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x1005df5a
cmp edi, edx
je 0x1005df3d
mov edx, dword [edx + 4]
cmp esi, dword [edx + 8]
je 0x1005df6c
cmp edi, edx
jne 0x1005df31
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp - 4]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov eax, ecx
cmp ecx, dword [ebp - 8]
je 0x1005df88
mov edi, dword [0x10078050]
jmp 0x1005dea3
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1005df5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005f0c0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10075380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1005f23c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1005f229
cmp dword [ebp - 0x28], 0x10
jb 0x1005f20d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10061de6
cmp dword [ebp - 0x1c], eax
jne 0x1005f20d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10061de6
cmp dword [ebp - 0x20], eax
je 0x1005f20d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1005f194
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x100776c4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10061de6
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1005f192
jmp 0x1005f229
jmp 0x1005f1ed
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1005f1ed
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x100776c4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10061de6
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1005f1d7
jmp 0x1005f229
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1005f113
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10061de6
push edx
mov ecx, ebp
push eax
lea edx, [0x1005f268]
call fcn.10061d92
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100612fd
add esp, 0x30
cmp ebp, esp
call fcn.10061de6
mov esp, ebp
pop ebp
ret
Function at 0x1005f280
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1005f0c0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1005f34b
mov dword [ebp - 4], 0
jmp 0x1005f2dc
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1005f34b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10061de6
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005f349
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10061de6
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1005eee0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10061de6
jmp 0x1005f2d3
pop esi
add esp, 8
cmp ebp, esp
call fcn.10061de6
mov esp, ebp
pop ebp
ret

Function at 0x1005f360
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1005f40b
mov dword [ebp - 4], 0
jmp 0x1005f393
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1005f3ee
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10061de6
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005f3ec
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10061de6
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10061de6
jmp 0x1005f38a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100776c4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10061de6
pop esi
add esp, 8
cmp ebp, esp
call fcn.10061de6
mov esp, ebp
pop ebp
ret