joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c3e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x45c413
push 0x45c48c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f8b0
jmp 0x45c47c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45c475
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45c44b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00407288
jmp 0x45c453
mov eax, dword [ebp - 8]
call fcn.0040662c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c47c
call sub.user32.dll_CloseClipboard
cmp dword [ebp - 0xc], 0
je 0x45c474
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov esp, ebp
pop ebp
ret
Function at 0x4635d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463723
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0xad]
mov byte [ebp - 0x11], al
xor eax, eax
push ebp
push 0x463701
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xad], 1
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00463500
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x4636e4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00463560
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x4636d8
push 0x46373c
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404fac
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov ecx, 0x46379c
call fcn.0042b700
push dword [ebp - 0x1c]
push 0x4637ac
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0041d1ac
push dword [ebp - 0x24]
push 0x4637bc
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0041d1ac
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004074a8
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41a668]
call fcn.004229c8
call fcn.00405d24
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jl 0x46364c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463708
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [eax + 0xad], dl
ret

Function at 0x478150
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
mov ecx, edx
test ecx, ecx
je 0x47815f
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x478180
mov ebx, 1
mov esi, eax
add esi, esi
add esi, esi
shr eax, 0x1e
or esi, eax
movzx eax, word [edx + ebx*2 - 2]
xor esi, eax
mov eax, esi
inc ebx
dec ecx
jne 0x478168
pop esi
pop ebx
ret
Function at 0x484a00
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
mov edx, 0x158
call fcn.0042ad80
lea eax, [ebp - 0x46]
mov edx, 0x40
call fcn.0042ad80
cmp dword [ebp - 4], 0
je 0x484abe
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x484a7a
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.004849b0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 2]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00404860
jmp 0x484a8a
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00404860
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x484aa4
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x484a9b
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 4]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x484b71
movzx edx, word [eax]
mov word [ebp - 6], dx
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call dword [esi + 8]
movzx edx, word [ebp - 6]
dec edx
test edx, edx
jl 0x484b2f
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x484b28
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 4]
mov esi, dword [ebx + 0x154]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0xc]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 2]
mov edx, dword [ebp - 4]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
mov edx, dword [ebp - 4]
mov eax, ebx
call dword [esi + 8]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x484c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push esi
push edi
push ebx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [esi], eax
add esi, 4
add edx, 4
dec ecx
jne 0x484c2a
mov ecx, 0x30
mov edi, dword [esi - 0x1c]
mov eax, dword [esi - 8]
mov ebx, eax
mov edx, eax
ror eax, 0x11
ror edx, 0x13
shr ebx, 0xa
xor eax, edx
xor eax, ebx
add edi, eax
mov eax, dword [esi - 0x3c]
mov ebx, eax
mov edx, eax
ror eax, 7
ror edx, 0x12
shr ebx, 3
xor eax, edx
xor eax, ebx
add eax, edi
add eax, dword [esi - 0x40]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x484c43
pop ebx
pop edi
pop esi
pop ecx
pop ecx
pop ebp
ret
Function at 0x492b60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x492c58
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0042bde0
mov eax, dword [ebp - 0x1c]
call fcn.0042c010
push 9
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407230
push eax
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
call sub.kernel32.dll_MoveFileWithProgressW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
cmp byte [ebp - 0xa], 0
je 0x492bef
cmp word [ebp + 0xa], 0
je 0x492c3d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00493110
test al, al
je 0x492c3d
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
jmp 0x492c3d
cmp byte [ebp - 9], 0
je 0x492c18
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00492900
test al, al
je 0x492c18
mov eax, dword [ebp - 4]
call fcn.00428080
mov byte [ebp - 0xa], 1
jmp 0x492c3d
push 0x492c78
push dword [ebp - 4]
push 0x492cb0
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004074a8
mov eax, dword [ebp - 0x20]
call fcn.004928b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492c5f
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040668c
ret
Function at 0x494bc0
Capabilities:
Connect pipe

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 byte [ebp - 0xd], 0
mov byte [ebp - 0x16], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ConnectNamedPipe
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0x15], 0
je 0x494c33
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, 0x494cdc
mov edx, 0x494d00
call fcn.0043f4b0
push 0x494cdc
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.0043f8b0
mov eax, dword [ebp - 0x14]
sub eax, 0x217
je 0x494c46
sub eax, 0x1ce
je 0x494c8c
jmp 0x494c92
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_SetEvent
test eax, eax
jne 0x494cc0
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, 0x494cdc
mov edx, 0x494d44
call fcn.0043f4b0
push 0x494cdc
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.0043f8b0
jmp 0x494cc6
mov byte [ebp - 0x16], 1
jmp 0x494cc0
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, 0x494cdc
mov edx, 0x494d00
call fcn.0043f4b0
push 0x494cdc
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.0043f8b0
jmp 0x494cc6
mov al, byte [ebp - 0x16]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x494fc0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49509b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
push 0x1388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0xff
push 6
push 0x40000003
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00407230
push eax
call sub.kernel32.dll_CreateNamedPipeW
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x495072
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x40]
mov edx, 0x4950b8
call fcn.00407420
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, 0x4950fc
call fcn.0043f530
push 0x4950fc
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov dl, 2
call fcn.0043f8b0
jmp 0x495085
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00494bc0
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4950a2
lea eax, [ebp - 0x18]
call fcn.0040662c
ret
Function at 0x498cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x499059
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x498d17
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00407230
push eax
call sub.kernel32.dll_LoadLibraryExW_1
mov dword [ebp - 0x28], eax
jmp 0x498d20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x49903b
xor eax, eax
push ebp
push 0x498e50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
push eax
push 1
push 0x10
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_FindResourceExW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x498d60
call fcn.00405e18
jmp 0x49903b
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x498d80
call fcn.00405e18
jmp 0x49903b
xor eax, eax
push ebp
push 0x498e29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x10
xor ecx, ecx
call fcn.00407050
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406b0c
test eax, eax
jle 0x498e12
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x498e0b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406b0c
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406bd0
mov edx, eax
mov eax, dword [ebp - 0x34]
pop ecx
call fcn.00404860
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498e12
mov eax, dword [ebp - 0x30]
call fcn.0040bc3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498e30
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499060
lea eax, [ebp - 0x14]
call fcn.0040662c
lea eax, [ebp - 0xc]
call fcn.0040662c
ret
Function at 0x4c62d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c63f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
mov edx, 0x24
call fcn.0042ad80
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetSystemInfo_1
xor eax, eax
push ebp
push 0x4c63cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5eb950]
cmp dword [eax], 0
je 0x4c63c1
push 1
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c62a4]
call fcn.004084e0
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x5eb950]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xc]
mov ecx, 0x18
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c62a4]
call fcn.004084e0
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x5eb950]
mov eax, dword [eax]
call eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jb 0x4c63bb
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*8 + 4]
sub eax, 1
jae 0x4c63b3
inc dword [ebp - 0x18]
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x4c639e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c63d5
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c63fe
lea eax, [ebp - 8]
mov edx, dword [0x4c62a4]
call fcn.004084ec
ret
Function at 0x4c7560
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c76bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00450790
mov eax, dword [ebp - 0xc]
call fcn.00408334
test eax, eax
jl 0x4c7699
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + ecx*4]
call fcn.00406a38
cmp dword [ebp - 0x10], 0
je 0x4c768d
mov eax, dword [ebp - 0x10]
call fcn.00407230
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x4c768d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407230
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x4c768d
mov eax, dword [0x5f6ad4]
call fcn.0040832c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
inc eax
push eax
mov eax, 0x5f6ad4
mov ecx, 1
mov edx, dword [0x4c4984]
call fcn.004084e0
add esp, 4
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [0x5f6ad4]
mov ecx, dword [ebp - 0x10]
mov cx, word [ecx]
mov word [edx + eax*8], cx
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [0x5f6ad4]
mov ecx, dword [ebp - 0x18]
mov dword [edx + eax*8 + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8 + 0x14], ecx
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [0x5f6ad4]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*8 + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + eax*8 + 0xc], ecx
inc dword [ebp - 4]
dec dword [ebp - 0x2c]
jne 0x4c759f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c76c4
lea eax, [ebp - 0x10]
call fcn.0040662c
lea eax, [ebp - 0xc]
mov edx, dword [0x427754]
call fcn.004084ec
ret
Function at 0x4d25e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4d2638
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call dword [0x5f6af4]
pop ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00406f80
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov eax, dword [ebp - 4]
add eax, 8
call fcn.0040662c
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00406650
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406650
pop ecx
pop ebp
ret

Function at 0x4d2ee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d2fb8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x4d2f16
or dword [ebp - 4], 0x8000
call fcn.004d2aa0
test al, al
je 0x4d2f45
test byte [ebp - 3], 0x80
je 0x4d2f45
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
and eax, 0xffff7fff
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x10], eax
jmp 0x4d2f4c
mov dword [ebp - 0x10], 0x80004005
cmp dword [ebp - 0x10], 0
je 0x4d2f6b
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d2f97
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.004072dc
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0xc]
call fcn.00427dd0
jmp 0x4d2f9f
mov eax, dword [ebp - 0xc]
call fcn.0040662c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2fbf
lea eax, [ebp - 0x21c]
call fcn.0040662c
ret
Function at 0x4ec220
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4ec362
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xb], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x1f
ja 0x4ec258
bt dword [ebp - 0xb], eax
jae case.0x4ec2b5.0
mov ax, word [ebp - 4]
add ax, 0x41
mov word [ebp - 6], ax
lea eax, [ebp - 0x18]
mov dx, word [ebp - 6]
call fcn.00407248
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 0x4ec37c
call fcn.00407420
lea eax, [ebp - 0x10]
mov ecx, 0x4ec38c
mov edx, dword [ebp - 0x14]
call fcn.00407420
mov eax, dword [ebp - 0x10]
call fcn.00407230
push eax
call sub.kernel32.dll_GetDriveTypeW
mov byte [ebp - 7], al
xor eax, eax
mov al, byte [ebp - 7]
cmp eax, 6
ja case.0x4ec2b5.0
jmp dword [eax*4 + 0x4ec2bc]
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004ec170
pop ecx
jmp case.0x4ec2b5.0
mov eax, dword [ebp + 8]
push eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004ec170
pop ecx
jmp case.0x4ec2b5.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004ec170
pop ecx
jmp case.0x4ec2b5.0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x20]
test byte [eax + 0x28], 1
jne case.0x4ec2b5.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004ec170
pop ecx
jmp case.0x4ec2b5.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004ec170
pop ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jne 0x4ec24c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec369
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040668c
ret
Function at 0x4fe780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe927
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov edx, 0x4fe940
mov eax, dword [ebp - 8]
call fcn.00443420
call fcn.00443660
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409d94
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x4fe954
mov eax, dword [ebp - 8]
call fcn.00443420
pop edx
call fcn.00443590
mov edx, 0x4fe968
mov eax, dword [ebp - 8]
call fcn.00443420
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00443610
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00409d94
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x4fe984
mov eax, dword [ebp - 8]
call fcn.00443420
pop edx
call fcn.00443590
mov eax, dword [ebp - 4]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov edx, 0x4fe9a4
mov eax, dword [ebp - 8]
call fcn.00443420
call fcn.00443660
mov edx, 0x4fe9d4
mov eax, dword [ebp - 8]
call fcn.00443420
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
call fcn.00443590
mov edx, 0x4fe9f0
mov eax, dword [ebp - 8]
call fcn.00443420
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c]
call fcn.00443590
mov edx, 0x4fea08
mov eax, dword [ebp - 8]
call fcn.00443420
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.00443590
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00409d94
mov eax, dword [ebp - 0x14]
push eax
mov edx, 0x4fea30
mov eax, dword [ebp - 8]
call fcn.00443420
pop edx
call fcn.00443590
mov edx, 0x4fea4c
mov eax, dword [ebp - 8]
call fcn.00443420
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
call fcn.00443590
mov eax, dword [ebp - 4]
push dword [eax + 0x44]
push dword [eax + 0x40]
mov edx, 0x4fea70
mov eax, dword [ebp - 8]
call fcn.00443420
call fcn.00443660
mov eax, dword [ebp - 4]
push dword [eax + 0x4c]
push dword [eax + 0x48]
mov edx, 0x4feaa4
mov eax, dword [ebp - 8]
call fcn.00443420
call fcn.00443660
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov edx, 0x4feaf8
mov eax, dword [ebp - 8]
call fcn.00443420
call fcn.00443660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe92e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040668c
ret