joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d04b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5d0556
cmp dword [ebx + 0xac], 0
jne 0x5d0550
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5d03f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5d0550
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5d0516
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5d0550
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00499468
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5d0525
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5d0898
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6fec90]
cmp dword [eax + 0x190], 0
je 0x5d0a01
test bl, bl
jne 0x5d0954
cmp dword [esi + 0xb4], 0
jne 0x5d0949
mov eax, esi
call fcn.005d3a9c
push eax
push 0x5d0798
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5d091a
mov eax, dword [0x6fec90]
cmp byte [eax + 0xeb], 0
je 0x5d091a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5d08fb
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d091a
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5d0903
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d0949
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00499468
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d0929
inc dword [esi + 0xb4]
jmp 0x5d0a01
cmp dword [esi + 0xb4], 0
jle 0x5d0a01
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5d0a01
cmp dword [esi + 0x58], 0
je 0x5d09b6
mov eax, dword [0x6fec90]
cmp byte [eax + 0xeb], 0
je 0x5d09b6
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5d0997
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d09b6
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5d099f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d09e5
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00499468
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d09c5
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5c0cb0]
call fcn.0040ce04
pop edi
pop esi
pop ebx
ret
Function at 0x5d17bc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5d1819
cmp byte [ebx + 0xeb], 0
jne 0x5d1819
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409dcc
mov eax, dword [esi]
test eax, eax
je 0x5d1806
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5d1826
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a024
jmp 0x5d1826
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a024
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5d3324
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5d3395
mov eax, esi
call fcn.00527b34
test al, al
je 0x5d3395
mov eax, dword [ebx + 0x98]
call fcn.005276cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d3395
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5d3386
push 0
mov eax, dword [ebx + 0x98]
call fcn.005276cc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0051dd3c
jmp 0x5d3395
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005d3130
pop esi
pop ebx
ret
Function at 0x5ebf54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x64]
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0x1fffffff
jne 0x5ebfbb
cmp ebx, dword [ebp - 8]
jge 0x5ebfde
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x5ebf89
jmp 0x5ebfde
cmp ebx, dword [ebp - 8]
jge 0x5ebfde
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x20]
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x5ebfc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ebfe8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x64]
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0x1fffffff
jne 0x5ec04f
cmp ebx, dword [ebp - 8]
jge 0x5ec072
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x20]
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x5ec01d
jmp 0x5ec072
cmp ebx, dword [ebp - 8]
jge 0x5ec072
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x20]
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x5ec054
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f5e54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6ff140], 0
jne 0x5f5e6b
call fcn.005f5e10
mov eax, edi
dec eax
test eax, eax
jl 0x5f5e93
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6fed40]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5f5e75
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5f8e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5f8ec1
dec al
je 0x5f8efc
dec al
je 0x5f8f40
dec al
je 0x5f8fb2
jmp 0x5f904d
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5f904d
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, 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 0x5f8ed1
jmp 0x5f904d
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f904d
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f8f0c
jmp 0x5f904d
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f904d
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x5f8f73
xor edx, edx
mov dword [esp + 4], edx
jmp 0x5f8f88
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x5f8fa0
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x5f8f50
jmp 0x5f904d
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f904d
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x5f9019
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, 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 + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.005f5e9c
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5f8fce
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6440a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov edx, ecx
dec edx
test edx, edx
jl 0x6440c7
inc edx
mov ecx, dword [eax]
xor cl, byte [esi]
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x6ff55c]
mov ebx, dword [eax]
shr ebx, 8
xor ecx, ebx
mov dword [eax], ecx
inc esi
dec edx
jne 0x6440ac
pop esi
pop ebx
ret

Function at 0x648464
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0xa
jne 0x6484f3
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x28
jne 0x6484f3
mov edi, eax
dec edi
test edi, edi
jl 0x6485a3
inc edi
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x6edd00]
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x6edcfc]
faddp st(1)
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x6edcf8]
faddp st(1)
call fcn.00407730
mov edx, dword [ebp - 4]
mov byte [edx], al
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x24]
add esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
add dword [ebp - 4], eax
dec edi
jne 0x648491
jmp 0x6485a3
mov edi, eax
dec edi
test edi, edi
jl 0x6485a3
inc edi
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, esi
call fcn.00646fe4
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 3]
shl eax, 8
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x6edd00]
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x6edcfc]
faddp st(1)
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x6edcf8]
faddp st(1)
call fcn.00407730
mov ecx, eax
movzx eax, cx
mov edx, eax
shl eax, 0x10
sub eax, edx
mov ecx, 0xff
xor edx, edx
div ecx
mov word [ebp - 6], ax
movzx eax, word [ebp - 0xe]
push eax
lea ecx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00646d5c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x24]
add esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
add dword [ebp - 4], eax
dec edi
jne 0x6484ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6494c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0xc], al
mov ecx, edx
mov byte [ebp - 0xb], cl
movzx eax, byte [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*2]
movzx edx, cl
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0xc]
lea eax, [eax + eax*4]
movzx edx, byte [ebp - 0xb]
add edx, edx
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 9], al
movzx eax, byte [ebp - 0xc]
add eax, eax
add eax, eax
movzx edx, byte [ebp - 0xb]
lea edx, [edx + edx*2]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 8], al
movzx eax, byte [ebp - 0xc]
lea eax, [eax + eax*2]
movzx edx, byte [ebp - 0xb]
add edx, edx
add edx, edx
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0xc]
add eax, eax
movzx edx, byte [ebp - 0xb]
lea edx, [edx + edx*4]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0xc]
movzx edx, byte [ebp - 0xb]
add edx, edx
lea edx, [edx + edx*2]
add eax, edx
add eax, 3
mov ecx, 7
xor edx, edx
div ecx
mov byte [ebp - 5], al
mov dword [ebp - 0x10], 0x10
mov esi, dword [ebp - 4]
add esi, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0x7fffffff
xor edi, edi
lea ebx, [ebp - 0xc]
movzx eax, byte [ebx]
movzx edx, byte [esi]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0x14]
jge 0x6495c0
mov dword [ebp - 0x14], eax
mov eax, edi
mov byte [ecx], al
inc edi
inc ebx
cmp edi, 8
jne 0x6495a7
inc ecx
add esi, 8
dec dword [ebp - 0x10]
jne 0x64959b
movzx eax, byte [ebp - 0x23]
add eax, eax
add eax, eax
add eax, eax
or al, byte [ebp - 0x24]
movzx edx, byte [ebp - 0x22]
and dl, 3
shl edx, 6
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx], al
movzx eax, byte [ebp - 0x22]
and al, 4
movzx eax, al
shr eax, 2
movzx edx, byte [ebp - 0x21]
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x20]
shl edx, 4
or al, dl
movzx edx, byte [ebp - 0x1f]
and dl, 1
shl edx, 7
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 1], al
movzx eax, byte [ebp - 0x1f]
and al, 6
movzx eax, al
shr eax, 1
movzx edx, byte [ebp - 0x1e]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x1d]
shl edx, 5
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 2], al
movzx eax, byte [ebp - 0x1b]
add eax, eax
add eax, eax
add eax, eax
or al, byte [ebp - 0x1c]
movzx edx, byte [ebp - 0x1a]
and dl, 3
shl edx, 6
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 3], al
movzx eax, byte [ebp - 0x1a]
and al, 4
movzx eax, al
shr eax, 2
movzx edx, byte [ebp - 0x19]
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x18]
shl edx, 4
or al, dl
movzx edx, byte [ebp - 0x17]
and dl, 1
shl edx, 7
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 4], al
movzx eax, byte [ebp - 0x17]
and al, 6
movzx eax, al
shr eax, 1
movzx edx, byte [ebp - 0x16]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [ebp - 0x15]
shl edx, 5
or al, dl
mov edx, dword [ebp + 8]
mov byte [edx + 5], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x65cad8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x65cb09
mov eax, ebx
call fcn.0065caa0
cmp byte [ebx + 0x40], 0
je 0x65cb02
mov dword [ebx + 0x14], 0xcf
mov al, 1
jmp 0x65cb98
mov dword [ebx + 0x14], 0xcb
mov eax, dword [ebx + 0x14]
cmp eax, 0xcb
jne 0x65cb76
mov eax, dword [ebx + 0x184]
cmp byte [eax + 0x10], 0
je 0x65cb6e
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x65cb2b
mov eax, ebx
call dword [ebp]
mov esi, dword [ebx + 0x184]
mov eax, ebx
call dword [esi]
mov esi, eax
test esi, esi
jne 0x65cb3f
xor eax, eax
jmp 0x65cb98
cmp esi, 2
je 0x65cb6e
cmp dword [ebx + 8], 0
je 0x65cb1f
cmp esi, 3
je 0x65cb52
dec esi
jne 0x65cb1f
mov eax, dword [ebx + 8]
inc dword [eax + 4]
mov edi, dword [ebx + 8]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jl 0x65cb1f
mov eax, dword [ebx + 0x110]
add dword [edi + 8], eax
jmp 0x65cb1f
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x78], eax
jmp 0x65cb91
cmp eax, 0xcc
je 0x65cb91
mov ecx, eax
test ecx, ecx
jns 0x65cb88
call fcn.00407c60
mov dl, 0x14
mov eax, ebx
call fcn.0064ff18
mov eax, ebx
call fcn.0065cba0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x668af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x14
call fcn.00407844
mov dword [ebp - 0x14], 0x7fffffff
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
lea esi, [eax - 0x18]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi]
push eax
movzx eax, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.006688a8
pop ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 4]
dec ecx
test ecx, ecx
jl 0x668b60
inc ecx
xor edi, edi
mov eax, dword [esi]
movsx eax, byte [eax + edi]
cdq
xor eax, edx
sub eax, edx
add dword [ebx], eax
inc edi
dec ecx
jne 0x668b4f
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x14]
jge 0x668b73
movzx edx, byte [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov byte [ecx], dl
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
add ebx, 4
add esi, 4
cmp dword [ebp - 0x10], 5
jne 0x668b26
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + eax*4 - 0x18]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx - 4]
mov edx, dword [ebp + 8]
call fcn.00407358
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x67f150
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x67f2c7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x67f2a0
push dword fs:[edx]
mov dword fs:[edx], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.0040a818
lea eax, [ebp - 0x21c]
mov edx, 0x67f2e0
call fcn.0040aa04
mov eax, dword [ebp - 0x21c]
call fcn.0040a7f8
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x67f20f
lea eax, [ebp - 0x216]
call fcn.0040a12c
lea edx, [ebp - 0x216]
mov ecx, ebx
xchg ecx, eax
call fcn.00409dcc
jmp 0x67f216
mov eax, ebx
call fcn.00409c34
cmp si, 0x61
jae 0x67f238
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.00423768
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.0040a024
jmp 0x67f252
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00423794
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.0040a024
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x67f2f4
call fcn.00425d68
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.0040a024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67f2a7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax

Function at 0x68255c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x682615
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040a7f8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x68259e
call fcn.0040939c
jmp 0x68261c
mov eax, ebx
call fcn.00407044
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.0040a7f8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x6825c7
call fcn.0040939c
jmp 0x68261c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x682628
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x6825e8
call fcn.0040939c
jmp 0x68261c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68261c
mov eax, dword [ebp - 8]
call fcn.00407060
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6890ec
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
test ebx, ebx
je 0x689180
mov edx, dword [0x685480]
mov eax, 8
call fcn.0040c284
mov esi, eax
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040a024
mov byte [esi + 4], 0
mov edx, esi
mov eax, ebx
call fcn.0055bb3c
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0055be4c
mov eax, dword [edi + 0x4ac]
cmp eax, dword [ebp + 8]
jne 0x689150
mov edx, dword [edi + 0x4a8]
mov eax, ebx
call fcn.0055bf00
jmp 0x689180
push 0x4003
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
call fcn.0040a7f8
push eax
call sub.shell32.dll_SHGetFileInfoW
mov edx, dword [ebp - 0x2b4]
dec esp
std
invalid
dec dword [ebx + 0x2d80e8c3]
in eax, dx
invalid
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4