joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cce80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10391415
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.100cce10
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100ccf13
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 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 [edi + 8], 0xfffffff
je 0x100cd066
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.102fe3a6
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc ecx
mov eax, ebx
movss xmm3, dword [edi]
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1046f8a0]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1046f8a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x100cd008
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call fcn.1036b8f0
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.102ff0f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100ccfea
cmp ebx, 0x200
jae 0x100ccfe8
shl ebx, 3
cmp ebx, ecx
jae 0x100ccfea
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100cd2f0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100cce10
mov edx, dword [eax]
jmp 0x100cd00b
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x18]
jne 0x100cd036
mov dword [ecx + eax*8], esi
jmp 0x100cd045
cmp edi, edx
jne 0x100cd03f
mov dword [ecx + eax*8], esi
jmp 0x100cd049
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100cd049
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
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.102fca7f
int3
Function at 0x100cd180
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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
ja 0x100cd2d9
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
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.1006f6f0
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 0x100cd2ac
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 [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x100cd231
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100cd2a2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100cd26b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x100cd263
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 0x100cd29f
cmp edi, edx
je 0x100cd27c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100cd2b5
cmp edi, edx
jne 0x100cd270
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 0x100cd1e2
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 0x100cd29f
push str.invalid_hash_bucket_count
call fcn.102fca7f
int3
Function at 0x100cd2f0
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
ja 0x100cd449
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
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.10034480
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 0x100cd41c
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 [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x100cd3a1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100cd412
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100cd3db
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x100cd3d3
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 0x100cd40f
cmp edi, edx
je 0x100cd3ec
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100cd425
cmp edi, edx
jne 0x100cd3e0
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 0x100cd352
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 0x100cd40f
push str.invalid_hash_bucket_count
call fcn.102fca7f
int3
Function at 0x100d21c0
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 0x100d2221
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100d2204
cmp edi, 2
jb 0x100d2204
cmp byte [esi], cl
jne 0x100d2204
cmp byte [esi + 1], cl
jne 0x100d2204
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1045a3c0]
jmp 0x100d21d5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1045a3c0]
test edi, edi
jne 0x100d21d5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100d2250
cmp cl, 0x23
jne 0x100d2237
cmp byte [esi], cl
jne 0x100d2237
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 + 0x1045a3c0]
test cl, cl
jne 0x100d2228
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100d2370
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 0x100d2383
mov dword [ebx], 0
mov edx, 0x10464f30
call fcn.100d2260
mov esi, eax
test esi, esi
je 0x100d2460
push esi
call fcn.1035d4ff
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x100d2457
push 2
push 0
push esi
call fcn.1035c8c7
add esp, 0xc
test eax, eax
jne 0x100d2457
push esi
call fcn.1035d4ff
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100d2457
push 0
push dword [ebp + 8]
push esi
call fcn.1035c8c7
add esp, 0xc
test eax, eax
jne 0x100d2457
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100d23f6
inc dword [eax + 0x374]
push edi
call fcn.1036863d
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x100d2457
push esi
push edi
push 1
push eax
call fcn.1035c477
add esp, 0x10
push esi
cmp eax, edi
je 0x100d2441
call fcn.1035042f
mov eax, dword [0x1054ade8]
add esp, 4
test eax, eax
je 0x100d242f
dec dword [eax + 0x374]
push dword [ebp + 8]
call fcn.1035bfd5
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.1035042f
add esp, 4
test ebx, ebx
je 0x100d244f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.1035042f
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100d45f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xec]
mov eax, dword [ecx + 0xf4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1045a3c0]
sub edi, 1
jne 0x100d4610
mov ecx, dword [0x1054ade8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x100d4642
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x100d4651
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1049b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xec]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xf4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1045a3c0]
sub edi, 1
jne 0x100d46d4
mov eax, dword [0x1054ade8]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x100d4705
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x100d4714
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.102fe398
mov esp, ebp
pop ebp
ret 4
Function at 0x100d5050
Capabilities:
Hash data with crc32

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 0x10391923
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100d509a
inc dword [eax + 0x374]
push 0x3bc0
call fcn.1036863d
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100d50cd
push ecx
mov ecx, eax
call fcn.100d05d0
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x100d50d2
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1054ade8], 0
jne 0x100d50e9
mov eax, edi
mov dword [0x1054ade8], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov esi, 0x10464f99
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x100d5112
cmp byte [esi], al
jne 0x100d5112
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1045a3c0]
test al, al
jne 0x100d5104
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x100e1550
mov dword [ebp - 0x2c], 0x100e1580
mov esi, dword [edi + 0x2d78]
mov ecx, dword [edi + 0x2d7c]
mov dword [ebp - 0x28], 0x100e1630
cmp esi, ecx
jne 0x100d51ed
inc esi
test ecx, ecx
je 0x100d516c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100d5171
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100d51ed
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100d5189
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1036863d
mov edx, dword [edi + 0x2d80]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x100d51e1
mov ecx, dword [edi + 0x2d78]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1034c3a0
mov ecx, dword [edi + 0x2d80]
add esp, 0xc
test ecx, ecx
je 0x100d51d5
mov eax, dword [0x1054ade8]
test eax, eax
je 0x100d51d5
dec dword [eax + 0x374]
push ecx
call fcn.1035bfd5
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [edi + 0x2d80], eax
mov dword [edi + 0x2d7c], esi
mov eax, dword [edi + 0x2d78]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d80]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d78]
mov byte [edi], 1
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 0x100dc640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1054ade8]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19b0]
mov esi, 4
mov eax, dword [edi + 0xec]
add edi, 0xec
mov dword [ebp - 4], 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 + 0x1045a3c0]
sub esi, 1
jne 0x100dc672
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x100dc6b9
inc esi
test ecx, ecx
je 0x100dc6a7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100dc6ac
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100e1f80
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10110360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push edi
mov edi, ecx
mov esi, 1
nop dword [eax]
push esi
call ebx
movzx ecx, ax
mov eax, dword [edi]
lea eax, [eax + esi*2]
xchg word [eax], cx
inc esi
cmp esi, 0xff
jl 0x10110380
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x101103c9
mov eax, 0x3e8
cdq
idiv ecx
lea ecx, [esp + 0x10]
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.100c47e0
jmp 0x10110374
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0xf
mov dword [esp + 0x1c], 0
call fcn.100c47e0
jmp 0x10110374
Function at 0x10112cb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103931c5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1049b0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov ecx, 0x10528360
push eax
call fcn.1004ecb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112d00
sub ecx, esi
push ecx
push edx
mov ecx, 0x1054ae20
call fcn.100523a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x10112d34
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.10034640
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10528b30
push eax
call fcn.10061cd0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112d60
sub ecx, esi
push ecx
push edx
mov ecx, 0x1054ae38
call fcn.100523a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x10112d94
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.10034640
add esp, 0xc
cmp dword [0x1054ae34], 0xf
mov eax, 0x1054ae20
cmova eax, dword [0x1054ae20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x10112dc0
call esi
cmp eax, 2
jmp 0x10112dc2
test al, 0x10
jne 0x10112de0
cmp dword [0x1054ae34], 0xf
mov eax, 0x1054ae20
push 0
cmova eax, dword [0x1054ae20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x1054ae4c], 0xf
mov eax, 0x1054ae38
cmova eax, dword [0x1054ae38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10112e06
call esi
cmp eax, 2
jmp 0x10112e08
test al, 0x10
jne 0x10112e26
cmp dword [0x1054ae4c], 0xf
mov eax, 0x1054ae38
push 0
cmova eax, dword [0x1054ae38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102fe398
mov esp, ebp
pop ebp
ret
Function at 0x1012e780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea edi, [esi + 2]
je 0x1012e7f0
cmp byte [esi + 1], 0
jne 0x1012e837
xor ecx, ecx
mov byte [esi + 1], 1
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x3c]
xor ebx, dword [esi + 0x38]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x31
jb 0x1012e7b0
jmp 0x1012e837
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ebx, ecx
xor edx, edx
xor edx, dword [esi + 0x3c]
xor ebx, dword [esi + 0x38]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, eax
mov eax, ebx
shrd eax, edx, 7
xor al, byte [edi + ecx]
xor al, bl
mov byte [edi + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x31
jb 0x1012e7f6
push ecx
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x32]
push eax
push edi
call fcn.10053f20
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101325b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10397145
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x43800000
sub esp, 8
mov dword [ebp - 0x14], 0x42000000
push eax
push dword [ebp + 8]
call fcn.10132190
test al, al
je 0x1013264c
test byte [ebp + 0x10], 1
jne 0x1013264c
push 4
call fcn.102fe3a6
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [eax], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10132800
push 0
push 0
call fcn.1035cd90
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10132662
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.100c5900
cmp dword [ebp - 0x1c], 0
jne 0x1013265d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.1034f8e5
push 6
mov dword [ebp - 0x1c], 0
call fcn.102fc8ff
int3