joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007f970
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
call fcn.1007ef50
movzx eax, byte [0x107d0780]
test eax, eax
jne 0x1007f98b
jmp 0x1007fb56
mov ecx, dword [0x107d0784]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
jne 0x1007f9a4
jmp 0x1007fb56
mov ecx, 0x103066f8
call fcn.1007f760
mov dword [ebp - 0x10], eax
movss xmm0, dword [0x101a07c8]
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 1
jmp 0x1007f9d7
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jge 0x1007fa7d
mov ecx, dword [0x1033d370]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [0x1033d370]
call dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007fa07
jmp 0x1007f9ce
mov ecx, dword [ebp - 4]
call fcn.10111020
movzx edx, al
test edx, edx
je 0x1007fa36
mov ecx, dword [ebp - 4]
add ecx, 8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x24]
call eax
movzx ecx, al
test ecx, ecx
jne 0x1007fa36
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jne 0x1007fa38
jmp 0x1007f9ce
mov ecx, dword [ebp - 0x10]
call fcn.1007fbc0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
call fcn.1007fbc0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.1007fb60
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x1007fa78
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x1007f9ce
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1007fa88
jmp 0x1007fb56
mov edx, dword [0x1033d370]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x1033d370]
call dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1007fab1
jmp 0x1007fb56
mov ecx, dword [ebp - 0x1c]
call fcn.1007fbc0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
call fcn.1007fbc0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.100995a0
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.1007c840
mov eax, dword [0x1033d36c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [0x1033d36c]
call dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x44]
push ecx
call fcn.10099770
add esp, 4
movss xmm0, dword [0x1013b4fc]
comiss xmm0, dword [ebp - 0x40]
jbe 0x1007fb38
mov edx, dword [ebp + 8]
movss xmm0, dword [0x101a07cc]
movss dword [edx + 0x28], xmm0
jmp 0x1007fb56
movss xmm0, dword [ebp - 0x40]
comiss xmm0, dword [0x1013b4fc]
jbe 0x1007fb56
mov eax, dword [ebp + 8]
movss xmm0, dword [0x101a07d0]
movss dword [eax + 0x28], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x10096230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov dword [ebp - 0x14], ecx
mov ecx, 0x103066f8
call fcn.1007f730
movzx eax, al
test eax, eax
jne 0x10096250
jmp 0x10096384
mov ecx, dword [0x107d08c8]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x100962c4
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x107cb044]
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jb 0x100962c4
ja 0x10096290
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jbe 0x100962c4
movzx ecx, byte [0x107d08c6]
test ecx, ecx
jne 0x100962a4
mov dword [ebp - 8], 1
jmp 0x100962ab
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [0x107d08c6], dl
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
add eax, 0x28a
mov dword [0x107cb044], eax
movzx eax, byte [0x107d08c6]
test eax, eax
je 0x100962f6
mov ecx, 0x103066f8
call fcn.1007f760
mov ecx, eax
call fcn.10111020
movzx ecx, al
test ecx, ecx
je 0x100962f6
mov edx, dword [0x107c97b4]
mov byte [edx + 0xad], 1
jmp 0x10096302
mov eax, dword [0x107c97b4]
mov byte [eax + 0xad], 0
xor ecx, ecx
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x30]
call fcn.1007c840
mov edx, dword [0x1033d36c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [0x1033d36c]
call dword [ebp - 0xc]
push ecx
movss xmm0, dword [0x107d08d0]
movss dword [esp], xmm0
lea ecx, [ebp - 1]
call fcn.100913f0
fstp dword [ebp - 0x28]
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x2c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
lea ecx, [ebp - 0x3c]
call fcn.1007c880
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x107c97b4]
add ecx, 0xb0
call fcn.1007cb80
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b1750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x100b1765
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b1880
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b1785
xor eax, eax
jmp 0x100b187a
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100b17c5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b17c5
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x100b17d9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x100b187a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x14]
push edx
call fcn.100b4660
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b1808
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x100b187a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, dword [ebp - 8]
je 0x100b1841
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.100b46b0
add esp, 4
xor eax, eax
jmp 0x100b187a
cmp dword [ebp + 0x14], 0
jle 0x100b185c
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x100b1877
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100b1b60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x101d89d8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b1bc1
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x100b1b7b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x100b1bd0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0x101d89d8
cmp dword [ebp + 0xc], 0
je 0x100b1c83
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x100b1c81
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
cmp eax, 0x23
jne 0x100b1c5e
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100b1c5e
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100b1c5e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx edx, byte [ebp - 2]
xor ecx, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
jmp 0x100b1bfb
jmp 0x100b1cf8
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 4]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x100b1cf8
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x100b1cd9
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100b1cd9
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100b1cd9
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x100b1c83
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x100bb2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x107cfe20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
xorps xmm0, xmm0
movss dword [ecx + 0x2c40], xmm0
cmp dword [ebp + 8], 0
jne 0x100bb2d4
jmp 0x100bb32a
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
call fcn.100bb330
add esp, 4
mov dword [ebp - 0x10], eax
push 0x101ce9cc
mov eax, dword [ebp + 8]
push eax
call fcn.100b1880
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100bb306
jmp 0x100bb32a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x100bfc60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011ac2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100a4110
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.100a4110
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.100a4110
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10081410
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0xc], xmm0
mov edx, 0x3f
mov eax, dword [ebp - 0x10]
mov word [eax + 0x42], dx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x18]
call fcn.100813e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x40], cx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x54], 0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x101a0748]
movss dword [ecx + 0x44], xmm0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [edx + 0x4c], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x48], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100bfd80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011ac61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.10081410
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10081410
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.100a4110
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.100a4110
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.100a4110
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x1c]
call fcn.100813e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x24]
call fcn.100813e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [ebp - 0x14], 0
jmp 0x100bfe9c
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
jge 0x100bfeb2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx*4 + 0x58], 0xffffffff
jmp 0x100bfe93
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100f0620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call fcn.100b0aa0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [0x107cfff8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x2c]
call fcn.100813e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x107d0000]
mov edx, dword [ebp - 0x20]
sbb edx, dword [0x107d0004]
call fcn.10117240
cvtsd2ss xmm0, xmm0
mov edx, dword [0x107d000c]
mov ecx, dword [0x107d0008]
movss dword [ebp - 0x1c], xmm0
call fcn.10117240
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebp - 0x1c]
divss xmm1, xmm0
mov edx, dword [ebp - 4]
movss dword [edx + 0x10], xmm1
mov eax, dword [ebp - 0x24]
mov dword [0x107d0000], eax
mov ecx, dword [ebp - 0x20]
mov dword [0x107d0004], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100f06f2
mov dword [ebp - 8], 1
jmp 0x100f06f9
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 8]
mov byte [eax + 0xf0], cl
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100f0721
mov dword [ebp - 0xc], 1
jmp 0x100f0728
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0xf1], cl
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100f0750
mov dword [ebp - 0x10], 1
jmp 0x100f0757
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x10]
mov byte [eax + 0xf2], cl
mov edx, dword [ebp - 4]
mov byte [edx + 0xf3], 0
call fcn.100f08b0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xa4]
test ecx, ecx
je 0x100f0789
mov dword [ebp - 0x14], 0xffffffff
jmp 0x100f0791
call fcn.100b0b20
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [0x10251058]
cmp eax, dword [ebp - 0x18]
je 0x100f07af
mov ecx, dword [ebp - 0x18]
mov dword [0x10251058], ecx
call fcn.100f07c0
mov esp, ebp
pop ebp
ret
Function at 0x100f8e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100f8e60
cmp dword [ebp - 4], 1
je 0x100f8e38
jmp 0x100f8e74
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x100f7d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
jmp 0x100f8e79
cmp dword [ebp + 0x10], 0
jne 0x100f8e6d
call fcn.100f83f0
jmp 0x100f8e79
mov eax, 1
jmp 0x100f8e79
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404d87
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x41f110
call fcn.00407dd0
push 1
call fcn.00407c3c
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x404c32
xor ebx, ebx
jmp 0x404c65
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x404c2e
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x404c2e
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x404c65
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.0040743a
test eax, eax
jne 0x404c79
push 0x1c
call fcn.00404d60
pop ecx
call fcn.004073a7
test eax, eax
jne 0x404c8a
push 0x10
call fcn.00404d60
pop ecx
call fcn.00407d25
and dword [ebp - 4], 0
call fcn.0040744f
test eax, eax
jns 0x404ca4
push 0x1b
call fcn.00404d60
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x4246a0], eax
call fcn.00407d65
mov dword [0x4222c4], eax
call fcn.00407703
test eax, eax
jns 0x404cca
push 8
call fcn.0040508d
pop ecx
call fcn.00407940
test eax, eax
jns 0x404cdb
push 9
call fcn.0040508d
pop ecx
push 1
call fcn.004050c7
pop ecx
test eax, eax
je 0x404cee
push eax
call fcn.0040508d
pop ecx
mov eax, dword [0x4222dc]
mov dword [0x4222f4], eax
push eax
push dword [0x4222d4]
push dword [0x4222cc]
call main
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x404d1c
push esi
call fcn.00405330
call fcn.004050b8
jmp 0x404d51
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00407e15
ret
call fcn.004b4000
jmp 0x404c0c
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x43e9a1
Capabilities:
Check for vm using instruction vpcext

Disassembly:
cmpsd dword [esi], dword es:[edi]
clc
sub eax, 0xf3dd7bee
mov dword [0x54d4d7a2], eax
and al, 0x42
and ah, ch
lcall 0x180b, 0xa9b1a33d
push edi
mov ecx, 0x68492a68
dec edx
fmul dword [eax - 0x3835050e]
inc esi
cwde
lds ecx, [esi + eax]
mov cl, 0xb0
call 0x78a4be4d
or al, 0x20
cmp eax, 0xa6c2b8cd
fimul dword [ebx + 0x37]
xor byte [ebp + 0x74], dl
jns 0x709b774a
imul edi, esi, 0x74
push 0x5626a846
xlatb
mov byte [edi + 0x7e], ah
and dword [esi + 0x2d1bc43e], ecx
push eax
invalid

Function at 0x6599ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6623a8
cmp edx, dword [eax]
je 0x6599cf
add eax, 8
inc ecx
cmp eax, 0x662438
jl 0x6599c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6623a8]
jne 0x659afd
mov eax, dword [0xa5dd10]
cmp eax, 1
je 0x659ad7
Function at 0x4209ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4209ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4209ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4209ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4209ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4209ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43318d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43318d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp loc.00401219