joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc2a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040507c
xor eax, eax
push ebp
push 0x4cc4c4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 4]
call fcn.004054bc
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.004cbdbc
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 4]
call fcn.00404e54
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.00409c48
mov eax, dword [ebp - 0x150]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [ebx + 0x18]
call fcn.00409c48
mov edx, dword [ebp - 0x154]
pop eax
call fcn.00404fd8
je 0x4cc48e
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 4]
call fcn.00404bf4
mov eax, ebx
call fcn.00422834
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x158]
mov ecx, 0x4cc4dc
mov edx, dword [ebx + 0x18]
call fcn.00404ed8
mov eax, dword [ebp - 0x158]
call fcn.0040508c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4cc488
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404e20
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, dword [ebx + 0x18]
call fcn.00404ed8
mov edx, dword [ebp - 0x15c]
mov eax, ebx
call fcn.004cc1ec
test al, al
je 0x4cc46d
mov eax, ebx
call fcn.004cc1cc
mov eax, ebx
call fcn.004228d8
mov edx, eax
dec edx
mov eax, ebx
call fcn.004cc1d8
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x20], edx
mov eax, ebx
call fcn.004228d8
mov edx, eax
dec edx
mov eax, ebx
call fcn.004cc1d8
push eax
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404e20
mov ecx, dword [ebp - 0x168]
lea eax, [ebp - 0x164]
mov edx, dword [ebx + 0x18]
call fcn.00404ed8
mov edx, dword [ebp - 0x164]
pop eax
call fcn.004cc6a4
mov eax, ebx
call fcn.004228d8
mov edx, eax
dec edx
mov eax, ebx
call fcn.004cc1d8
push esi
lea edi, [eax + 0x2c]
lea esi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
lea eax, [ebp - 0x144]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4cc3a9
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc4cb
lea eax, [ebp - 0x168]
mov edx, 7
call fcn.00404bc4
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 4]
call fcn.00404ba0
ret
Function at 0x4d5918
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4d5946
mov eax, ebx
call fcn.004d63bc
cmp dword [ebx + 0x3c], 0
je 0x4d593f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4d59b7
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4d59a9
cmp dword [ebx + 8], 0
je 0x4d5968
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4d597a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d59a9
cmp dword [ebx + 8], 0
je 0x4d595b
cmp eax, 3
je 0x4d598d
dec eax
jne 0x4d595b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d595b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4d595b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4d59d5
cmp dword [ebx + 0x10], 0xcc
je 0x4d59d5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d59e0
pop ebx
ret
Function at 0x4f21d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x18]
movaps xmm7, xmmword [ebx]
movaps xmm3, xmmword [ebx + 0x40]
movaps xmm4, xmmword [ebx + 0x10]
sub esp, 0x20
lea esi, [ecx + ecx]
add esi, esi
lea ebp, [ecx + ecx]
lea ebx, [ecx + ecx]
add ebx, ebx
sub ebx, ecx
add ebx, ebx
movlps xmm0, qword [eax]
movhps xmm0, qword [eax + ebp*8]
movlps xmm1, qword [eax + esi*8]
movhps xmm1, qword [eax + ebx*8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movlps qword [eax], xmm2
movhps qword [eax + ebp*8], xmm2
movaps xmm1, xmm0
movlhps xmm1, xmm1
shufps xmm0, xmm0, 0xbb
xorps xmm0, xmm7
addps xmm1, xmm0
movlps qword [eax + esi*8], xmm1
movhps qword [eax + ebx*8], xmm1
dec ecx
mov edi, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
lea ecx, [eax + 8]
movlps xmm0, qword [eax + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movlps xmm1, qword [eax + esi*8 + 8]
movhps xmm1, qword [eax + ebx*8 + 8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movlps qword [eax + 8], xmm2
movhps qword [eax + ebp*8 + 8], xmm2
movaps xmm1, xmm0
movlhps xmm1, xmm1
shufps xmm0, xmm0, 0xbb
xorps xmm0, xmm7
addps xmm1, xmm0
movaps xmm5, xmmword [edx]
movaps xmm6, xmmword [edx + 0x10]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0xb1
mulps xmm1, xmm5
mulps xmm0, xmm6
xorps xmm0, xmm7
addps xmm1, xmm0
movlps qword [eax + esi*8 + 8], xmm1
movhps qword [eax + ebx*8 + 8], xmm1
mov eax, ecx
add edx, 0x20
dec edi
jne 0x4f2244
mov dword [esp], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp]
lea edi, [ecx + 8]
mov dword [esp + 4], edi
movlps xmm0, qword [ecx + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movlps xmm1, qword [eax + esi*8 + 8]
movhps xmm1, qword [eax + ebx*8 + 8]
movaps xmm2, xmm0
subps xmm2, xmm1
addps xmm0, xmm1
movlps qword [ecx + 8], xmm0
movhps qword [eax + ebp*8 + 8], xmm0
movaps xmm1, xmm2
movlhps xmm1, xmm1
shufps xmm2, xmm2, 0xbb
xorps xmm2, xmm3
addps xmm1, xmm2
movaps xmm2, xmm1
shufps xmm2, xmm2, 0xb1
xorps xmm2, xmm3
addps xmm1, xmm2
mulps xmm1, xmm4
movlps qword [eax + ebx*8 + 8], xmm1
movhps qword [eax + esi*8 + 8], xmm1
add edx, 0xffffffe0
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov eax, edi
lea edi, [eax + 8]
movlps xmm0, qword [eax + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movlps xmm1, qword [eax + esi*8 + 8]
movhps xmm1, qword [eax + ebx*8 + 8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movlps qword [eax + 8], xmm2
movhps qword [eax + ebp*8 + 8], xmm2
movaps xmm1, xmm0
movlhps xmm1, xmm1
shufps xmm0, xmm0, 0xbb
xorps xmm0, xmm7
addps xmm1, xmm0
movaps xmm5, xmmword [edx + 0x10]
movaps xmm6, xmmword [edx]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0xb1
mulps xmm1, xmm5
mulps xmm0, xmm6
xorps xmm0, xmm7
addps xmm1, xmm0
movlps qword [eax + esi*8 + 8], xmm1
movhps qword [eax + ebx*8 + 8], xmm1
mov eax, edi
add edx, 0xffffffe0
dec ecx
jne 0x4f2321
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
pop ebp
ret 4
Function at 0x4f28b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x18]
movaps xmm5, xmmword [ebx + 0x50]
movaps xmm3, xmmword [ebx + 0x40]
movaps xmm4, xmmword [ebx + 0x10]
sub esp, 0x18
lea esi, [ecx + ecx]
add esi, esi
lea ebp, [ecx + ecx]
add ebp, ebp
sub ebp, ecx
add ebp, ebp
lea ebx, [ecx + ecx]
movlps xmm0, qword [eax + esi*8]
movhps xmm0, qword [eax + ebp*8]
movaps xmm1, xmm0
shufps xmm0, xmm0, 0x94
shufps xmm1, xmm1, 0x3e
xorps xmm1, xmm5
addps xmm0, xmm1
movlps xmm1, qword [eax]
movhps xmm1, qword [eax + ebx*8]
movaps xmm2, xmm1
subps xmm1, xmm0
addps xmm2, xmm0
movlps qword [eax], xmm2
movhps qword [eax + ebx*8], xmm2
movlps qword [eax + esi*8], xmm1
movhps qword [eax + ebp*8], xmm1
dec ecx
mov edi, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
mov ecx, eax
lea eax, [ecx + 8]
movlps xmm0, qword [ecx + esi*8 + 8]
movhps xmm0, qword [ecx + ebp*8 + 8]
movaps xmm1, xmm0
movaps xmm6, xmmword [edx]
movaps xmm7, xmmword [edx + 0x10]
mulps xmm0, xmm6
mulps xmm1, xmm7
shufps xmm1, xmm1, 0xb1
xorps xmm1, xmm3
addps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x3c
shufps xmm0, xmm0, 0x96
xorps xmm1, xmm5
addps xmm0, xmm1
movlps xmm1, qword [ecx + 8]
movhps xmm1, qword [ecx + ebx*8 + 8]
movaps xmm2, xmm1
subps xmm2, xmm0
addps xmm1, xmm0
movlps qword [ecx + 8], xmm1
movhps qword [ecx + ebx*8 + 8], xmm1
movlps qword [ecx + esi*8 + 8], xmm2
movhps qword [ecx + ebp*8 + 8], xmm2
add edx, 0x20
mov ecx, eax
dec edi
jne 0x4f2923
mov ecx, dword [esp]
lea edi, [eax + 8]
movlps xmm0, qword [eax + esi*8 + 8]
movhps xmm0, qword [eax + ebp*8 + 8]
movaps xmm1, xmm0
shufps xmm1, xmm1, 0xb1
xorps xmm1, xmm3
addps xmm0, xmm1
mulps xmm0, xmm4
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x49
shufps xmm0, xmm0, 0xe3
xorps xmm0, xmm5
subps xmm1, xmm0
movlps xmm0, qword [eax + ebx*8 + 8]
movhps xmm0, qword [eax + 8]
movaps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm1
movhps qword [eax + 8], xmm2
movlps qword [eax + ebx*8 + 8], xmm2
movhps qword [eax + esi*8 + 8], xmm0
movlps qword [eax + ebp*8 + 8], xmm0
add edx, 0xffffffe0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
lea eax, [edi + 8]
movlps xmm0, qword [edi + esi*8 + 8]
movhps xmm0, qword [edi + ebp*8 + 8]
movaps xmm1, xmm0
movaps xmm6, xmmword [edx + 0x10]
movaps xmm7, xmmword [edx]
mulps xmm0, xmm6
mulps xmm1, xmm7
shufps xmm1, xmm1, 0xb1
xorps xmm1, xmm3
addps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x3c
shufps xmm0, xmm0, 0x96
xorps xmm1, xmm5
addps xmm0, xmm1
movlps xmm1, qword [edi + 8]
movhps xmm1, qword [edi + ebx*8 + 8]
movaps xmm2, xmm1
subps xmm2, xmm0
addps xmm1, xmm0
movlps qword [edi + 8], xmm1
movhps qword [edi + ebx*8 + 8], xmm1
movlps qword [edi + esi*8 + 8], xmm2
movhps qword [edi + ebp*8 + 8], xmm2
add edx, 0xffffffe0
mov edi, eax
dec ecx
jne 0x4f29ed
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
pop ebp
ret 4
Function at 0x4fb3e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fb644
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4fb447
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004faeac
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040feb4
cmp al, 1
jne 0x4fb447
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004fb1c4
test al, al
je 0x4fb5d3
cmp dword [ebp - 8], 0
jge 0x4fb465
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004faeac
mov eax, dword [ebp - 0x210]
call fcn.00404e8c
cmp ebx, eax
jge 0x4fb4af
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004faeac
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x6e65dc]
and eax, 0xff
bt dword [edx], eax
jae 0x4fb4af
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4fb4c3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004fb3c0
cmp ebx, dword [ebp - 8]
je 0x4fb5c5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4fb4ef
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e78
and eax, 0x7f
movzx eax, word [eax*2 + 0x6da108]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4fb5b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e78
and eax, 0x7f
movzx eax, word [eax*2 + 0x6da108]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00473d08
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e78
and eax, 0x7f
movzx eax, word [eax*2 + 0x6da108]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00473d08
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb5b9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4fb626
cmp dword [ebp - 8], 0
jge 0x4fb5de
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004faeac
mov eax, dword [ebp - 0x218]
call fcn.00404e8c
cmp eax, dword [ebp - 8]
jg 0x4fb618
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004faeac
mov eax, dword [ebp - 0x21c]
call fcn.00404e8c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004fb3c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb64b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404bc4
ret
Function at 0x5072f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea ecx, [ebp - 4]
xor ebx, ebx
mov dword [ecx], ebx
test edx, edx
jle 0x50732c
mov bx, word [ecx]
and bx, 0xff
movzx esi, byte [eax]
xor bx, si
movzx ebx, bx
mov ebx, dword [ebx*4 + 0x6da114]
mov esi, dword [ecx]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov dword [ecx], ebx
inc eax
dec edx
jne 0x507301
mov eax, dword [ecx]
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x50e214
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x7259ac
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x50e236
shr eax, 1
xor eax, 0xedb88320
jmp 0x50e238
shr eax, 1
dec edx
jne 0x50e224
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x50e21d
mov byte [0x725dac], 1
pop esi
pop ebx
ret

Function at 0x50e254
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x725dac], 0
jne 0x50e26b
call fcn.0050e214
mov eax, edi
dec eax
test eax, eax
jl 0x50e294
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7259ac]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x50e275
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x510824
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x510855
dec al
je 0x510891
dec al
je 0x5108d5
dec al
je 0x510940
jmp 0x5109ca
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5109ca
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x510865
jmp 0x5109ca
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5109ca
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5108a1
jmp 0x5109ca
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5109ca
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x510903
xor ebp, ebp
jmp 0x510914
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x51091d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5108e5
jmp 0x5109ca
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5109ca
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x510998
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0050e29c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x510954
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x51b4ec
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x51b51c
cmp dword [esp + 4], 6
jb 0x51b51c
call fcn.0045c268
call fcn.0045c348
test al, al
je 0x51b51c
mov al, 1
jmp 0x51b51e
xor eax, eax
add esp, 0x94
ret

Function at 0x521440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x521486
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [eax], 0x5a4d
jne 0x52147c
lea edx, [eax + 0x3c]
movzx edx, word [edx]
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
je 0x52147c
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x521495
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x52157c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00521440
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x521617
mov eax, dword [esp + 4]
add eax, 0x80
mov edx, dword [eax]
add edx, edi
mov dword [esp + 8], edx
mov ebp, dword [eax]
add ebp, dword [eax + 4]
cmp dword [esp + 8], 0
je 0x521617
jmp 0x52160d
mov eax, dword [esp + 8]
mov ebx, dword [eax + 0x10]
cmp ebp, ebx
jb 0x521617
test ebx, ebx
je 0x521608
add ebx, edi
mov dword [esp + 0xc], ebx
jmp 0x5215ff
mov eax, dword [esp + 0xc]
cmp esi, dword [eax]
jne 0x5215fa
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x5215fa
mov eax, dword [esp + 0xc]
mov edx, dword [esp]
mov dword [eax], edx
add dword [esp + 0xc], 4
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x5215d2
add dword [esp + 8], 0x14
mov eax, dword [esp + 8]
cmp dword [eax + 0xc], 0
jne 0x5215bb
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5322b8
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov eax, dword [0x6e53c4]
mov eax, dword [eax]
call fcn.0048e558
mov byte [0x725ed4], 0
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
cmp byte [0x725ed4], 0
jne 0x5323b9
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, ebx
call fcn.00532544
mov eax, dword [0x6e53c4]
mov eax, dword [eax]
call fcn.0048e558
mov eax, dword [0x6e4210]
cmp byte [eax], 0
jne 0x53235e
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fild qword [esp + 0x18]
fild qword [esp + 0x10]
fdiv dword [0x5323f0]
fdivp st(1)
call fcn.0040310c
mov edi, eax
cmp edi, 0x28
jle 0x53234f
xor esi, esi
jmp 0x532356
mov esi, 0x28
sub esi, edi
test edi, edi
jge 0x532363
xor esi, esi
jmp 0x532363
mov esi, 0x64
push esi
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x6e3588]
cmp byte [eax], 1
jne 0x5323ac
call sub.kernel32.dll_GetTickCount_1
mov ebp, eax
cmp ebp, dword [ebx + 0x304]
jge 0x532388
mov dword [ebx + 0x304], ebp
sub ebp, dword [ebx + 0x304]
mov eax, dword [0x6e5b84]
imul eax, dword [eax], 0x3e8
cmp ebp, eax
jl 0x5323ac
mov byte [0x725ed4], 1
mov eax, dword [0x6e5df4]
mov byte [eax], 1
cmp byte [0x725ed4], 0
je 0x5322eb
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov ecx, dword [0x6e464c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [0x6e4748]
mov edx, dword [0x6e464c]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, ebx
call fcn.0048adbc
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57b698
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040507c
xor eax, eax
push ebp
push 0x57b814
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x8e0]
mov eax, dword [eax + 0x218]
sub eax, 1
jb 0x57b6d5
je 0x57b6e4
jmp 0x57b6f1
lea eax, [ebp - 0x10]
mov edx, 0x57b828
call fcn.00404c38
jmp 0x57b6f1
lea eax, [ebp - 0x10]
mov edx, 0x57b838
call fcn.00404c38
mov eax, dword [ebp - 4]
call fcn.00404e8c
test eax, eax
jle 0x57b76d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x57b844
mov edx, dword [ebp - 0x10]
call fcn.00404ed8
mov eax, dword [ebp - 0x14]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x57b76d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409c48
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x57b868
call fcn.00404ed8
mov eax, dword [ebp - 4]
call fcn.00404e8c
push eax
lea eax, [ebp - 4]
call fcn.004050e4
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x1c]
mov ecx, 0x57b874
mov edx, dword [ebp - 0x10]
call fcn.00404ed8
mov eax, dword [ebp - 0x1c]
call fcn.0040508c
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x57b7f1
mov eax, dword [ebp - 4]
call fcn.00404e8c
test eax, eax
jle 0x57b7ba
lea eax, [ebp - 0xc]
mov edx, 0x57b884
call fcn.00404c38
jmp 0x57b7c7
lea eax, [ebp - 0xc]
mov edx, 0x57b868
call fcn.00404c38
mov eax, dword [ebp - 0xc]
call fcn.00404e8c
push eax
lea eax, [ebp - 0xc]
call fcn.004050e4
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b81b
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404bc4
lea eax, [ebp - 4]
call fcn.00404ba0
ret