joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101287e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov eax, ecx
push edi
mov dword [ebp - 0x18], esi
xor edx, edx
mov dword [ebp - 0x10], edx
test esi, esi
je 0x10128808
nop dword [eax]
cmp eax, esi
jae 0x10128987
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x10128987
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x1021c3f0]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1012883a
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x10128852
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x10128856
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10128862
mov ch, byte ds:[esi]
jmp 0x10128864
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x10128872
mov bl, byte [ebx]
jmp 0x10128874
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x10220470]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1021c3dc]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x10220484]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0x10ffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x10220498]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1012896b
xor edx, edx
mov esi, dword [ebp - 0x18]
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x101287f2
add eax, ebx
test esi, esi
je 0x1012897d
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
inc edx
jmp 0x101287f2
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101289a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ecx
lea eax, [edx - 1]
mov dword [ebp - 0xc], ebx
lea eax, [ebx + eax*4]
mov dword [ebp - 0x1c], eax
cmp ebx, eax
mov eax, dword [ebp + 8]
jae 0x10128b5f
push esi
mov esi, dword [ebp + 0xc]
push edi
nop dword [eax + eax]
test esi, esi
je 0x101289dc
cmp eax, esi
jae 0x10128b5a
mov bl, byte [eax]
mov byte [ebp - 3], bl
test bl, bl
je 0x10128b5a
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x1021c3f0]
test ecx, ecx
mov dword [ebp - 0x10], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x18], ebx
test esi, esi
jne 0x10128a0e
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x10128a23
mov bh, byte [esi]
jmp 0x10128a25
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 3], bh
cmp esi, edx
jae 0x10128a33
mov ch, byte [esi]
jmp 0x10128a35
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 2], ch
cmp esi, edx
jae 0x10128a43
mov bl, byte [esi]
jmp 0x10128a45
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp - 1], bl
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx*4 + 0x10220470]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0x10]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1021c3dc]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x10]
cmp esi, dword [ebx*4 + 0x10220484]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0x10ffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x10220498]
mov ebx, dword [ebp - 0x18]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10128b38
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp - 1], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 4], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x10128b3e
add eax, ebx
test esi, esi
je 0x10128b57
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
add ecx, 4
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x1c]
jb 0x101289d0
jmp 0x10128b5a
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
pop edi
pop esi
mov edx, dword [ebp + 0x10]
mov dword [ecx], 0
test edx, edx
je 0x10128b6e
mov dword [edx], eax
sub ecx, ebx
sar ecx, 2
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10128ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10128cf3
mov dword [edi], 0
mov edx, 0x1021c370
call fcn.10128ec0
mov esi, eax
test esi, esi
je 0x10128de8
push esi
call fcn.100c9743
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10128ddd
push 2
push 0
push esi
call fcn.100c8d67
add esp, 0xc
test eax, eax
jne 0x10128ddd
push esi
call fcn.100c9743
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10128ddd
push 0
push dword [ebp + 8]
push esi
call fcn.100c8d67
add esp, 0xc
test eax, eax
jne 0x10128ddd
mov eax, dword [0x10275fb4]
test eax, eax
je 0x10128d6e
inc dword [eax + 0x370]
push dword [0x10276054]
push ebx
call dword [0x1022ddd4]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x10128ddd
push esi
push ebx
push 1
push eax
call fcn.100c889c
add esp, 0x10
push esi
cmp eax, ebx
je 0x10128dc7
call fcn.100c5577
mov eax, dword [0x10275fb4]
add esp, 4
test eax, eax
je 0x10128dae
dec dword [eax + 0x370]
push dword [0x10276054]
push dword [ebp + 8]
call dword [0x10273440]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100c5577
add esp, 4
test edi, edi
je 0x10128dd5
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100c5577
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x10128fa0
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 0x10129006
mov cl, byte ds:[esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10128fe9
cmp edi, 2
jb 0x10128fe9
cmp byte [esi], cl
jne 0x10128fe9
cmp byte [esi + 1], cl
jne 0x10128fe9
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c530]
jmp 0x10128fb5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c530]
test edi, edi
jne 0x10128fb5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10129038
nop dword [eax]
cmp cl, 0x23
jne 0x1012901f
cmp byte [esi], cl
jne 0x1012901f
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 + 0x1021c530]
test cl, cl
jne 0x10129010
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1012aea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10275fb4]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1cac]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
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 + 0x1021c530]
sub esi, 1
jne 0x1012aed2
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x1012af19
inc ecx
test esi, esi
je 0x1012af07
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1012af0c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003ba40
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 0x10130040
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x5e6ea9af
push esi
push edi
mov edi, edx
xor esi, esi
mul ebx
mov ecx, 1
mov dword [ebp - 0xc], esi
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
sub edx, eax
mov dword [ebp - 4], edx
test ebx, ebx
je 0x10130187
xor ebx, ebx
cmp edx, 7
jbe 0x101300d9
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
add ebx, 8
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add edi, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add esi, ecx
cmp eax, edx
jb 0x10130088
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x10], 0
cmp ebx, eax
jae 0x1013014c
sub eax, ebx
cmp eax, 2
jb 0x10130138
mov edx, dword [ebp - 4]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov esi, ebx
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add ebx, ecx
add edi, 2
add ecx, eax
add esi, ecx
sub edx, 1
jne 0x10130106
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x10130144
movzx eax, byte [edi]
mov edx, dword [ebp - 8]
add ecx, eax
add esi, ecx
inc edi
jmp 0x10130147
movzx eax, byte [edi]
mov ebx, edx
add ecx, eax
add esi, ecx
inc edi
jmp 0x10130147
mov edx, dword [ebp - 8]
lea eax, [edx + ebx]
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, dword [ebp - 4]
add esi, eax
sub dword [ebp + 8], edx
mov edx, 0x15b0
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
jne 0x10130077
shl esi, 0x10
pop edi
lea eax, [ecx + esi]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101437c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10143801
mov eax, dword [0x10275fb4]
mov dword ds:[esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x101437ea
dec dword [eax + 0x370]
push dword [0x10276054]
push ecx
call dword [0x10273440]
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1014383c
mov eax, dword [0x10275fb4]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10143825
dec dword [eax + 0x370]
push dword [0x10276054]
push ecx
call dword [0x10273440]
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword ds:[esi + 0x20]
test ecx, ecx
je 0x10143878
mov eax, dword [0x10275fb4]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10143861
dec dword [eax + 0x370]
push dword [0x10276054]
push ecx
call dword [0x10273440]
add esp, 8
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 0x101438d0
mov eax, dword [0x10275fb4]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x101438b8
dec dword [eax + 0x370]
push dword [0x10276054]
push ecx
call dword [0x10273440]
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10143910
mov eax, dword [0x10275fb4]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x101438f4
dec dword [eax + 0x370]
push dword [0x10276054]
push ecx
call dword [0x10273440]
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10143950
mov eax, dword [0x10275fb4]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10143934
dec dword [eax + 0x370]
push dword [0x10276054]
push ecx
call dword [0x10273440]
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10145a00
Function at 0x10147800
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x10275fb4]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x10276078]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [0x10276080]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [0x10276084]
call fcn.10100d20
mov edx, dword [0x1027608c]
mov ecx, dword [0x10276088]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10100d20
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x10276084], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10276080], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
mov esi, dword [0x10275fb4]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x10147930
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 8], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x10276078]
call dword [sym.imp.USER32.dll_ClientToScreen]
nop
test eax, eax
je 0x10147930
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x101479ac
mov ecx, dword [0x10276078]
cmp eax, ecx
je 0x1014796a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x101479ac
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x101479ac
lea eax, [ebp - 0x18]
push eax
push dword [0x10276078]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x101479ac
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x101479ba
or eax, 0xffffffff
jmp 0x101479c5
mov eax, dword [0x10275fb4]
mov eax, dword [eax + 0x1f50]
cmp dword [0x1027344c], eax
je 0x101479d7
mov dword [0x1027344c], eax
call fcn.10147580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101749c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10276090]
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 - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [eax]
test eax, eax
jne 0x10174a10
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10174a31
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 0x10174a52
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10174a52
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10174a4c
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10174a52
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, ds:[ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
pop edi
mov byte [esi + 0x14], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10174aa0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10174af7
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10174ae6
push edi
mov eax, dword ds:[ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10174ada
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 0x10174ab1
pop edi
push dword [ebx]
push 0
push dword [0x10275fc0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10174b00
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
push 0
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 0x10174bf8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10174bf1
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10174bd7
call ebx
nop
cmp dword [ebp - 0x14], eax
jne 0x10174bd7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10174bd7
mov edx, dword [esi]
test edx, edx
jne 0x10174b99
push 0x200
push edx
push dword [0x10275fc0]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10174bf1
jmp 0x10174bc8
mov eax, dword ds:[esi + 4]
cmp dword [esi + 8], eax
jb 0x10174bc8
shl eax, 3
push eax
push edx
push 0
push dword [0x10275fc0]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10174bf1
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10174b57
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10174c37
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10174c37
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 0x10174c31
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10174d40
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10174c05
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101759e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10175a2d
stmxcsr dword ds:[ebp + 0xc]
mov eax, dword [ebp + 0xc]
or eax, 0x8000
mov dword [ebp + 0xc], eax
push 1
push 0
push 0
ldmxcsr dword [ebp + 0xc]
push dword [ebp + 8]
stmxcsr dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push 0x10175a40
or eax, 0x40
mov dword [ebp + 0xc], eax
push 0
push 0
ldmxcsr dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10187b20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
je 0x10187bfb
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x10187bfb
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
jne 0x10187bfb
mov eax, dword [eax + edx + 0x50]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 4], eax
cmp edx, eax
jae 0x10187bfb
mov ecx, 0x3f3f
mov al, byte [esi]
mov byte [ebp + 0xb], al
cmp al, 0x3f
je 0x10187bc6
movzx ecx, al
sub al, 0x30
cmp al, 9
ja 0x10187b8b
add ecx, 0xffffffd0
jmp 0x10187b91
and ecx, 0xffffffdf
sub ecx, 0x37
mov al, byte [esi + 1]
movzx edi, al
sub al, 0x30
cmp al, 9
ja 0x10187ba2
add edi, 0xffffffd0
jmp 0x10187ba8
and edi, 0xffffffdf
sub edi, 0x37
movzx eax, byte [edx]
shl ecx, 4
or ecx, edi
cmp eax, ecx
mov ecx, 0x3f3f
je 0x10187bc6
test ebx, ebx
je 0x10187bf1
mov esi, dword [ebp + 0xc]
mov edx, ebx
xor ebx, ebx
jmp 0x10187bf1
test ebx, ebx
mov eax, edx
cmovne eax, ebx
cmp byte [esi + 2], 0
mov ebx, eax
je 0x10187c06
cmp word [esi], cx
je 0x10187be5
cmp byte [ebp + 0xb], 0x3f
mov eax, 2
je 0x10187bea
mov eax, 3
add esi, eax
cmp byte [esi], 0
je 0x10187c06
inc edx
cmp edx, dword [ebp - 4]
jb 0x10187b74
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4039dd
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4039fb
mov eax, 0x4c8201
push eax
push 1
mov ebx, 0x194
call fcn.004ab5c0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403a25
mov eax, 0
jmp 0x403a99
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x403a86
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x403a6f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x403a5e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x403a4f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x41177e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x4fcb11]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4117c1
push 0x19
push 0x401a435
push 6
call fcn.004aa009
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4117f7
push ebx
call fcn.004aa003
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4c84af]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.00401d32
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x411845
push 0x88
push 0x401a435
push 6
call fcn.004aa009
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x411861
push eax
mov ebx, eax
call fcn.00401188
inc eax
push eax
call fcn.004a9ffd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x411866
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x411877
push ebx
call fcn.004aa003
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4