joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100296a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x100296cc
jl 0x100296c0
test ecx, ecx
jne 0x100296cc
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x100296e5
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x10029733
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x10029739
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x10029739
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x100297a6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10029762
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x10029794
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100297a6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10029770
test edi, edi
je 0x100297a6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10029b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10029b60
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10029b9c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10029b9c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10029c73
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10029bc4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10029bd0
movsx eax, bl
jmp 0x10029c08
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10029c32
sub eax, 1
je 0x10029c32
sub eax, 2
jne 0x10029c73
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10029c50
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10029c73
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fe801
mov esp, ebp
pop ebp
ret 4
Function at 0x1002ba40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002bafc
cmp byte [esi + 0x3d], 0
je 0x1002bafc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002baea
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002bab1
sub eax, 1
je 0x1002bab5
sub eax, 2
jne 0x1002baea
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002bad3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002baea
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100fe801
mov esp, ebp
pop ebp
ret
Function at 0x1002d3a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x101ad8fc]
mov dword [ebp - 0x4c], edx
push edi
mov edi, ecx
test esi, esi
je 0x1002d3c6
mov esi, dword [esi + 0x78]
jmp 0x1002d3c8
xor esi, esi
push 0xbe2
call dword [0x101ad7d0]
push 0x8006
call dword [0x101ad780]
push 0x303
push 1
push 0x303
push 0x302
call dword [0x101ad788]
push 0xb44
call dword [0x101ad7c0]
push 0xb71
call dword [0x101ad7c0]
push 0xb90
call dword [0x101ad7c0]
push 0xc11
call dword [0x101ad7d0]
cmp dword [esi], 0x136
jb 0x1002d434
push 0x8f9d
call dword [0x101ad7c0]
push ebx
push 0x1b02
push 0x408
call dword [0x101ad824]
cmp byte [esi + 0x50], 0
mov bl, 1
je 0x1002d472
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x935c
call dword [0x101ad7f0]
xor eax, eax
movzx ebx, bl
cmp dword [ebp - 0x48], 0x8ca2
cmove ebx, eax
push dword [ebp + 8]
push dword [ebp - 0x4c]
push 0
push 0
call dword [0x101ad84c]
movss xmm6, dword [edi + 0x14]
test bl, bl
movss xmm4, dword [edi + 0x18]
movaps xmm5, xmm6
addss xmm5, dword [edi + 0x1c]
movaps xmm3, xmm4
addss xmm3, dword [edi + 0x20]
pop ebx
jne 0x1002d4aa
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm2, dword [0x10173378]
movaps xmm1, xmm5
subss xmm1, xmm6
mov dword [ebp - 0x1c], 0xbf800000
movaps xmm0, xmm2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x3f800000
divss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movaps xmm0, xmm5
movss dword [ebp - 0x30], xmm2
addss xmm0, xmm6
subss xmm6, xmm5
divss xmm0, xmm6
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm3
addss xmm0, xmm4
subss xmm3, xmm4
divss xmm0, xmm3
movss dword [ebp - 0x10], xmm0
push dword [esi + 0x28]
call dword [0x101ad844]
push 0
push dword [esi + 0x2c]
call dword [0x101ad83c]
lea eax, [ebp - 0x44]
push eax
push 0
push 1
push dword [esi + 0x30]
call dword [0x101ad840]
cmp dword [esi], 0x14a
jb 0x1002d55e
push 0
push 0
call dword [0x101ad774]
push dword [ebp + 0xc]
call dword [0x101ad77c]
push dword [esi + 0x40]
push 0x8892
call dword [0x101ad770]
push dword [esi + 0x44]
push 0x8893
call dword [0x101ad770]
push dword [esi + 0x34]
call dword [0x101ad7d4]
push dword [esi + 0x38]
call dword [0x101ad7d4]
push dword [esi + 0x3c]
call dword [0x101ad7d4]
push 0
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x34]
call dword [0x101ad848]
push 8
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x38]
call dword [0x101ad848]
push 0x10
push 0x14
push 1
push 0x1401
push 4
push dword [esi + 0x3c]
call dword [0x101ad848]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100fe801
mov esp, ebp
pop ebp
ret
Function at 0x100486b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10048711
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100486f4
cmp edi, 2
jb 0x100486f4
cmp byte [esi], cl
jne 0x100486f4
cmp byte [esi + 1], cl
jne 0x100486f4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10115748]
jmp 0x100486c5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10115748]
test edi, edi
jne 0x100486c5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10048740
cmp cl, 0x23
jne 0x10048727
cmp byte [esi], cl
jne 0x10048727
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10115748]
test cl, cl
jne 0x10048718
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10048850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10048864
mov dword [ebx], 0
mov edx, 0x10171110
call fcn.10048750
mov esi, eax
test esi, esi
je 0x10048952
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10048948
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10048948
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10048948
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10048948
mov eax, dword [0x101ad8fc]
test eax, eax
je 0x100488dc
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10048948
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1004892d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x101ad8fc]
add esp, 4
test eax, eax
je 0x1004891a
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1004893f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004b2a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0xfc]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x100]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe0]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xe8]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10115748]
sub edi, 1
jne 0x1004b320
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.100fe801
mov esp, ebp
pop ebp
ret 4
Function at 0x1004e920
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1004e95d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1004e943
cmp byte [esi], bl
jne 0x1004e943
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10115748]
test bl, bl
jne 0x1004e934
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1004e8c0
Function at 0x10054300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101ad8fc]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e28]
mov esi, 4
mov eax, dword [edi + 0xe0]
add edi, 0xe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10115748]
sub esi, 1
jne 0x10054341
mov eax, dword [0x101ad8fc]
not ebx
cmp dword [eax + 0x3e5c], ebx
jne 0x1005437b
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1005e000
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x100543a6
inc esi
test ecx, ecx
je 0x10054394
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10054399
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1005e830
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fe801
mov esp, ebp
pop ebp
ret
Function at 0x1005cc20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5a58], 0
lea esi, [edi + 0x5a5c]
je 0x1005cca2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005cc5c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002e0f0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10048fe0
mov edx, dword [esi]
mov ecx, 0x101ad73f
push dword [edi + 0x5a58]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a64]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10048fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005d160
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x101ad8fc]
test bl, bl
je 0x1005d1a6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1005d187
cmp byte [esi], bl
jne 0x1005d187
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10115748]
test bl, bl
jne 0x1005d178
mov edi, dword [0x101ad8fc]
mov esi, dword [edi + 0x5a00]
xor ecx, ecx
not eax
test esi, esi
jle 0x1005d1cc
mov edi, dword [edi + 0x5a08]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x1005d1d2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x1005d1c0
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x1008a910
Capabilities:
Hash data with crc32

Disassembly:
push ecx
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov edi, edx
je 0x1008a982
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x1008a958
or edi, 0xffffffff
nop
cmp cl, 0x23
jne 0x1008a93f
cmp byte [esi], cl
jne 0x1008a93f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10115748]
test cl, cl
jne 0x1008a930
mov ecx, dword [0x101ad8fc]
not eax
cmp dword [ecx + 0x3e74], eax
jne 0x1008a96e
mov dword [ecx + 0x3e78], eax
cmp dword [ecx + 0x3e9c], eax
jne 0x1008a9c7
mov byte [ecx + 0x3ea0], 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov esi, dword [0x101ad8fc]
xor edx, edx
mov eax, dword [esi + 0x3e28]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100486b0
mov ebx, eax
add esp, 4
cmp dword [esi + 0x3e5c], ebx
jne 0x1008a9c5
push ecx
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.1005e000
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10091cc0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
xor ebx, ebx
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10091e3c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10091dd7
mov ebx, 1
cmp dword [ebp - 0x20], 0x10
jb 0x10091d9a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10091d9a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10091d9a
mov edx, dword [esi]
test edx, edx
jne 0x10091d66
push 0x200
push edx
push dword [0x101ad908]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10091dbf
jmp 0x10091d8e
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10091d8e
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x101ad908]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10091dbf
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10091d21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10091dd7
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10091dd7
push eax
push ebx
push dword [0x101ad908]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10091e3c
cmp dword [esi], 0
je 0x10091e29
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10091e29
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10091e23
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10091b50
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10091df0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fe801
mov esp, ebp
pop ebp
ret
Function at 0x10091e60
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10091eac
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10091e9b
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10091e94
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10091e71
pop edi
push dword [ebx]
push 0
push dword [0x101ad908]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret

Function at 0x10091eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x101ae6f0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10091f11
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10091f32
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10091f53
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10091f53
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10091f4d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10091f53
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.100fe801
mov esp, ebp
pop ebp
ret
Function at 0x10091fb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x101ae6f8]
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
test edx, edx
je 0x10091fe4
mov eax, dword [0x101ae6f0]
add eax, 0x14
nop
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10091fec
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x10091fd0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 0xffffffff
je 0x100920a2
test ebx, ebx
lea ecx, [ebp - 0x10]
setne al
or edx, 0xffffffff
push eax
call fcn.10091cc0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x100920a2
mov ecx, dword [0x101ae6f8]
push edi
cmp esi, ecx
jae 0x1009205a
imul edi, esi, 0x2c
mov eax, dword [0x101ae6f0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x1009204f
mov edx, ebx
mov ecx, esi
call fcn.10091eb0
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009205a
mov ecx, dword [0x101ae6f8]
jmp 0x10092052
mov eax, dword [ebp - 4]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10092024
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100920a1
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1009208f
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10092089
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10092068
push ebx
push 0
push dword [0x101ad908]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret