joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486044
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f2c
mov eax, dword [ebp - 8]
call fcn.00404f2c
xor eax, eax
push ebp
push 0x4860f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409e80
test al, al
jne 0x486084
xor ebx, ebx
jmp 0x4860db
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040a308
mov eax, dword [ebp - 0xc]
call fcn.00409e90
test al, al
jne 0x4860ab
mov eax, dword [ebp - 0xc]
call fcn.00409eb4
test al, al
jne 0x4860ab
xor ebx, ebx
jmp 0x4860db
mov ebx, 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404f3c
push eax
mov eax, dword [ebp - 4]
call fcn.00404f3c
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
inc ebx
cmp al, 1
je 0x4860d9
cmp ebx, 0x64
jne 0x4860b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4860fd
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404aa0
ret

Function at 0x486678
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486806
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4dc5ac]
cmp dword [eax], 2
jne 0x486748
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x3a
mov byte [ebp - 0x201], 0
mov byte [ebp - 0x102], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x102]
push eax
lea eax, [ebp - 0x203]
push eax
call sub.kernel32.dll_QueryDosDeviceA
mov edx, esi
lea eax, [ebp - 0x102]
call fcn.0040a8f4
lea eax, [ebp - 0x208]
push eax
mov eax, dword [esi]
mov ecx, 4
mov edx, 1
call fcn.00404f9c
mov eax, dword [ebp - 0x208]
mov edx, 0x48681c
call fcn.00404e88
jne 0x48673c
push esi
mov eax, dword [esi]
call fcn.00404d3c
mov ecx, eax
mov eax, dword [esi]
mov edx, 5
call fcn.00404f9c
jmp 0x4867e8
mov eax, esi
call fcn.00404a7c
jmp 0x4867e8
lea eax, [ebp - 0x210]
mov edx, ebx
call fcn.00404c64
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00409198
mov eax, dword [ebp - 0x20c]
mov al, byte [eax]
sub al, 0x40
mov byte [ebp - 1], al
mov byte [ebp - 0x102], 0
pushal
push es
xor ebx, ebx
mov bh, 2
mov bl, byte [ebp - 1]
lea edx, [ebp - 0x102]
push 0
push 0x71aa
push 0x2a0010
call sub.kernel32.dll_BaseThreadInitThunk
pop es
popal
mov edx, esi
lea eax, [ebp - 0x102]
call fcn.0040a8f4
cmp dword [esi], 0
je 0x4867e8
pushal
push ds
push es
xor ebx, ebx
lea esi, [ebp - 0x102]
lea edi, [ebp - 0x203]
mov ecx, 0
mov cl, 2
mov ch, 0
push ecx
push 0x7160
push 0x2a0010
call sub.kernel32.dll_BaseThreadInitThunk
pop es
pop ds
popal
mov edx, esi
lea eax, [ebp - 0x203]
call fcn.0040a8f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48680d
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.00404aa0
ret
Function at 0x486824
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f2c
xor eax, eax
push ebp
push 0x486952
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405310
mov edx, 1
mov eax, 2
call fcn.00485180
mov esi, eax
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
mov eax, esi
call fcn.004851e0
xor edi, edi
jmp 0x4868a7
lea edx, [ebp - 0x238]
mov eax, esi
call fcn.00485200
inc edi
cmp edi, 0xc8
jle 0x4868a7
mov bl, 1
jmp 0x4868cf
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x214]
mov ecx, 0x104
call fcn.004052f4
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0xc]
call fcn.00409510
test al, al
je 0x48688d
test bl, bl
je 0x4868dc
mov dword [ebp - 8], 0xffffffff
jmp 0x486929
xor eax, eax
push ebp
push 0x486922
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x230]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x48690d
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x486914
mov dword [ebp - 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486929
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486959
lea eax, [ebp - 0x23c]
call fcn.00405188
lea eax, [ebp - 0xc]
call fcn.00405188
lea eax, [ebp - 4]
call fcn.00404a7c
ret
Function at 0x486964
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f2c
lea edi, [ebp - 0x134]
xor eax, eax
push ebp
push 0x486b88
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00485180
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004851a0
mov ebx, eax
jmp 0x486ab2
lea eax, [ebp - 0x140]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404cec
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.0040a3f0
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00409198
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.00409198
mov edx, dword [ebp - 0x144]
pop eax
call fcn.00404e88
je 0x486a8f
lea eax, [ebp - 0x14c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404cec
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409198
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.00409198
mov edx, dword [ebp - 0x150]
pop eax
call fcn.00404e88
jne 0x486aa7
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
mov edx, edi
mov eax, esi
call fcn.004851c0
mov ebx, eax
test ebx, ebx
jne 0x4869f0
push esi
call sub.kernel32.dll_CloseHandle_1
mov dl, 1
mov eax, dword [0x417b64]
call fcn.00403ca0
mov dword [ebp - 0xc], eax
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.0041b440
lea eax, [ebp - 0x154]
call fcn.00486b9c
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0xc]
call fcn.0041b2b0
xor eax, eax
push ebp
push 0x486b51
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x486b2d
mov eax, dword [ebp - 4]
call fcn.00486964
push 0xc8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x158]
call fcn.00486b9c
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0xc]
call fcn.0041b2b0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x486b02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486b58
mov eax, dword [ebp - 0xc]
call fcn.00403cd0
ret
Function at 0x48d714
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48d7ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405188
mov eax, dword [0x4dc154]
cmp byte [eax], 0
je 0x48d783
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004055fc
mov eax, dword [ebx]
call fcn.00405330
push eax
mov eax, dword [ebx]
call fcn.00405320
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405330
mov edx, eax
dec edx
mov eax, ebx
call fcn.004055fc
jmp 0x48d7b5
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a8f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7d5
lea eax, [ebp - 0x3f0]
call fcn.00404a7c
ret

Function at 0x4909e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x490a3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00490a48
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a45
ret

Function at 0x496ea4
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x496eda
jmp 0x496f80
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x496f1e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x17c], 0
je 0x496f1e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
jmp 0x496f2e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x178]
test edx, edx
je 0x496f2e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x496f47
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00493830
jmp 0x496f80
mov dl, 1
mov eax, dword [0x421758]
call fcn.004236c0
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00424270
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00423270
mov edx, esp
mov eax, esi
call fcn.00423e64
mov eax, esi
call fcn.00403cd0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x499784
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004497c8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00442e58
pop ebx
ret
Function at 0x49fd1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49fdd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405188
mov eax, dword [0x4dc154]
cmp byte [eax], 0
je 0x49fd8b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004055fc
mov eax, dword [ebx]
call fcn.00405330
push eax
mov eax, dword [ebx]
call fcn.00405320
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405330
mov edx, eax
dec edx
mov eax, ebx
call fcn.004055fc
jmp 0x49fdbd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a8f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fddd
lea eax, [ebp - 0x3f0]
call fcn.00404a7c
ret

Function at 0x49fde4
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a8f4
add esp, 0x3ec
pop ebx
ret

Function at 0x49ffa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4a006a
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00459c68
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.0049fc60
mov edi, eax
test edi, edi
je 0x4a0003
mov al, byte [0x4a0078]
cmp al, bl
jne 0x4a0003
mov edx, edi
mov eax, ebp
call fcn.0049fb98
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4a006a
cmp byte [ebp + 0x161], 2
jne 0x4a002e
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4dc4e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.004440ec
test eax, eax
jne 0x4a006a
jmp 0x4a0065
mov edx, dword [0x4dc3d8]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4a0065
test byte [eax + 0x2f4], 8
jne 0x4a0065
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4dc3d8]
mov eax, edx
mov edx, 0xb006
call fcn.004440ec
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a60c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4dc4e8]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4a616e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4a610d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4a6149
jmp 0x4a6111
pop edx
pop eax
jge 0x4a6149
mov eax, dword [0x4dc4e8]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004a0d90
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4a616e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4a616e
cmp dword [ebx + 0x11c], 0
je 0x4a616e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00431b2c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b0cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b0e31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b0e16
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040a8f4
mov dl, 1
mov eax, dword [0x4876f4]
call fcn.0048774c
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x417e78]
call fcn.00403ca0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004877c8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b0e13
mov dl, 1
mov eax, dword [0x488d0c]
call fcn.00488d74
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4b0e48
call fcn.00487f30
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404d88
xor eax, eax
push ebp
push 0x4b0e0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00489074
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b0e50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0e13
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403cd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403cd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403cd0
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0e38
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404aa0
ret
Function at 0x4b3728
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f2c
lea eax, [ebp - 0x160]
mov edx, dword [0x40849c]
call fcn.00405664
xor eax, eax
push ebp
push 0x4b392c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
call fcn.0046f3b0
test al, al
je 0x4b38f5
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.004b36e4
lea eax, [ebp - 0x164]
mov edx, 0x4b3944
call fcn.00404d44
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.0040a0ec
mov esi, eax
xor eax, eax
push ebp
push 0x4b38dd
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4b38c4
mov eax, dword [ebp - 0x154]
mov edx, 0x4b3950
call fcn.00404e88
je 0x4b38af
mov eax, dword [ebp - 0x154]
mov edx, 0x4b395c
call fcn.00404e88
je 0x4b38af
push 0x80
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.004b36e4
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x154]
call fcn.00404d44
mov eax, dword [ebp - 0x168]
call fcn.00404f3c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x4b387e
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.004b36e4
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x154]
call fcn.00404d44
mov eax, dword [ebp - 0x16c]
mov ecx, ebx
mov dl, 1
call fcn.004b3728
mov byte [ebp - 6], al
jmp 0x4b38af
test bl, bl
jne 0x4b38af
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 4]
call fcn.004b36e4
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x154]
call fcn.00404d44
mov eax, dword [ebp - 0x170]
call fcn.0040a17c
mov byte [ebp - 6], al
lea eax, [ebp - 0x160]
call fcn.0040a13c
mov esi, eax
test esi, esi
je 0x4b37dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b38e4
lea eax, [ebp - 0x160]
call fcn.0040a160
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3933
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00404aa0
lea eax, [ebp - 0x160]
mov edx, dword [0x40849c]
call fcn.00405734
lea eax, [ebp - 4]
call fcn.00404a7c
ret

Function at 0x4b3db4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4db470]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x4b3df0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4b3e08
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b3e01
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403604
xor edx, edx
mov eax, 0x4db670
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4b3e72
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4b3e26
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4b40b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4b40c9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4b40c2
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4b40db
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b40d4
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004b3ca4
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b40f5
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004b3db4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4b417a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4b4197
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004b3d34
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b41c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc