joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b865c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b8673
add esp, 0xfffffff0
call fcn.004080f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a7dc8
mov eax, dword [0x7ebcd4]
cmp byte [eax], 0
jne 0x5b86a0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x7ec504]
cmp word [eax + 2], 0
jne 0x5b86ba
mov eax, dword [0x7ec504]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005baa14
mov eax, dword [0x7ec7d4]
cmp word [eax + 2], 0
jne 0x5b86d4
mov eax, dword [0x7ec7d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005bac18
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4d4670]
call fcn.004daa64
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5bb094
mov dl, 1
mov eax, dword [0x474a38]
call fcn.00407ae8
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x474a38]
call fcn.00407ae8
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4d9304]
call fcn.004e448c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5b88c4
mov eax, dword [0x7ec1cc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004e4914
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5bb354
mov dl, 1
mov eax, dword [0x474a38]
call fcn.00407ae8
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x7ec1cc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00423ac4
test eax, eax
je 0x5b87ee
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042391c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00423aa8
test eax, eax
je 0x5b8806
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a5e4
push ebx
push 0x5ba3f0
call fcn.005add68
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x7ebcd4]
cmp byte [eax], 0
jne 0x5b8857
mov eax, ebx
call fcn.005b8aa8
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005bb58c
mov eax, ebx
call fcn.005bc22c
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b88bb
call fcn.0040814c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b8dec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5b8e8e
cmp dword [ebx + 0xac], 0
jne 0x5b8e88
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b8d28
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5b8e88
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 0x5b8e4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b8e88
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.00496864
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b8e5d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5b9148
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 [0x7f31d4]
cmp dword [eax + 0x188], 0
je 0x5b92c2
test bl, bl
jne 0x5b920d
cmp dword [esi + 0xb4], 0
jne 0x5b9202
mov eax, esi
call fcn.005bc07c
push eax
push 0x5b903c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5b91d3
mov eax, dword [0x7f31d4]
cmp byte [eax + 0xeb], 0
je 0x5b91d3
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5b91b4
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5b91d3
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 0x5b91bc
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b9202
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00496864
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b91e2
inc dword [esi + 0xb4]
jmp 0x5b92c2
cmp dword [esi + 0xb4], 0
jle 0x5b92c2
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5b92c2
cmp dword [esi + 0x58], 0
je 0x5b9277
mov eax, dword [0x7f31d4]
cmp byte [eax + 0xeb], 0
je 0x5b9277
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5b9258
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5b9277
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 0x5b9260
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b92a6
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00496864
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b9286
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5aa5ac]
call fcn.0040c134
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5b9f24
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 0x5b9f81
cmp byte [ebx + 0xeb], 0
jne 0x5b9f81
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 0x5b9f6e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b9f8e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ca0
jmp 0x5b9f8e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ca0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5bb7a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5bb811
mov eax, esi
call fcn.005108a8
test al, al
je 0x5bb811
mov eax, dword [ebx + 0x98]
call fcn.005104d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5bb811
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x5bb802
push 0
mov eax, dword [ebx + 0x98]
call fcn.005104d4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00507284
jmp 0x5bb811
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005bb5ac
pop esi
pop ebx
ret
Function at 0x5d1d04
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 0x5d1d6b
cmp ebx, dword [ebp - 8]
jge 0x5d1d8e
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 0x5d1d39
jmp 0x5d1d8e
cmp ebx, dword [ebp - 8]
jge 0x5d1d8e
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 0x5d1d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5d1d98
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 0x5d1dff
cmp ebx, dword [ebp - 8]
jge 0x5d1e22
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 0x5d1dcd
jmp 0x5d1e22
cmp ebx, dword [ebp - 8]
jge 0x5d1e22
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 0x5d1e04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5dbc14
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7f3654], 0
jne 0x5dbc2b
call fcn.005dbbd0
mov eax, edi
dec eax
test eax, eax
jl 0x5dbc53
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7f3254]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5dbc35
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x628ab4
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 0x628ae5
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409a48
add esp, 0x24
pop ebx
ret

Function at 0x678548
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 0x678550
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x678705
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, 0x678720
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.00676778
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x678734
call fcn.005fd14c
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6785cb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x67860c
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.00676778
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x67879c
call fcn.005fd14c
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040a73c
mov eax, esi
mov edx, 0x6787c8
call fcn.0040a73c
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x678624
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x678692
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, 0x6787dc
call fcn.005fd14c
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040a73c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x67865b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x678686
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, 0x67880c
call fcn.005fd14c
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040a73c
mov eax, esi
mov edx, 0x6787c8
call fcn.0040a73c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x67869e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6786c9
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, 0x678838
call fcn.005fd14c
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040a73c
mov eax, esi
mov edx, 0x6787c8
call fcn.0040a73c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67870c
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 0x6a3bf4
Capabilities:
Encode data using xor

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

Function at 0x6a81e0
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 0x6a826f
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0x28
jne 0x6a826f
mov edi, eax
dec edi
test edi, edi
jl 0x6a831f
inc edi
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 2]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7bdb38]
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7bdb34]
faddp st(1)
movzx eax, byte [esi]
movzx eax, byte [ebx + eax*4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7bdb30]
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 0x6a820d
jmp 0x6a831f
mov edi, eax
dec edi
test edi, edi
jl 0x6a831f
inc edi
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, esi
call fcn.006a6dac
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 [0x7bdb38]
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebx + eax*4 + 1]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmul dword [0x7bdb34]
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 [0x7bdb30]
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.006a6b0c
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 0x6a827b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6a923c
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 0x6a933c
mov dword [ebp - 0x14], eax
mov eax, edi
mov byte [ecx], al
inc edi
inc ebx
cmp edi, 8
jne 0x6a9323
inc ecx
add esi, 8
dec dword [ebp - 0x10]
jne 0x6a9317
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 0x6b9580
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6b95b1
mov eax, ebx
call fcn.006b9548
cmp byte [ebx + 0x40], 0
je 0x6b95aa
mov dword [ebx + 0x14], 0xcf
mov al, 1
jmp 0x6b9640
mov dword [ebx + 0x14], 0xcb
mov eax, dword [ebx + 0x14]
cmp eax, 0xcb
jne 0x6b961e
mov eax, dword [ebx + 0x184]
cmp byte [eax + 0x10], 0
je 0x6b9616
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x6b95d3
mov eax, ebx
call dword [ebp]
mov esi, dword [ebx + 0x184]
mov eax, ebx
call dword [esi]
mov esi, eax
test esi, esi
jne 0x6b95e7
xor eax, eax
jmp 0x6b9640
cmp esi, 2
je 0x6b9616
cmp dword [ebx + 8], 0
je 0x6b95c7
cmp esi, 3
je 0x6b95fa
dec esi
jne 0x6b95c7
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 0x6b95c7
mov eax, dword [ebx + 0x110]
add dword [edi + 8], eax
jmp 0x6b95c7
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x78], eax
jmp 0x6b9639
cmp eax, 0xcc
je 0x6b9639
mov ecx, eax
test ecx, ecx
jns 0x6b9630
call fcn.00407a08
mov dl, 0x14
mov eax, ebx
call fcn.006ac9bc
mov eax, ebx
call fcn.006b9648
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6c9f70
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.006c9d28
pop ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 4]
dec ecx
test ecx, ecx
jl 0x6c9fe0
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 0x6c9fcf
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x14]
jge 0x6c9ff3
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 0x6c9fa6
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 0x6e5d7c
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.006e5ea4
mov esi, eax
mov eax, esi
call fcn.00406f20
mov ebx, eax
lea ecx, [ebp + 0x10]
mov edx, edi
mov eax, ebx
call fcn.006e5ea4
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 0x6f09c4
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 0x6f09f6
push ebx
call fcn.006f14dc
pop ecx
mov dl, byte [ebx + 0x40]
test dl, dl
je 0x6f09ef
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 0x6f0a6c
mov ecx, dword [ebx + 0x190]
mov al, byte [ecx + 0x10]
test al, al
je 0x6f0a61
mov edx, dword [ebx + 8]
test edx, edx
je 0x6f0a1c
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 0x6f0a2f
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x6f0a61
mov edx, dword [ebx + 8]
test edx, edx
je 0x6f0a0e
cmp eax, 3
je 0x6f0a43
dec eax
jne 0x6f0a0e
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 0x6f0a0e
mov edx, dword [ebx + 0x11c]
add dword [eax + 8], edx
jmp 0x6f0a0e
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x84], eax
jmp 0x6f0a8c
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x6f0a8c
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.006f0a98
pop ecx
pop ebx
pop ebp
ret