joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45af6c
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.00404950
mov eax, dword [ebp - 8]
call fcn.00404950
xor eax, eax
push ebp
push 0x45b01e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004090b0
test al, al
jne 0x45afac
xor ebx, ebx
jmp 0x45b003
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004093c0
mov eax, dword [ebp - 0xc]
call fcn.004090c0
test al, al
jne 0x45afd3
mov eax, dword [ebp - 0xc]
call fcn.004090e4
test al, al
jne 0x45afd3
xor ebx, ebx
jmp 0x45b003
mov ebx, 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404960
push eax
mov eax, dword [ebp - 4]
call fcn.00404960
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
inc ebx
cmp al, 1
je 0x45b001
cmp ebx, 0x64
jne 0x45afd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b025
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044c4
ret

Function at 0x45b648
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 0x45b7d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48ea38]
cmp dword [eax], 2
jne 0x45b718
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.0040978c
lea eax, [ebp - 0x208]
push eax
mov eax, dword [esi]
mov ecx, 4
mov edx, 1
call fcn.004049c0
mov eax, dword [ebp - 0x208]
mov edx, 0x45b7ec
call fcn.004048ac
jne 0x45b70c
push esi
mov eax, dword [esi]
call fcn.00404760
mov ecx, eax
mov eax, dword [esi]
mov edx, 5
call fcn.004049c0
jmp 0x45b7b8
mov eax, esi
call fcn.004044a0
jmp 0x45b7b8
lea eax, [ebp - 0x210]
mov edx, ebx
call fcn.00404688
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.004084d8
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.0040978c
cmp dword [esi], 0
je 0x45b7b8
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.0040978c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b7dd
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.004044c4
ret
Function at 0x45b7f4
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.00404950
xor eax, eax
push ebp
push 0x45b922
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404d34
mov edx, 1
mov eax, 2
call fcn.0045a364
mov esi, eax
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
mov eax, esi
call fcn.0045a3c4
xor edi, edi
jmp 0x45b877
lea edx, [ebp - 0x238]
mov eax, esi
call fcn.0045a3e4
inc edi
cmp edi, 0xc8
jle 0x45b877
mov bl, 1
jmp 0x45b89f
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x214]
mov ecx, 0x104
call fcn.00404d18
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0xc]
call fcn.00408850
test al, al
je 0x45b85d
test bl, bl
je 0x45b8ac
mov dword [ebp - 8], 0xffffffff
jmp 0x45b8f9
xor eax, eax
push ebp
push 0x45b8f2
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 0x45b8dd
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x45b8e4
mov dword [ebp - 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8f9
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b929
lea eax, [ebp - 0x23c]
call fcn.00404bac
lea eax, [ebp - 0xc]
call fcn.00404bac
lea eax, [ebp - 4]
call fcn.004044a0
ret
Function at 0x45b934
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.00404950
lea edi, [ebp - 0x134]
xor eax, eax
push ebp
push 0x45bb58
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.0045a364
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0045a384
mov ebx, eax
jmp 0x45ba82
lea eax, [ebp - 0x140]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404710
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00409414
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004084d8
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.004084d8
mov edx, dword [ebp - 0x144]
pop eax
call fcn.004048ac
je 0x45ba5f
lea eax, [ebp - 0x14c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404710
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.004084d8
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.004084d8
mov edx, dword [ebp - 0x150]
pop eax
call fcn.004048ac
jne 0x45ba77
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.0045a3a4
mov ebx, eax
test ebx, ebx
jne 0x45b9c0
push esi
call sub.kernel32.dll_CloseHandle
mov dl, 1
mov eax, dword [0x413690]
call fcn.004036c4
mov dword [ebp - 0xc], eax
mov dl, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.00416f48
lea eax, [ebp - 0x154]
call fcn.0045bb6c
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0xc]
call fcn.00416db8
xor eax, eax
push ebp
push 0x45bb21
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x45bafd
mov eax, dword [ebp - 4]
call fcn.0045b934
push 0xc8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x158]
call fcn.0045bb6c
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0xc]
call fcn.00416db8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x45bad2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bb28
mov eax, dword [ebp - 0xc]
call fcn.004036f4
ret
Function at 0x462468
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 0x462522
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404bac
mov eax, dword [0x48e68c]
cmp byte [eax], 0
je 0x4624d7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404f28
mov eax, dword [ebx]
call fcn.00404d54
push eax
mov eax, dword [ebx]
call fcn.00404d44
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404d54
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404f28
jmp 0x462509
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.0040978c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462529
lea eax, [ebp - 0x3f0]
call fcn.004044a0
ret

Function at 0x462530
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.0040978c
add esp, 0x3ec
pop ebx
ret

Function at 0x4626f0
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 0x4627b6
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044f7e0
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004623ac
mov edi, eax
test edi, edi
je 0x46274f
mov al, byte [0x4627c4]
cmp al, bl
jne 0x46274f
mov edx, edi
mov eax, ebp
call fcn.004622e4
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4627b6
cmp byte [ebp + 0x161], 2
jne 0x46277a
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x48e998]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00439d28
test eax, eax
jne 0x4627b6
jmp 0x4627b1
mov edx, dword [0x48e8c0]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4627b1
test byte [eax + 0x2f4], 8
jne 0x4627b1
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x48e8c0]
mov eax, edx
mov edx, 0xb006
call fcn.00439d28
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x468814
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 [0x48e998]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4688ba
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x468859
cmp eax, dword [esp]
pop edx
pop eax
jae 0x468895
jmp 0x46885d
pop edx
pop eax
jge 0x468895
mov eax, dword [0x48e998]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004634dc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4688ba
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4688ba
cmp dword [ebx + 0x11c], 0
je 0x4688ba
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042ca88
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 0x46f7e8
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 0x46f8a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404bac
mov eax, dword [0x48e68c]
cmp byte [eax], 0
je 0x46f857
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404f28
mov eax, dword [ebx]
call fcn.00404d54
push eax
mov eax, dword [ebx]
call fcn.00404d44
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404d54
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404f28
jmp 0x46f889
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.0040978c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404d34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f8a9
lea eax, [ebp - 0x3f0]
call fcn.004044a0
ret

Function at 0x472ab8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x472b12
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.00472b1c
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 0x472b19
ret
Function at 0x478f78
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 0x478fae
jmp 0x479054
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 0x478ff2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x17c], 0
je 0x478ff2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x17c]
mov eax, dword [eax + 0x14]
jmp 0x479002
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x178]
test edx, edx
je 0x479002
mov eax, dword [edx + 0x14]
test eax, eax
je 0x47901b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00475904
jmp 0x479054
mov dl, 1
mov eax, dword [0x41d208]
call fcn.0041f170
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041fc94
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0041ed20
mov edx, esp
mov eax, esi
call fcn.0041f914
mov eax, esi
call fcn.004036f4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x47b858
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043f35c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00438a94
pop ebx
ret
Function at 0x485ea4
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 0x486015
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 0x485ffa
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.0040978c
mov dl, 1
mov eax, dword [0x45c914]
call fcn.0045c96c
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x413980]
call fcn.004036c4
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.0045c9e8
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x485ff7
mov dl, 1
mov eax, dword [0x45df04]
call fcn.0045df6c
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, 0x48602c
call fcn.0045d150
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004047ac
xor eax, eax
push ebp
push 0x485ff0
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.0045e26c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00486034
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485ff7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004036f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004036f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004036f4
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48601c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004044c4
ret
Function at 0x4888ac
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.00404950
lea eax, [ebp - 0x160]
mov edx, dword [0x4077f4]
call fcn.00404f90
xor eax, eax
push ebp
push 0x488ab0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 1
mov eax, dword [ebp - 4]
call fcn.0045bfc0
test al, al
je 0x488a79
lea edx, [ebp - 0x164]
mov eax, dword [ebp - 4]
call fcn.00488868
lea eax, [ebp - 0x164]
mov edx, 0x488ac8
call fcn.00404768
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.00409238
mov esi, eax
xor eax, eax
push ebp
push 0x488a61
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x488a48
mov eax, dword [ebp - 0x154]
mov edx, 0x488ad4
call fcn.004048ac
je 0x488a33
mov eax, dword [ebp - 0x154]
mov edx, 0x488ae0
call fcn.004048ac
je 0x488a33
push 0x80
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 4]
call fcn.00488868
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x154]
call fcn.00404768
mov eax, dword [ebp - 0x168]
call fcn.00404960
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x158]
and eax, 0x10
cmp eax, 0x10
jne 0x488a02
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.00488868
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x154]
call fcn.00404768
mov eax, dword [ebp - 0x16c]
mov ecx, ebx
mov dl, 1
call fcn.004888ac
mov byte [ebp - 6], al
jmp 0x488a33
test bl, bl
jne 0x488a33
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 4]
call fcn.00488868
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x154]
call fcn.00404768
mov eax, dword [ebp - 0x170]
call fcn.004092c8
mov byte [ebp - 6], al
lea eax, [ebp - 0x160]
call fcn.00409288
mov esi, eax
test esi, esi
je 0x488960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a68
lea eax, [ebp - 0x160]
call fcn.004092ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488ab7
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.004044c4
lea eax, [ebp - 0x160]
mov edx, dword [0x4077f4]
call fcn.00405060
lea eax, [ebp - 4]
call fcn.004044a0
ret

Function at 0x488e50
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 + 0x48e374]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x488e8c
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 0x488ea4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x488e9d
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.004030dc
xor edx, edx
mov eax, 0x48e574
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 0x488f0e
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 0x488ec2
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x48914c
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 0x489165
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x48915e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x489177
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x489170
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00488d40
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 0x489191
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.00488e50
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x489216
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 0x489233
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00488dd0
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 0x48925c
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc