joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cb630
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 0x5cb7e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5cb7bf
mov dl, 1
mov eax, dword [0x486304]
call fcn.004b2214
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a4ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5cb7ae
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.0054852c
test al, al
je 0x5cb7a1
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5cb7f0
lea eax, [ebp - 0x394]
call fcn.00428168
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5cb7a1
xor eax, eax
push ebp
push 0x5cb79a
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 0x5cb860
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5cb781
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b0e4
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 0x5cb781
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b0e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cb7a1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5cb6a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b213c
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 0x5cb7e7
lea eax, [ebp - 0x3a0]
call fcn.0040a4ec
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x62cc60]
cmp byte [eax + 0xc5], 0
jne 0x5cc46a
cmp dword [0x62cc88], 0
jne 0x5cc42a
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x61dc40]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x62cc88], eax
cmp dword [0x62cc84], 0
jne 0x5cc445
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x62cc84], eax
cmp dword [0x62cc8c], 0
jne 0x5cc46a
push esp
push 0
push 0
mov eax, dword [0x61dc3c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x62cc8c], eax
pop edx
ret
Function at 0x5cc9e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5cc9fb
add esp, 0xfffffff0
call fcn.00408d30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c2fb4
mov eax, dword [0x624c14]
cmp byte [eax], 0
jne 0x5cca28
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x624fe0]
cmp word [eax + 2], 0
jne 0x5cca42
mov eax, dword [0x624fe0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ceea8
mov eax, dword [0x625124]
cmp word [eax + 2], 0
jne 0x5cca5c
mov eax, dword [0x625124]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005cf2c0
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50bc14]
call fcn.00512790
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5cf86c
mov dl, 1
mov eax, dword [0x4825b8]
call fcn.00408714
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4825b8]
call fcn.00408714
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 + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x510d84]
call fcn.0051cda4
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5ccc4c
mov eax, dword [0x624e60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051d2c0
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5cfb58
mov dl, 1
mov eax, dword [0x4825b8]
call fcn.00408714
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x624e60]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427f68
test eax, eax
je 0x5ccb6f
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00427d3c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00427f4c
test eax, eax
je 0x5ccb87
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.0040b0e4
push ebx
push 0x5ce87c
call fcn.005c0e78
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x624c14]
cmp byte [eax], 0
jne 0x5ccbd8
mov eax, ebx
call fcn.005cce14
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.005cff00
mov eax, ebx
call fcn.005d0a3c
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5ccc43
call fcn.00408d88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cd144
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5cd1e6
cmp dword [ebx + 0xac], 0
jne 0x5cd1e0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5cd084
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5cd1e0
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 0x5cd1a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5cd1e0
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.004ad064
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5cd1b5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x62cc60]
cmp dword [eax + 0x190], 0
je 0x5cd691
test bl, bl
jne 0x5cd5e4
cmp dword [esi + 0xb4], 0
jne 0x5cd5d9
mov eax, esi
call fcn.005d088c
push eax
push 0x5cd428
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5cd5aa
mov eax, dword [0x62cc60]
cmp byte [eax + 0xeb], 0
je 0x5cd5aa
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5cd58b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cd5aa
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 0x5cd593
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cd5d9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ad064
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cd5b9
inc dword [esi + 0xb4]
jmp 0x5cd691
cmp dword [esi + 0xb4], 0
jle 0x5cd691
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5cd691
cmp dword [esi + 0x58], 0
je 0x5cd646
mov eax, dword [0x62cc60]
cmp byte [eax + 0xeb], 0
je 0x5cd646
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5cd627
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cd646
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 0x5cd62f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cd675
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ad064
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cd655
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5bd970]
call fcn.0040d3e0
pop edi
pop esi
pop ebx
ret
Function at 0x5ce488
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 0x5ce4e5
cmp byte [ebx + 0xeb], 0
jne 0x5ce4e5
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.0040a684
mov eax, dword [esi]
test eax, eax
je 0x5ce4d2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ce4f2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a8dc
jmp 0x5ce4f2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a8dc
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5d0114
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5d0185
mov eax, esi
call fcn.00542014
test al, al
je 0x5d0185
mov eax, dword [ebx + 0x98]
call fcn.00541bac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d0185
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5d0176
push 0
mov eax, dword [ebx + 0x98]
call fcn.00541bac
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00537de4
jmp 0x5d0185
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cff20
pop esi
pop ebx
ret
Function at 0x5d5ca0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5d5d26
mov eax, dword [ebx + 8]
call fcn.00541bac
mov ecx, eax
mov dl, 1
mov eax, dword [0x54ed60]
call fcn.0053b690
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.005543b8
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d5570
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00541bac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00541bac
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5d5da8
mov eax, dword [ebx + 8]
call fcn.00541bac
mov ecx, eax
mov dl, 1
mov eax, dword [0x54ed60]
call fcn.0053b690
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.005543b8
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5d55bc
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00541bac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00541bac
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5d5e26
mov eax, dword [ebx + 8]
call fcn.00541bac
mov ecx, eax
mov dl, 1
mov eax, dword [0x54f854]
call fcn.0053b690
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00541bac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00541bac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5da98c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.00407f34
cmp dword [ebp - 4], 0
je 0x5daa40
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x5da9fc
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.005da8e0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00407500
jmp 0x5daa0c
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00407500
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x5daa26
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x5daa1d
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5daa58
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x5daada
movzx edx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x5daa97
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x5daa90
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x5daaf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5dab1a
mov dword [ebp - 0x10], 1
jmp 0x5dac6a
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x5dab32
mov dword [ebp - 0x10], 2
jmp 0x5dac6a
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.00407f34
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x5dac6a
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.005daae0
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00407f34
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x5dac30
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.005da98c
cmp dword [ebp - 0x18], 1
jne 0x5dabe4
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.005daa48
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.005daa48
jmp 0x5dabf6
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.005daa48
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.005daa58
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x5dac24
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x5dac18
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x5daba1
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x5dac60
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x5dac5a
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x5dac41
dec word [ebp - 0x22]
jne 0x5dab72
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x5daca0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x5daca8
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x5dacc1
pop ebx
ret
Function at 0x5e3150
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x61f4bc
test edx, edx
jne 0x5e316f
xor eax, eax
jmp 0x5e328d
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x5e318c
push esi
push edx
push eax
call fcn.005e32b0
add esp, 0xc
jmp 0x5e328d
push esi
push edx
push eax
call fcn.005e3570
add esp, 0xc
jmp 0x5e328d
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5e657c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x5e65c1
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x5e659e
mov esp, ebp
pop ebp
ret 4
Function at 0x5ea240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
call fcn.00407500
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x5ea31f
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x6236e0]
mov edx, 8
call fcn.005e639c
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x6236e0]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6236e0]
mov edx, 0x10
call fcn.005e639c
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x6236e0]
mov edx, 0x18
call fcn.005e639c
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x5ea2a2
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5f504c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f50c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040b090
mov eax, dword [ebp - 0x10]
call fcn.0040b030
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.0040b090
mov eax, dword [ebp - 0x14]
call fcn.0040b030
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f50ce
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a54c
pop eax
jmp eax

Function at 0x5f50d8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5f5f04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f5f6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00427778
mov eax, dword [ebp - 4]
call fcn.005f5e54
test al, al
je 0x5f5f3d
mov byte [ebp - 5], 1
jmp 0x5f5f52
mov eax, dword [ebp - 0xc]
call fcn.0040b030
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f5f71
lea eax, [ebp - 0xc]
call fcn.0040a4ec
pop eax
jmp eax

Function at 0x5f6264
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x5f62be
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x6247dc]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5f628c
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x5f645c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x5f64b9
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.005f63c0
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.005f6328
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x5f647e
mov esp, ebp
pop ebp
ret
Function at 0x5f6514
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5f656c
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x5f659c
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.0040ad98
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.005f6328
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x5f657f
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.005f63c0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.005f6328
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x5f65a1
mov esp, ebp
pop ebp
ret