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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452f37
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x452f2d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x452e0c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x452e0c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x452e1f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x452f02
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x452ef4
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x452eeb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x452e76
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x452ebf
mov eax, 1
cmp eax, ecx
ja 0x452ead
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.004658a0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x452ee6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x452eb2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x452e7b
call fcn.00465840
xor eax, eax
mov ecx, eax
call fcn.00465830
call fcn.004658a0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x452f28
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x452ef9
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x452e24
call fcn.00465840
xor eax, eax
mov ecx, eax
call fcn.00465830
nop
call fcn.004643a0
jmp fcn.00452db0
Function at 0x45a970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45aa0f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00465a77
lea ecx, [0x45aa20]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00464290
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004643a0
jmp fcn.0045a970
Function at 0x465660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0xce97c0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x463e2b
je 0x463e7e
cmp ebx, 0x20
jbe 0x463e84
cmp ebx, 0x40
jbe 0x463eca
jmp 0x463f6b
test ebx, ebx
je 0x463e74
add eax, 0x10
test ax, 0xff0
je 0x463e60
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x9e4120]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x9e4320]
jmp 0x463e48
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x463e48
pxor xmm1, xmmword [0xce97d0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xce97d0]
pxor xmm2, xmmword [0xce97e0]
pxor xmm3, xmmword [0xce97f0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xce97d0]
pxor xmm2, xmmword [0xce97e0]
pxor xmm3, xmmword [0xce97f0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x463fca
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0xce909d], 0
je 0x46567a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x463df0
jmp fcn.00408b70
Function at 0x100090cf
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x14], 0
jne 0x10009108
cmp dword [ebp + 0x1c], 0
jne 0x10009108
mov eax, 1
jmp 0x1000910d
mov eax, 0
test eax, eax
je 0x1000911f
mov eax, 0xffffffff
jmp 0x10009307
cmp dword [ebp + 0x20], 0
jle 0x10009134
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], eax
jmp 0x1000913b
mov dword [ebp - 4], 0x989680
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x30]
fcomp qword [0x100382e8]
fnstsw ax
test ah, 1
je 0x100092fd
cmp dword [ebp + 0x28], 0
je 0x100092a0
call fcn.1000930d
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000920d
push dword [ebp - 0xc]
call fcn.10009348
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x1c]
call fcn.10002560
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x100091fc
push ebx
call fcn.1000fe25
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1000920d
mov eax, 1
jmp 0x10009212
mov eax, 0
test eax, eax
je 0x10009222
mov eax, dword [ebp - 0xc]
jmp 0x10009307
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10009286
push dword [ebp - 0xc]
call fcn.10009834
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x1c]
call fcn.10002560
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10009275
push ebx
call fcn.1000fe25
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x10009286
mov eax, 1
jmp 0x1000928b
mov eax, 0
test eax, eax
je 0x1000929b
mov eax, dword [ebp - 0xc]
jmp 0x10009307
jmp 0x100092db
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0x18]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push dword [ebp + 8]
call fcn.100098ea
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.10009965
test eax, eax
je 0x100092db
mov eax, dword [ebp - 0xc]
jmp 0x10009307
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0
push 0x32
call fcn.100099b4
jmp 0x10009150
mov eax, 0xffffffff
jmp 0x10009307
mov esp, ebp
pop ebp
ret 0x28
Function at 0x10009386
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 [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100093c9
push 0x19
push 0x401ff03
push 6
call fcn.1000fe37
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100093e0
mov eax, 0x100729d1
jmp 0x1000948f
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x10072c30]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.100011c7
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.10013080
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000942e
push ebx
call fcn.1000fe25
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.100094a7
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10009470
push 0x136
push 0x401ff03
push 6
call fcn.1000fe37
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000948a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1000fe1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000948f
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100094a0
push ebx
call fcn.1000fe25
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a523
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000a56a
push 0x19
push 0x401f42f
push 6
call fcn.1000fe37
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000a5a5
push 0x46
push 0x401f42f
push 6
call fcn.1000fe37
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 1
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000a5dc
push 0x6a
push 0x401f42f
push 6
call fcn.1000fe37
add esp, 0xc
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000a608
push 0xa7
push 0x401f42f
push 6
call fcn.1000fe37
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000a63f
push 0xc2
push 0x401f42f
push 6
call fcn.1000fe37
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x1000a647
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ae41
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x14], 0
jne 0x1000ae7a
cmp dword [ebp + 0x1c], 0
jne 0x1000ae7a
mov eax, 1
jmp 0x1000ae7f
mov eax, 0
test eax, eax
je 0x1000ae91
mov eax, 0xffffffff
jmp 0x1000b079
cmp dword [ebp + 0x20], 0
jle 0x1000aea6
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], eax
jmp 0x1000aead
mov dword [ebp - 4], 0x989680
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 8], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x28]
fsub qword [ebp - 0x30]
fcomp qword [0x100382e8]
fnstsw ax
test ah, 1
je 0x1000b06f
cmp dword [ebp + 0x28], 0
je 0x1000b012
call fcn.1000b07f
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000af7f
push dword [ebp - 0xc]
call fcn.1000b0ba
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x1c]
call fcn.10002560
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000af6e
push ebx
call fcn.1000fe25
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1000af7f
mov eax, 1
jmp 0x1000af84
mov eax, 0
test eax, eax
je 0x1000af94
mov eax, dword [ebp - 0xc]
jmp 0x1000b079
cmp dword [ebp + 0x1c], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000aff8
push dword [ebp - 0xc]
call fcn.1000b5a6
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x1c]
call fcn.10002560
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000afe7
push ebx
call fcn.1000fe25
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1000aff8
mov eax, 1
jmp 0x1000affd
mov eax, 0
test eax, eax
je 0x1000b00d
mov eax, dword [ebp - 0xc]
jmp 0x1000b079
jmp 0x1000b04d
push 1
push dword [ebp + 0x10]
push 1
push dword [ebp + 0x18]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push dword [ebp + 8]
call fcn.1000b65c
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.1000b6d7
test eax, eax
je 0x1000b04d
mov eax, dword [ebp - 0xc]
jmp 0x1000b079
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0
push 0x32
call fcn.10008bd6
jmp 0x1000aec2
mov eax, 0xffffffff
jmp 0x1000b079
mov esp, ebp
pop ebp
ret 0x28
Function at 0x1000b0f8
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 [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000b13b
push 0x19
push 0x4013ed5
push 6
call fcn.1000fe37
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000b152
mov eax, 0x100729d1
jmp 0x1000b201
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x10072c30]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.100011c7
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.10013080
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000b1a0
push ebx
call fcn.1000fe25
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000b219
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000b1e2
push 0x136
push 0x4013ed5
push 6
call fcn.1000fe37
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000b1fc
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1000fe1f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000b201
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000b212
push ebx
call fcn.1000fe25
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100108b0
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret

Function at 0x100108e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x10010972
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x10010964
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x1001095c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10010925
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x10013eb0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x10013f2f
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10013f2f
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [0x100738d4]
add esp, 4
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10013f23
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop edi
pop esi
ret

Function at 0x10014160
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100141c9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100100c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x10014200
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x10014280
push edi
call dword [0x100738d4]
add esp, 4
test eax, eax
jbe 0x10014280
test esi, esi
je 0x1001423e
cmp esi, 0xffffffff
je 0x1001423e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x100142c2
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x1001426c
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x10014280
jmp 0x1001427b
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x10014280
mov ebp, 1
test esi, esi
je 0x100142c2
cmp esi, 0xffffffff
je 0x100142c2
test ebp, ebp
jne 0x100142f9
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x100142cf
call edi
test eax, eax
je 0x100142c2
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x100142f9
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x100142aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x100142c2
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x100142f9
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x100142dc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x100738d4]
inc eax
push eax
call fcn.100100c0
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret

Function at 0x10015360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x10015381
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x100153db
inc edi
cmp edi, esi
jl 0x10015375
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10015410
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x100153ca
cmp byte [eax], bl
je 0x100153e5
cmp byte [eax + 1], bl
je 0x100153ee
cmp byte [eax + 2], bl
je 0x100153f8
cmp byte [eax + 3], bl
je 0x10015404
add eax, 4
cmp eax, edi
jb 0x100153a1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x1002c665
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1002c6a7
call fcn.1002f122
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1002c6a7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1002c69e
xor eax, eax
jmp 0x1002c6af
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1002c6b5
pop edi
pop esi
pop ebx
ret 4