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

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 0x100bb1e1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100fc068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10025d20
add edi, 0x1158
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
lea esi, [edi + 0xc]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
push 0x2c
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100905e6
add esp, 4
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], 3
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push ecx
call fcn.100312f0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 5
call fcn.1002b160
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [edi + 0xd0], xmm0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0xf
mov byte [edi + 0xd0], 0
lea eax, [esi + 0x1271]
movups xmmword [edi + 0xe8], xmm0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0xf
mov byte [edi + 0xe8], 0
movups xmmword [esi + 0x1258], xmm0
push 0x3ff
mov dword [esi + 0x1268], 0
mov dword [esi + 0x126c], 0xf
push 0
mov byte [esi + 0x1258], 0
push eax
mov byte [esi + 0x1270], 0
call fcn.10093c30
mov byte [esi + 0x1670], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x1674], xmm0
mov dword [esi + 0x1684], 0
add esp, 0xc
mov dword [esi + 0x1688], 0xf
mov byte [esi + 0x1674], 0
mov byte [esi + 0x168c], 0
mov dword [esi + 0x1690], 0
mov dword [esi + 0x1694], 0
mov dword [esi + 0x1698], 0
mov dword [esi + 0x169c], 0
mov dword [esi + 0x16a0], 1
mov byte [esi + 0x16a4], 0
movups xmmword [esi + 0x16a8], xmm0
mov dword [esi + 0x16b8], 0
mov dword [esi + 0x16bc], 0xf
mov byte [esi + 0x16a8], 0
movups xmmword [esi + 0x16c0], xmm0
mov dword [esi + 0x16d0], 0
lea ecx, [esi + 0x1710]
mov dword [esi + 0x16d4], 0xf
mov byte [esi + 0x16c0], 0
mov word [esi + 0x16d8], 0
mov dword [esi + 0x16dc], 0
movups xmmword [esi + 0x16e0], xmm0
mov dword [esi + 0x16f0], 0
mov dword [esi + 0x16f4], 0xf
mov byte [esi + 0x16e0], 0
movups xmmword [esi + 0x16f8], xmm0
mov dword [esi + 0x1708], 0
mov dword [esi + 0x170c], 0xf
mov byte [esi + 0x16f8], 0
call fcn.1002b2e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1002f5c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb4ed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100fc068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea edi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, 0x811c9dc5
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1002f621
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002f610
mov ebx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1001e750
mov eax, dword [eax + 4]
test eax, eax
je 0x1002f644
cmp eax, dword [ebx + 4]
je 0x1002f644
xor bl, bl
jmp 0x1002f68f
mov ecx, dword [ebx + 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x20]
imul ecx
lea eax, [ebp + 8]
mov ecx, ebx
sar edx, 2
mov esi, edx
shr esi, 0x1f
push eax
add esi, edx
call fcn.10030580
lea ecx, [ebp + 8]
push ecx
mov dword [eax], esi
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebx + 0x28]
je 0x1002f681
mov ecx, eax
call fcn.10017440
add dword [ebx + 0x24], 0x18
jmp 0x1002f68a
push eax
lea ecx, [ebx + 0x20]
call fcn.100364b0
mov esi, dword [ebp + 8]
mov bl, 1
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x1002f6be
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002f6b4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f6d4
push ecx
push esi
call fcn.10090935
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.1009f4b4
int3
Function at 0x10032ee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb765
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100fc068]
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], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x14], edx
jb 0x10032f24
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10032f48
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10032f33
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1001e750
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10032f78
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 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 8
cmp dword [ebx + 8], 0x71c71c7
je 0x100330b1
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.100905e6
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.10017440
mov dword [edi + 0x20], 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 + 0x100f1d50]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100f1d50]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x10033053
divss xmm0, xmm3
call fcn.100017c0
call fcn.100b7450
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10033037
cmp eax, 0x200
jae 0x10033035
shl eax, 3
cmp eax, ecx
jae 0x10033037
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10031610
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001e750
mov edx, dword [eax]
jmp 0x10033056
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1003307e
mov dword [ecx + eax*8], edi
jmp 0x10033090
cmp esi, edx
jne 0x10033087
mov dword [ecx + eax*8], edi
jmp 0x10033094
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10033094
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.1008eff0
int3
Function at 0x100366c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100366f1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100366e0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x100424c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb765
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100fc068]
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], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x14], edx
jb 0x10042504
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10042528
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10042513
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1001e750
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10042558
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 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 8
cmp dword [ebx + 8], 0x71c71c7
je 0x10042693
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.100905e6
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.10017440
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
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 + 0x100f1d50]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100f1d50]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x10042635
divss xmm0, xmm3
call fcn.100017c0
call fcn.100b7450
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10042619
cmp eax, 0x200
jae 0x10042617
shl eax, 3
cmp eax, ecx
jae 0x10042619
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10031610
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001e750
mov edx, dword [eax]
jmp 0x10042638
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x10042660
mov dword [ecx + eax*8], edi
jmp 0x10042672
cmp esi, edx
jne 0x10042669
mov dword [ecx + eax*8], edi
jmp 0x10042676
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10042676
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.1008eff0
int3
Function at 0x10044dc0
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 0x10044e21
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10044e04
cmp edi, 2
jb 0x10044e04
cmp byte [esi], cl
jne 0x10044e04
cmp byte [esi + 1], cl
jne 0x10044e04
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100e9d98]
jmp 0x10044dd5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100e9d98]
test edi, edi
jne 0x10044dd5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10044e50
cmp cl, 0x23
jne 0x10044e37
cmp byte [esi], cl
jne 0x10044e37
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 + 0x100e9d98]
test cl, cl
jne 0x10044e28
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10044f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10044f73
mov dword [ebx], 0
mov edx, 0x100cb004
call fcn.10044e60
mov esi, eax
test esi, esi
je 0x10045050
push esi
call fcn.100a162a
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10045047
push 2
push 0
push esi
call fcn.1009f2dd
add esp, 0xc
test eax, eax
jne 0x10045047
push esi
call fcn.100a162a
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10045047
push 0
push dword [ebp + 8]
push esi
call fcn.1009f2dd
add esp, 0xc
test eax, eax
jne 0x10045047
mov eax, dword [0x10104934]
test eax, eax
je 0x10044fe6
inc dword [eax + 0xb0]
push edi
call fcn.100a0f9c
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10045047
push esi
push edi
push 1
push eax
call fcn.1009a754
add esp, 0x10
push esi
cmp eax, edi
je 0x10045031
call fcn.10095e64
mov eax, dword [0x10104934]
add esp, 4
test eax, eax
je 0x1004501f
dec dword [eax + 0xb0]
push dword [ebp + 8]
call fcn.1009a35e
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10095e64
add esp, 4
test ebx, ebx
je 0x1004503f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.10095e64
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10047fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100fc068]
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 + 0xe4]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xe8]
subss xmm0, xmm1
mov ecx, dword [edx + 0xc8]
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 + 0xd0]
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 + 0x100e9d98]
sub edi, 1
jne 0x10048060
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.100902f6
mov esp, ebp
pop ebp
ret 4
Function at 0x10052670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10104934]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e28]
mov esi, 4
mov eax, dword [edi + 0xc8]
add edi, 0xc8
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 + 0x100e9d98]
sub esi, 1
jne 0x100526b1
mov eax, dword [0x10104934]
not ebx
cmp dword [eax + 0x3e48], ebx
jne 0x100526eb
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.10059fc0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x10052716
inc esi
test ecx, ecx
je 0x10052704
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10052709
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1005a730
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.100902f6
mov esp, ebp
pop ebp
ret

Function at 0x10052740
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10104934]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e28]
mov esi, 4
mov eax, dword [edi + 0xc8]
add edi, 0xc8
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 + 0x100e9d98]
sub esi, 1
jne 0x10052781
mov eax, dword [0x10104934]
not ebx
cmp dword [eax + 0x3e48], ebx
jne 0x100527bb
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10059fc0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x100527e6
inc esi
test ecx, ecx
je 0x100527d4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100527d9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1005a730
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.100902f6
mov esp, ebp
pop ebp
ret
Function at 0x10058ce0
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 + 0x5a24], 0
lea esi, [edi + 0x5a28]
je 0x10058d61
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10058d1c
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.1005ab60
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10045490
mov edx, dword [esi]
mov ecx, 0x100ffacd
push dword [edi + 0x5a24]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a30]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.100990a0
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.10045490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100628f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10062926
mov eax, dword [0x10104934]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10062916
dec dword [eax + 0xb0]
push ecx
call fcn.1009a35e
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1006295a
mov eax, dword [0x10104934]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1006294a
dec dword [eax + 0xb0]
push ecx
call fcn.1009a35e
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1006298e
mov eax, dword [0x10104934]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1006297e
dec dword [eax + 0xb0]
push ecx
call fcn.1009a35e
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100629de
mov eax, dword [0x10104934]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x100629ce
dec dword [eax + 0xb0]
push ecx
call fcn.1009a35e
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10062a12
mov eax, dword [0x10104934]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10062a02
dec dword [eax + 0xb0]
push ecx
call fcn.1009a35e
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10062a46
mov eax, dword [0x10104934]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10062a36
dec dword [eax + 0xb0]
push ecx
call fcn.1009a35e
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10065330
Function at 0x1008e2f9
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x1008e404
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1008e3fd
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x1008e3c1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1008e3c1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1008e3c1
mov edx, dword [esi]
test edx, edx
jne 0x1008e38a
push 0x200
push edx
push dword [0x10104944]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1008e3e6
lea ebx, [esi + 8]
jmp 0x1008e3b4
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x1008e3b4
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10104944]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1008e415
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1008e342
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1008e3fd
xor edi, edi
cmp dword [esi], edi
je 0x1008e3fd
push dword [esi]
push edi
push dword [0x10104944]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100902f6
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x1008e3e6

Function at 0x1008e41a
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1008e2f9
test eax, eax
jne 0x1008e43e
push 9
pop esi
jmp 0x1008e485
cmp dword [edi], esi
je 0x1008e485
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x1008e484
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x1008e47e
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.1008e1a6
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x1008e44a
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret