joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d3b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dcf10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x101279d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
sub eax, 0x110
je 0x1001d4f2
dec eax
jne 0x1001d506
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
jne 0x1001d506
mov edx, 0xca
cmp ax, dx
jne 0x1001d483
call fcn.1008e4fc
push eax
lea ecx, [ebp - 0x14]
call fcn.1008f80d
push 0x8e
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10001e10
mov eax, dword [eax]
push 1
push 0
push 0
push eax
mov eax, dword [esi + 0x18]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001d460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.1008ef1c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0xd4
cmp ax, cx
jne 0x1001d506
call fcn.1008e4fc
push eax
lea ecx, [ebp - 0x1c]
call fcn.1008f80d
push 0x8f
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.10001e10
mov eax, dword [eax]
mov edx, dword [esi + 0x18]
push 1
push 0
push 0
push eax
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
call fcn.100c7b50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.1008ef1c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x18]
push str.DirectVobSub_2.40.3.0_x86_nCopyright_2001_2011_MPC_HC_Team
push 0x13b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10028f50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101279d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x20], ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x10028fe6
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1008e66b
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10028fe6
push eax
mov eax, dword [ebp - 0x18]
push ebx
push edi
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10028fda
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x100edf4c
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10028fda
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 8]
or esi, dword [eax + 0xc]
xor edx, edx
or edi, edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1008e660
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, edi
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a6f5d
mov esp, ebp
pop ebp
ret

Function at 0x10032360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ded3e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101279d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.10002980
add eax, 0x10
mov dword [esi], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov dword [ebp - 4], 0
call fcn.10002980
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [ebp - 4], 1
call fcn.10002980
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [ebp - 4], 2
call fcn.10002980
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100339d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xb8]
fld qword [eax + 0xa0]
push esi
push ecx
sub esp, 0x20
fstp qword [esp + 0x18]
mov edx, dword [eax + 0x80]
fld qword [eax + 0x98]
movzx ecx, byte [eax + 0x7e]
fstp qword [esp + 0x10]
mov esi, dword [ebp + 8]
fld qword [eax + 0x90]
fstp qword [esp + 8]
fld qword [eax + 0x88]
fstp qword [esp]
push edx
movzx edx, byte [eax + 0x7d]
fld qword [eax + 0x70]
push ecx
movzx ecx, byte [eax + 0x7c]
push edx
mov edx, dword [eax + 0x78]
push ecx
push edx
mov ecx, dword [eax + 0x50]
sub esp, 0x20
mov edx, dword [eax + 0x4c]
fstp qword [esp + 0x18]
fld qword [eax + 0x68]
fstp qword [esp + 0x10]
fld qword [eax + 0x60]
fstp qword [esp + 8]
fld qword [eax + 0x58]
fstp qword [esp]
push ecx
movzx ecx, byte [eax + 0x4b]
fld qword [eax + 0x30]
push edx
movzx edx, byte [eax + 0x4a]
push ecx
movzx ecx, byte [eax + 0x49]
push edx
movzx edx, byte [eax + 0x48]
push ecx
mov ecx, dword [eax + 0x44]
push edx
mov edx, dword [eax + 0x40]
push ecx
mov ecx, dword [eax + 0x3c]
push edx
mov edx, dword [eax + 0x38]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [eax + 0x28]
fstp qword [esp + 0x10]
fld qword [eax + 0x20]
fstp qword [esp + 8]
fld qword [eax + 0x18]
fstp qword [esp]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax]
push ecx
push edx
push str._d__d__d__d__d__d__f__f__f__f_0x_06x_0x_06x_0x_06x_0x_06x_0x_02x_0x_02x_0x_02x_0x_02x__d__s__f__f__f__f__d__d__d__d__d__f__f__f__f__d
push esi
call fcn.10003590
add esp, 0xc0
mov eax, esi
pop esi
pop ebp
ret
Function at 0x1003ebd0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dff43
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x101279d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x420]
push ecx
xor esi, esi
push 0x104
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1003ec55
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003ec4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x1003ed88
lea ecx, [ebp - 0x218]
push ecx
push esi
push 0x100f0630
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1003ec8f
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1003ec42
lea ecx, [ebp - 0x218]
push 0x100f0628
push ecx
call fcn.100a8727
mov edi, eax
add esp, 8
cmp edi, esi
je 0x1003ec28
mov eax, dword [ebp + 0xc]
lea ebx, [eax - 0x400]
test ebx, ebx
js 0x1003ece6
lea ebx, [ebx]
mov ecx, dword [ebp - 0x424]
push edi
push 1
add ecx, esi
push 0x400
push ecx
call fcn.100aab05
add esi, 0x400
add esp, 0x10
cmp esi, ebx
jle 0x1003ecc0
mov eax, dword [ebp + 0xc]
cmp eax, esi
jle 0x1003ed01
mov edx, dword [ebp - 0x424]
push edi
push 1
sub eax, esi
push eax
add edx, esi
push edx
call fcn.100aab05
add esp, 0x10
push edi
call fcn.100a85f5
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x424], esp
mov esi, esp
push eax
call fcn.10002980
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
lea edx, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x42c], esp
push edx
mov byte [ebp - 4], 1
call fcn.10001e10
mov ecx, dword [ebp - 0x428]
mov byte [ebp - 4], 0
call fcn.1003e8f0
mov bl, al
lea eax, [ebp - 0x218]
push eax
call fcn.100aa97e
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003ed86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6f5d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003ee40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dffc3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101279d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
xor edi, edi
push edi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push ebx
mov word [esi], ax
call fcn.10032a20
movzx ecx, byte [ebx + 0x1c]
mov byte [esi + 0x1c], cl
movzx edx, byte [ebx + 0x1d]
mov byte [esi + 0x1d], dl
movzx eax, byte [ebx + 0x1e]
mov byte [esi + 0x1e], al
movzx ecx, byte [ebx + 0x1f]
lea edx, [ebx + 0x20]
mov byte [esi + 0x1f], cl
lea ecx, [esi + 0x20]
push edx
mov dword [ebp - 4], edi
call fcn.1003b810
lea edi, [esi + 0x30]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x30]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp + 8], edi
call fcn.10032a20
movzx edx, byte [ebx + 0x4c]
mov byte [edi + 0x1c], dl
movzx eax, byte [ebx + 0x4d]
mov byte [edi + 0x1d], al
movzx ecx, byte [ebx + 0x4e]
mov byte [edi + 0x1e], cl
movzx edx, byte [ebx + 0x4f]
lea eax, [ebx + 0x50]
lea ecx, [edi + 0x20]
push eax
mov byte [ebp - 4], 2
mov byte [edi + 0x1f], dl
call fcn.1003b810
movzx ecx, byte [ebx + 0x60]
add ebx, 0x64
mov byte [esi + 0x60], cl
push ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.1003b8e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005b540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e16b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101279d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x30]
sub eax, 0x10
mov dword [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005b58f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1009e1e9
test byte [ebp + 8], 1
je 0x1005b5ac
push esi
call fcn.1008e660
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10064830
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dfeab
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101279d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov dword [ecx], vtable.CRealTextParser.0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 0x64]
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1003b040
mov edi, dword [edi + 4]
push edi
call fcn.1008e660
add esp, 4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0
call fcn.1003b9b0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1003b9b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1006d2e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
mov eax, ecx
and eax, 0xfffffffe
mov edx, eax
push ebx
mov ebx, dword [ebp + 0x14]
neg edx
lea edx, [ebx + edx*4]
neg eax
mov dword [ebp + 0x14], edx
mov edx, dword [ebp + 0xc]
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
push esi
mov esi, dword [ebp + 0x10]
mov eax, 1
sub eax, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x1006d31b
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
test eax, eax
je 0x1006d3c7
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebx, edx
xor ebx, ecx
shr ebx, 1
and ebx, 0x7f7f7f7f
mov eax, edx
or eax, ecx
sub eax, ebx
mov ebx, eax
xor ebx, ecx
or eax, ecx
shr ebx, 1
and ebx, 0x7f7f7f7f
sub eax, ebx
and edx, 0xffffff00
and eax, 0xff00ff
shl edx, 0x10
add eax, edx
and ecx, 0xff00
add eax, ecx
mov dword [edi], eax
add edi, 4
add esi, 8
add dword [ebp + 8], 2
jns 0x1006d3c7
mov ecx, dword [esi + 4]
mov eax, dword [esi - 4]
mov edx, dword [esi]
mov dword [ebp + 0x18], eax
mov ebx, ecx
xor ebx, eax
shr ebx, 1
and ebx, 0x7f7f7f7f
mov eax, ecx
or eax, dword [ebp + 0x18]
and ecx, 0xffffff00
sub eax, ebx
mov ebx, eax
xor ebx, edx
or eax, edx
shr ebx, 1
and ebx, 0x7f7f7f7f
sub eax, ebx
and eax, 0xff00ff
shl ecx, 0x10
add eax, ecx
and edx, 0xff00
add eax, edx
mov dword [edi], eax
add edi, 4
add esi, 8
add dword [ebp + 8], 2
js 0x1006d373
mov eax, 1
test byte [ebp + 8], al
jne 0x1006d3d5
mov ecx, dword [esi]
mov dword [edi], ecx
add esi, dword [ebp + 0x14]
add edi, dword [ebp + 0xc]
sub dword [ebp + 0x1c], eax
jne 0x1006d318
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1006d3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
mov eax, ecx
and eax, 0xfffffffe
mov edx, eax
push ebx
mov ebx, dword [ebp + 0x14]
neg edx
lea edx, [ebx + edx*4]
neg eax
mov dword [ebp + 0x14], edx
mov edx, dword [ebp + 0xc]
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
push esi
mov esi, dword [ebp + 0x10]
mov eax, 1
sub eax, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0x10], eax
jmp 0x1006d42b
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
test eax, eax
je 0x1006d4ea
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebx, edx
xor ebx, ecx
shr ebx, 1
and ebx, 0x7f7f7f7f
mov eax, edx
or eax, ecx
sub eax, ebx
mov ebx, eax
xor ebx, ecx
or eax, ecx
shr ebx, 1
and ebx, 0x7f7f7f7f
sub eax, ebx
shl eax, 8
shr ecx, 8
and eax, 0xff00ff00
and ecx, 0xff
and edx, 0xff00
add eax, ecx
shl edx, 8
add eax, edx
mov dword [edi], eax
add edi, 4
add esi, 8
add dword [ebp + 8], 2
jns 0x1006d4ea
lea esp, [esp]
mov edx, dword [esi + 4]
mov eax, dword [esi - 4]
mov ecx, dword [esi]
mov dword [ebp + 0x18], eax
mov ebx, edx
xor ebx, eax
shr ebx, 1
and ebx, 0x7f7f7f7f
mov eax, edx
or eax, dword [ebp + 0x18]
and edx, 0xff00
sub eax, ebx
mov ebx, eax
xor ebx, ecx
or eax, ecx
shr ebx, 1
and ebx, 0x7f7f7f7f
sub eax, ebx
shl eax, 8
shr ecx, 8
and eax, 0xff00ff00
and ecx, 0xff
add eax, ecx
shl edx, 8
add eax, edx
mov dword [edi], eax
add edi, 4
add esi, 8
add dword [ebp + 8], 2
js 0x1006d490
mov edx, 1
test byte [ebp + 8], dl
jne 0x1006d509
mov eax, dword [esi]
mov ecx, eax
shr eax, 8
shl ecx, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
mov dword [edi], eax
add esi, dword [ebp + 0x14]
add edi, dword [ebp + 0xc]
sub dword [ebp + 0x1c], edx
jne 0x1006d428
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1006d520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
inc ebx
sar ebx, 1
lea eax, [ebx*4]
sub dword [ebp + 0xc], eax
sub dword [ebp + 0x14], eax
push esi
mov esi, dword [ebp + 8]
push edi
nop
mov edi, ebx
mov eax, dword [edx]
mov ecx, eax
shr eax, 8
shl ecx, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, ecx
mov dword [esi], eax
add edx, 4
add esi, 4
dec edi
jne 0x1006d542
add edx, dword [ebp + 0x14]
add esi, dword [ebp + 0xc]
dec dword [ebp + 0x1c]
jne 0x1006d540
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10070a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
mov eax, 3
sub eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
jns 0x10070ad7
or edx, 0xffffffff
sub edx, eax
shr edx, 2
inc edx
lea eax, [eax + edx*4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
lea ecx, [ecx]
mov eax, dword [ecx]
mov edx, dword [esi]
mov ebx, eax
xor ebx, edx
shr ebx, 1
and ebx, 0x7f7f7f7f
or eax, edx
sub eax, ebx
mov dword [edi], eax
add edi, 4
add ecx, 4
add esi, 4
dec dword [ebp + 0xc]
jne 0x10070ab0
mov eax, dword [ebp + 0x10]
sub eax, 3
jns 0x10070af6
sub esi, ecx
sub edi, ecx
neg eax
movzx edx, byte [esi + ecx]
movzx ebx, byte [ecx]
lea edx, [edx + ebx + 1]
sar edx, 1
mov byte [edi + ecx], dl
inc ecx
dec eax
jne 0x10070ae2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10070c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0x80
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ecx + 4]
jb 0x10070c4a
mov ecx, edi
mov edi, eax
mov eax, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
sar ecx, 2
and ebx, 3
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], ebx
test ecx, ecx
je 0x10070ca0
mov ebx, dword [ebp + 8]
mov esi, eax
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, edx
xor eax, ecx
shr eax, 1
and edx, ecx
and eax, 0x7f7f7f7f
add eax, edx
mov edx, eax
xor edx, ecx
shr edx, 1
and edx, 0x7f7f7f7f
or eax, ecx
sub eax, edx
mov dword [ebx], eax
add esi, 4
add edi, 4
add ebx, 4
dec dword [ebp + 0x14]
jne 0x10070c64
mov eax, esi
mov esi, ebx
mov ebx, dword [ebp + 0x10]
jmp 0x10070ca3
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x10070cc8
mov edx, edi
sub edx, eax
sub esi, eax
lea ecx, [ecx]
movzx ecx, byte [eax]
movzx edi, byte [edx + eax]
lea ecx, [ecx + ecx*2]
lea ecx, [edi + ecx + 2]
sar ecx, 2
mov byte [esi + eax], cl
inc eax
dec ebx
jne 0x10070cb0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10073992
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
add ebx, eax
add ecx, eax
add edx, eax
neg eax
pcmpeqb mm7, mm7
movq mm0, qword [ebx + eax]
movq mm1, qword [ecx + eax]
movq mm2, mm0
movq mm3, qword [ebx + eax + 8]
pxor mm0, mm7
pxor mm1, mm7
movq mm4, qword [ecx + eax + 8]
movq mm5, mm3
pxor mm3, mm7
pxor mm4, mm7
pavgb mm0, mm1
pavgb mm3, mm4
pxor mm0, mm7
pxor mm3, mm7
pavgb mm0, mm2
movq qword [edx + eax], mm0
pavgb mm3, mm5
movq qword [edx + eax + 8], mm3
add eax, 0x10
jne 0x100739ae
pop ebx
ret

Function at 0x100739f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
add ebx, eax
add ecx, eax
add edx, eax
neg eax
pcmpeqb mm7, mm7
movq mm0, qword [ecx + eax]
movq mm1, qword [ebx + eax]
movq mm2, mm0
pxor mm0, mm7
pxor mm1, mm7
pavgb mm1, mm0
pavgb mm1, mm0
pxor mm1, mm7
pavgb mm1, mm2
movq qword [edx + eax], mm1
add eax, 8
jne 0x10073a10
pop ebx
ret
Function at 0x10073a38
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
add ebx, eax
add ecx, eax
add edx, eax
neg eax
pcmpeqb mm7, mm7
movq mm0, qword [ecx + eax]
movq mm1, qword [ebx + eax]
movq mm2, mm0
pxor mm0, mm7
pxor mm1, mm7
pavgb mm0, mm1
pavgb mm0, mm1
pxor mm0, mm7
pavgb mm0, mm2
movq qword [edx + eax], mm0
add eax, 8
jne 0x10073a54
pop ebx
ret
Function at 0x1007bd80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x48]
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push edx
call eax
mov ebx, dword [edi + 0x54]
mov esi, dword [ebp + 8]
mov ecx, ebx
sar ecx, 2
test ecx, ecx
je 0x1007bdcf
mov edi, ecx
jmp 0x1007bdb0
mov ecx, dword [eax]
mov edx, ecx
shr ecx, 8
shl edx, 8
xor ecx, edx
and ecx, 0xff00ff
xor ecx, edx
mov dword [esi], ecx
add eax, 4
add esi, 4
dec edi
jne 0x1007bdb0
test bl, 2
je 0x1007bde4
mov cl, byte [eax + 1]
mov byte [esi], cl
mov dl, byte [eax]
mov byte [esi + 1], dl
add esi, 2
add eax, 2
test bl, 1
je 0x1007bded
mov al, byte [eax]
mov byte [esi], al
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10085eb0
Capabilities:
Enumerate gui resources
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101279d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, ecx
call edi
mov ebx, eax
lea eax, [ebp - 0x210]
push eax
push 0x10085df0
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_EnumWindows]
call edi
sub eax, ebx
push eax
push esi
lea ecx, [ebp - 0x20c]
push str.BaseFilter__08x_:_EnumWindows_cost_time___d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x210], 0
pop edi
pop esi
pop ebx
je 0x10085f35
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a6f5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.100a6f5d
mov esp, ebp
pop ebp
ret

Function at 0x10088260
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x1008827a
mov eax, 0x80004003
pop esi
mov esp, ebp
pop ebp
ret 0xc
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0xc]
test eax, eax
je 0x1008828d
lea ecx, [edi + 4]
mov dword [ebp + 0x10], ecx
jmp 0x10088294
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 0x10]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x10088364
lea edx, [ebx - 1]
test dword [ebp - 8], edx
jne 0x10088364
cmp dword [edi + 0x44], 1
jne 0x100882ee
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov eax, 0x8004020f
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edi + 0x20]
cmp edx, dword [edi + 0x30]
jge 0x1008830e
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov eax, 0x80040210
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 4]
add eax, dword [ecx + 0xc]
mov dword [ebp + 8], eax
cdq
idiv ebx
test edx, edx
je 0x10088323
sub ebx, edx
add dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
sub eax, dword [ecx + 0xc]
mov dword [edi + 0x34], eax
mov dword [esi + 4], eax
mov eax, dword [ecx]
mov dword [edi + 0x2c], eax
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x38], eax
mov dword [esi + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edi + 0x3c], ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov dword [edi + 0x40], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov eax, 0x8004020e
pop esi
mov esp, ebp
pop ebp
ret 0xc