joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6042e4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x60448f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x604470
mov dl, 1
mov eax, dword [0x447a4c]
call fcn.0047197c
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040b33c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x60445f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00565bac
test al, al
je 0x604452
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x6044a0
lea eax, [ebp - 0x394]
call fcn.00427c28
push eax
push 0x80000002
add byte [eax], al
sub al, 0x99
and eax, 0xc085ffe1
jne 0x604452
xor eax, eax
push ebp
push 0x60444b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x604510
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x604434
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c3fc
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x604434
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c3fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604452
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x604355
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004718a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604496
lea eax, [ebp - 0x3a0]
call fcn.0040b33c
ret

Function at 0x60509c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x8787a8]
cmp byte [eax + 0xc5], 0
jne 0x60510e
cmp dword [0x8787cc], 0
jne 0x6050ce
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x800098]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x8787cc], eax
cmp dword [0x8787c8], 0
jne 0x6050e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x8787c8], eax
cmp dword [0x8787d0], 0
jne 0x60510e
push esp
push 0
push 0
mov eax, dword [0x800094]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x8787d0], eax
pop edx
ret
Function at 0x605530
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x605547
add esp, 0xfffffff0
call fcn.00409a8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0048213c
mov eax, dword [0x870d70]
cmp byte [eax], 0
jne 0x605574
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x87119c]
cmp word [eax + 2], 0
jne 0x60558e
mov eax, dword [0x87119c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.006079c8
mov eax, dword [0x87130c]
cmp word [eax + 2], 0
jne 0x6055a8
mov eax, dword [0x87130c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00607bcc
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x52b4c4]
call fcn.00531a08
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x608144
mov dl, 1
mov eax, dword [0x444090]
call fcn.004093d4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x444090]
call fcn.004093d4
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 [0x530260]
call fcn.0053bcc4
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x605798
mov eax, dword [0x870fec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0053c1e0
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x60842c
mov dl, 1
mov eax, dword [0x444090]
call fcn.004093d4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x870fec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427a28
test eax, eax
je 0x6056c2
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00427880
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00427a0c
test eax, eax
je 0x6056da
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.0040c3fc
push ebx
push 0x6073a8
call fcn.005fa6e0
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x870d70]
cmp byte [eax], 0
jne 0x60572b
mov eax, ebx
call fcn.00605960
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.00608664
mov eax, ebx
call fcn.006092ec
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60578f
call fcn.00409ae4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x605c8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x605d2e
cmp dword [ebx + 0xac], 0
jne 0x605d28
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x605bcc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x605d28
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 0x605cee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x605d28
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.0046ca34
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x605cfd
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x8787a8]
cmp dword [eax + 0x188], 0
je 0x60613d
test bl, bl
jne 0x606090
cmp dword [esi + 0xb4], 0
jne 0x606085
mov eax, esi
call fcn.0060913c
push eax
push 0x605ed4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x606056
mov eax, dword [0x8787a8]
cmp byte [eax + 0xeb], 0
je 0x606056
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x606037
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x606056
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 0x60603f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x606085
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046ca34
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x606065
inc dword [esi + 0xb4]
jmp 0x60613d
cmp dword [esi + 0xb4], 0
jle 0x60613d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x60613d
cmp dword [esi + 0x58], 0
je 0x6060f2
mov eax, dword [0x8787a8]
cmp byte [eax + 0xeb], 0
je 0x6060f2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x6060d3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x6060f2
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 0x6060db
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x606121
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046ca34
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x606101
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5f7358]
call fcn.0040df28
pop edi
pop esi
pop ebx
ret
Function at 0x606ec4
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 0x606f21
cmp byte [ebx + 0xeb], 0
jne 0x606f21
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.0040b4c4
mov eax, dword [esi]
test eax, eax
je 0x606f0e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x606f2e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b71c
jmp 0x606f2e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b71c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x608878
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x6088e9
mov eax, esi
call fcn.0055f710
test al, al
je 0x6088e9
mov eax, dword [ebx + 0x98]
call fcn.0055f33c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6088e9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x6088da
push 0
mov eax, dword [ebx + 0x98]
call fcn.0055f33c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00555f14
jmp 0x6088e9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00608684
pop esi
pop ebx
ret
Function at 0x611270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b420
xor eax, eax
push ebp
push 0x611316
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040b33c
mov eax, dword [ebp - 4]
call fcn.0040b834
mov ebx, eax
test ebx, ebx
jle 0x6112e8
mov esi, 1
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov dl, 0xe0
and dl, al
and al, 0x1f
xor al, 5
add dl, al
mov eax, edx
movzx edi, al
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040c368
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0040c554
inc esi
dec ebx
jne 0x6112b8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b71c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61131d
lea eax, [ebp - 0x10]
call fcn.0040b33c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b39c
ret
Function at 0x639377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, 0x40
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x440], 0
jne 0x63939f
jmp 0x639442
mov eax, 0x20
sub eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x20
jae 0x639407
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x440]
dec ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jl 0x639442
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov ebx, dword [edx + eax*4]
shl ebx, cl
mov ecx, dword [ebp - 0x20]
shr ebx, cl
mov dword [ebp - 8], ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
shr dword [edx + eax*4], cl
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
shl eax, cl
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
xor dword [ecx + edx*4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jge 0x6393c3
jmp 0x639442
mov edx, dword [ebp + 0xc]
shr edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov edx, eax
shl edx, 0x1b
xor eax, eax
mov eax, edx
shr eax, 0x1b
xor edx, edx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00615d7e
add esp, 8
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.00639377
add esp, 8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x639447
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x440], 0
jne 0x63947b
mov eax, dword [ebp + 0xc]
shr eax, 5
push eax
push dword [ebp + 8]
call fcn.0062c0ad
add esp, 8
jmp 0x639573
cmp dword [ebp + 0xc], 0x20
jae 0x639538
mov edx, 0x20
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x6394bb
mov edx, dword [ebp - 0x10]
inc edx
mov ecx, dword [ebp + 0xc]
sub ecx, edx
mov ebx, 1
shl ebx, cl
xor dword [ebp - 0x20], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jb 0x63949d
mov ecx, dword [ebp - 0x1c]
shl dword [ebp - 0x20], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x440]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + eax*4 - 4]
and ecx, dword [ebp - 0x20]
je 0x6394ec
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x440]
inc edx
push edx
push dword [ebp + 8]
call fcn.0062c0ad
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x639528
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + eax*4]
and ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
shl dword [edx + eax*4], cl
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
shr eax, cl
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
xor dword [ecx + edx*4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x440]
jb 0x6394f3
jmp 0x639573
mov edx, dword [ebp + 0xc]
shr edx, 5
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov edx, eax
shl edx, 0x1b
xor eax, eax
mov eax, edx
shr eax, 0x1b
xor edx, edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.006156f3
add esp, 8
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00639447
add esp, 8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6ab75e
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0x8150a0
push 0x815098
lea edx, [ebp - 8]
push edx
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x6ab78e
mov eax, 0xfffffff4
jmp 0x6ab7ca
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.bcrypt.dll_BCryptGenRandom
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x6ab7ae
mov eax, 0xfffffff4
jmp 0x6ab7ca
push 0
push dword [ebp - 8]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x6ab7c8
mov eax, 0xfffffff4
jmp 0x6ab7ca
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6bb25c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov eax, dword [ebp + 0xc]
test al, al
jne 0x6bb2a1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
push ebx
call fcn.006c4640
add esp, 0x10
mov edi, eax
test edi, edi
je 0x6bb3c1
mov ecx, edi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
jmp 0x6bb3c1
cmp al, 1
jne 0x6bb2f9
xor eax, eax
movzx edx, byte [ebx + eax]
mov ecx, dword [ebp + 8]
xor dl, byte [ecx + eax]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x10
jne 0x6bb2a7
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
push ebx
call fcn.006c4640
add esp, 0x10
mov edi, eax
test edi, edi
je 0x6bb2e5
mov ecx, edi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
mov edx, dword [ebp + 8]
mov eax, esi
mov ecx, 0x10
call fcn.0040741c
jmp 0x6bb3c1
cmp al, 2
jne 0x6bb34e
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.006c4640
add esp, 0x10
mov edi, eax
test edi, edi
je 0x6bb32b
mov ecx, edi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
mov edx, dword [ebp + 8]
mov eax, esi
mov ecx, 0x10
call fcn.0040741c
xor eax, eax
movzx edx, byte [ebx + eax]
xor dl, byte [esi + eax]
mov byte [esi + eax], dl
inc eax
cmp eax, 0x10
jne 0x6bb33c
jmp 0x6bb3c1
cmp al, 3
jne 0x6bb3c1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.006c4640
add esp, 0x10
mov edi, eax
test edi, edi
je 0x6bb380
mov ecx, edi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
mov eax, 0xf
jmp 0x6bb38f
mov edx, dword [ebp + 8]
mov byte [edx + eax], 0
dec eax
mov edx, dword [ebp + 8]
cmp byte [edx + eax], 0xff
jne 0x6bb39c
test eax, eax
jge 0x6bb387
cmp eax, 0xffffffff
je 0x6bb3af
mov edx, dword [ebp + 8]
movzx edx, byte [edx + eax]
inc edx
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], dl
xor eax, eax
movzx edx, byte [ebx + eax]
xor dl, byte [esi + eax]
mov byte [esi + eax], dl
inc eax
cmp eax, 0x10
jne 0x6bb3b1
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x6bb3c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test al, al
jne 0x6bb415
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
call fcn.006c473a
add esp, 0x10
mov esi, eax
test esi, esi
je 0x6bb528
mov ecx, esi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
jmp 0x6bb528
cmp al, 1
jne 0x6bb46d
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
call fcn.006c473a
add esp, 0x10
mov esi, eax
test esi, esi
je 0x6bb447
mov ecx, esi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
xor eax, eax
movzx edx, byte [ebx + eax]
xor dl, byte [edi + eax]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x10
jne 0x6bb449
mov edx, edi
mov eax, dword [ebp - 4]
mov ecx, 0x10
call fcn.0040741c
jmp 0x6bb528
cmp al, 2
jne 0x6bb4c1
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ebx
push edi
call fcn.006c4640
add esp, 0x10
mov esi, eax
test esi, esi
je 0x6bb49c
mov ecx, esi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
mov edx, edi
mov eax, ebx
mov ecx, 0x10
call fcn.0040741c
xor eax, eax
mov edx, dword [ebp - 4]
movzx edx, byte [edx + eax]
xor dl, byte [ebx + eax]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x10
jne 0x6bb4ac
jmp 0x6bb528
cmp al, 3
jne 0x6bb528
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ebx
push edi
call fcn.006c4640
add esp, 0x10
mov esi, eax
test esi, esi
je 0x6bb4f0
mov ecx, esi
mov dl, 1
mov eax, dword [0x612340]
call fcn.006124f8
call fcn.0040a9f8
mov eax, 0xf
jmp 0x6bb4fc
mov byte [edi + eax], 0
dec eax
cmp byte [edi + eax], 0xff
jne 0x6bb506
test eax, eax
jge 0x6bb4f7
cmp eax, 0xffffffff
je 0x6bb513
movzx edx, byte [edi + eax]
inc edx
mov byte [edi + eax], dl
xor eax, eax
mov edx, dword [ebp - 4]
movzx edx, byte [edx + eax]
xor dl, byte [ebx + eax]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x10
jne 0x6bb515
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x6c343f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, 0x856c84
lea edi, [ebp - 0x28]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x856c94
lea edi, [ebp - 0x38]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x14], edx
push dword [ebp + 0xc]
call sub.msvcrt.dll_strlen
pop ecx
test eax, eax
je 0x6c34a3
push 0x8000
push dword [ebp + 0xc]
call sub.msvcrt.dll__open
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
jge 0x6c34a3
mov dword [ebp - 0x14], 0xffffff35
mov eax, dword [ebp - 0x14]
jmp 0x6c35e0
push dword [ebp + 0xc]
call sub.msvcrt.dll_strlen
pop ecx
test eax, eax
je 0x6c34d3
push 2
push 0
push dword [ebp - 0x18]
call sub.msvcrt.dll__lseek
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0
push 0
push dword [ebp - 0x18]
call sub.msvcrt.dll__lseek
add esp, 0xc
jmp 0x6c34da
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x10], 0xffffffff
je 0x6c355b
push 0x10
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x18]
call sub.msvcrt.dll__read
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jne 0x6c3555
mov ecx, dword [ebp + 0x14]
add dword [ecx], 0x80
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x28]
push edx
push dword [ebp + 0x10]
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6c3522
jmp 0x6c35ce
push dword [ebp + 0x10]
push dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
call fcn.006c37de
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6c3540
jmp 0x6c35ce
xor edx, edx
mov dword [ebp - 4], edx
push 0x10
push 0
lea ecx, [ebp - 0x28]
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp - 4], 0x10
je 0x6c34e0
mov eax, dword [ebp - 4]
shl eax, 3
mov edx, dword [ebp + 0x14]
add dword [edx], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
shr eax, 7
inc eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
mov ebx, dword [ebp - 8]
dec ebx
shl ebx, 7
sub ecx, ebx
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x6c3590
mov dword [ebp - 0xc], 0x80
cmp dword [ebp - 0xc], 0x80
je 0x6c35ce
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x28]
push edx
push dword [ebp + 0x10]
call fcn.006c3a63
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6c35b5
jmp 0x6c35ce
push dword [ebp + 0x10]
push dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
call fcn.006c37de
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x6c35ce
cmp dword [ebp - 0x10], 0xffffffff
je 0x6c35dd
push dword [ebp - 0x18]
call sub.msvcrt.dll__close
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret