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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5b8f46
cmp dword [ebx + 0xac], 0
jne 0x5b8f40
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b8de0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5b8f40
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 0x5b8f06
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b8f40
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.0049691c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b8f15
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x7f41d4]
cmp dword [eax + 0x188], 0
je 0x5b937a
test bl, bl
jne 0x5b92c5
cmp dword [esi + 0xb4], 0
jne 0x5b92ba
mov eax, esi
call fcn.005bc134
push eax
push 0x5b90f4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5b928b
mov eax, dword [0x7f41d4]
cmp byte [eax + 0xeb], 0
je 0x5b928b
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5b926c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5b928b
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 0x5b9274
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b92ba
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049691c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b929a
inc dword [esi + 0xb4]
jmp 0x5b937a
cmp dword [esi + 0xb4], 0
jle 0x5b937a
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5b937a
cmp dword [esi + 0x58], 0
je 0x5b932f
mov eax, dword [0x7f41d4]
cmp byte [eax + 0xeb], 0
je 0x5b932f
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5b9310
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5b932f
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 0x5b9318
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b935e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049691c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b933e
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5aa664]
call fcn.0040c134
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5b9fdc
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 0x5ba039
cmp byte [ebx + 0xeb], 0
jne 0x5ba039
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409a48
mov eax, dword [esi]
test eax, eax
je 0x5ba026
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ba046
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ca0
jmp 0x5ba046
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ca0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5bb858
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5bb8c9
mov eax, esi
call fcn.00510960
test al, al
je 0x5bb8c9
mov eax, dword [ebx + 0x98]
call fcn.0051058c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bb8c9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x5bb8ba
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051058c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0050733c
jmp 0x5bb8c9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005bb664
pop esi
pop ebx
ret
Function at 0x5d1dbc
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 0x5d1e23
cmp ebx, dword [ebp - 8]
jge 0x5d1e46
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 0x5d1df1
jmp 0x5d1e46
cmp ebx, dword [ebp - 8]
jge 0x5d1e46
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 0x5d1e28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5d1e50
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 0x5d1eb7
cmp ebx, dword [ebp - 8]
jge 0x5d1eda
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 0x5d1e85
jmp 0x5d1eda
cmp ebx, dword [ebp - 8]
jge 0x5d1eda
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 0x5d1ebc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5dbccc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7f4654], 0
jne 0x5dbce3
call fcn.005dbc88
mov eax, edi
dec eax
test eax, eax
jl 0x5dbd0b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7f4254]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5dbced
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5decd8
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 0x5ded09
dec al
je 0x5ded44
dec al
je 0x5ded88
dec al
je 0x5dedfa
jmp 0x5dee95
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5dee95
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 0x5ded19
jmp 0x5dee95
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5dee95
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 0x5ded54
jmp 0x5dee95
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5dee95
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 0x5dedbb
xor edx, edx
mov dword [esp + 4], edx
jmp 0x5dedd0
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 0x5dede8
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x5ded98
jmp 0x5dee95
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 0x5dee95
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 0x5dee61
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.005dbd14
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 0x5dee16
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x628b6c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.004098c0
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x628b9d
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409a48
add esp, 0x24
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x678604
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6787b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x6787d4
call fcn.0040a794
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.0067682c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x6787e8
call fcn.005fd204
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x67867f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6786c0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0067682c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x678850
call fcn.005fd204
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040a73c
mov eax, esi
mov edx, 0x67887c
call fcn.0040a73c
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6786d8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x678746
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x678890
call fcn.005fd204
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040a73c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x67870f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x67873a
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6788c0
call fcn.005fd204
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040a73c
mov eax, esi
mov edx, 0x67887c
call fcn.0040a73c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x678752
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x67877d
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6788ec
call fcn.005fd204
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040a73c
mov eax, esi
mov edx, 0x67887c
call fcn.0040a73c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6787c0
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409920
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409920
lea eax, [ebp - 4]
call fcn.004098c0
ret
Function at 0x6a3ca8
Capabilities:
Encode data using xor

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

Function at 0x6a8294
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 0x6a8323
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x28
jne 0x6a8323
mov edi, eax
dec edi
test edi, edi
jl 0x6a83d3
inc edi
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7beb38]
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7beb34]
faddp st(1)
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7beb30]
faddp st(1)
call fcn.00407530
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 0x6a82c1
jmp 0x6a83d3
mov edi, eax
dec edi
test edi, edi
jl 0x6a83d3
inc edi
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, esi
call fcn.006a6e60
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 [0x7beb38]
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7beb34]
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 [0x7beb30]
faddp st(1)
call fcn.00407530
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.006a6bc0
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 0x6a832f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6a92f0
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 0x6a93f0
mov dword [ebp - 0x14], eax
mov eax, edi
mov byte [ecx], al
inc edi
inc ebx
cmp edi, 8
jne 0x6a93d7
inc ecx
add esi, 8
dec dword [ebp - 0x10]
jne 0x6a93cb
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 0x6b9634
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6b9665
mov eax, ebx
call fcn.006b95fc
cmp byte [ebx + 0x40], 0
je 0x6b965e
mov dword [ebx + 0x14], 0xcf
mov al, 1
jmp 0x6b96f4
mov dword [ebx + 0x14], 0xcb
mov eax, dword [ebx + 0x14]
cmp eax, 0xcb
jne 0x6b96d2
mov eax, dword [ebx + 0x184]
cmp byte [eax + 0x10], 0
je 0x6b96ca
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x6b9687
mov eax, ebx
call dword [ebp]
mov esi, dword [ebx + 0x184]
mov eax, ebx
call dword [esi]
mov esi, eax
test esi, esi
jne 0x6b969b
xor eax, eax
jmp 0x6b96f4
cmp esi, 2
je 0x6b96ca
cmp dword [ebx + 8], 0
je 0x6b967b
cmp esi, 3
je 0x6b96ae
dec esi
jne 0x6b967b
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 0x6b967b
mov eax, dword [ebx + 0x110]
add dword [edi + 8], eax
jmp 0x6b967b
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x78], eax
jmp 0x6b96ed
cmp eax, 0xcc
je 0x6b96ed
mov ecx, eax
test ecx, ecx
jns 0x6b96e4
call fcn.00407a08
mov dl, 0x14
mov eax, ebx
call fcn.006aca70
mov eax, ebx
call fcn.006b96fc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6ca024
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.00407630
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.006c9ddc
pop ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 4]
dec ecx
test ecx, ecx
jl 0x6ca094
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 0x6ca083
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x14]
jge 0x6ca0a7
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 0x6ca05a
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.004071b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6e5e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
mov edx, edi
xor eax, eax
call fcn.006e5f58
mov esi, eax
mov eax, esi
call fcn.00406f20
mov ebx, eax
lea ecx, [ebp + 0x10]
mov edx, edi
mov eax, ebx
call fcn.006e5f58
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_WriteFile
mov eax, ebx
call fcn.00406f3c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x6f0a78
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x6f0aaa
push ebx
call fcn.006f1590
pop ecx
mov dl, byte [ebx + 0x40]
test dl, dl
je 0x6f0aa3
mov dword [ebx + 0x14], 0xcf
mov al, 1
pop ebx
pop ebp
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x6f0b20
mov ecx, dword [ebx + 0x190]
mov al, byte [ecx + 0x10]
test al, al
je 0x6f0b15
mov edx, dword [ebx + 8]
test edx, edx
je 0x6f0ad0
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
push ebx
mov eax, dword [ebx + 0x190]
call dword [eax]
pop ecx
test eax, eax
jne 0x6f0ae3
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x6f0b15
mov edx, dword [ebx + 8]
test edx, edx
je 0x6f0ac2
cmp eax, 3
je 0x6f0af7
dec eax
jne 0x6f0ac2
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x6f0ac2
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x6f0ac2
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
jmp 0x6f0b40
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x6f0b40
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
pop ecx
push ebx
call fcn.006f0b4c
pop ecx
pop ebx
pop ebp
ret