joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb198
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cb396
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.004bc6d0
mov ecx, 0x4cb3a4
mov edx, 0x4cb3ac
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x21c]
mov eax, dword [0x53e668]
mov dword [0x53661c], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x536630]
push eax
mov eax, dword [0x53e668]
push eax
call sub.user32.dll_GetClassInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4cb218
mov eax, sub.user32.dll_DefWindowProcA
cmp eax, dword [ebp - 0x40]
je 0x4cb239
cmp byte [ebp - 0xd], 0
je 0x4cb22f
mov eax, dword [0x53e668]
push eax
mov eax, dword [0x536630]
push eax
call sub.user32.dll_UnregisterClassA
push 0x53660c
call sub.user32.dll_RegisterClassA
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00448ee8
push 0x80000000
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
push eax
mov eax, dword [ebp - 0x18]
sub eax, 0x10
push eax
push 0x20
push 0x20
mov eax, dword [ebp - 4]
call fcn.0044fc70
push eax
push 0
mov eax, dword [0x53e668]
push eax
push 0
xor ecx, ecx
mov edx, dword [0x536630]
mov eax, 0x80
call fcn.0040790c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f0], eax
mov dl, 1
mov eax, dword [0x425ee8]
call fcn.0042c6c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 4]
call fcn.00448dd4
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c4]
jge 0x4cb2e5
mov eax, dword [ebp - 4]
call fcn.00448e18
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c8]
jge 0x4cb2d6
lea eax, [ebp - 0x14]
mov edx, 0x4cb3bc
call fcn.004045d4
jmp 0x4cb2f2
lea eax, [ebp - 0x14]
mov edx, 0x4cb3d0
call fcn.004045d4
jmp 0x4cb2f2
lea eax, [ebp - 0x14]
mov edx, 0x4cb3e4
call fcn.004045d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x53e668]
call fcn.0042d19c
push 0
push ebp
call fcn.004cafa8
pop ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f0]
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
push eax
push 0x4ca3f4
call fcn.00424a44
push eax
push 0xfffffffffffffffc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f0]
push eax
call sub.user32.dll_SetWindowLongA
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f0]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc4]
mov eax, dword [ebp - 4]
call fcn.0044fc70
push eax
call sub.user32.dll_SetCapture
push 0
push 0x14
push 4
mov eax, dword [ebp - 4]
call fcn.0044fc70
push eax
call sub.user32.dll_SetTimer
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb39d
lea eax, [ebp - 0x14]
call fcn.0040453c
ret
Function at 0x4e4158
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4e42c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, 0x4e42d8
call fcn.00404b40
test eax, eax
jne 0x4e42ac
mov dl, 1
mov eax, dword [0x425ee8]
call fcn.0042c6c8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.0042cc90
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e42a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00441ac4
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00441ac4
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov edx, 0x8080
call fcn.00427700
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004191b4
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x10]
call fcn.00427b20
push 0x101
push 0x160
lea eax, [ebp - 0x170]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004049fc
push eax
call sub.shell32.dll_SHGetFileInfoA
push 3
push 0
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x170]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0042803c
push eax
call sub.user32.dll_DrawIconEx
mov edx, 0x8080
mov eax, dword [ebp - 0xc]
call fcn.0042de68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e42ac
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
call fcn.00403628
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e42c9
lea eax, [ebp - 8]
call fcn.0040453c
ret
Function at 0x4efa10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4efb77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.004f1990
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1e]
mov edx, dword [ebp - 4]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 4]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409c3c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004f0680
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409bb4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004f0708
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efb7e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404560
ret
Function at 0x4efb84
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4efceb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa]
call fcn.004f1990
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x22], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
cmp dword [ebp - 0xc], 0
je 0x4efca6
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00409c3c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004f0680
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00409bb4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004f0708
jmp 0x4efcba
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f0680
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f0708
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efcf2
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404560
ret

Function at 0x4f1c74
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4f1cd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
call fcn.004f1d58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4f1cbd
lea eax, [ebp - 4]
call fcn.004f1d58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4f1cc1
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1cde
lea eax, [ebp - 4]
call fcn.0040453c
ret
Function at 0x4f1ce8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4f1d4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 4]
call fcn.004f1d58
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1e]
call fcn.00409fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1d54
lea eax, [ebp - 4]
call fcn.0040453c
ret

Function at 0x4f7b8c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x170]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.004f7e58
mov edx, dword [ebp - 4]
mov dword [edx + 0x170], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x174], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x174]
shr edx, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x178]
mov eax, dword [ebp - 4]
call fcn.004f7e58
mov edx, dword [ebp - 4]
mov dword [edx + 0x178], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4f7c48
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 0x4f7c8f
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.004f7c10
mov edx, dword [ebp - 8]
xor byte [edx], al
mov eax, dword [ebp - 8]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.004f7b8c
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4f7c6a
mov esp, ebp
pop ebp
ret

Function at 0x4f7d30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4f7db8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f7c94
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004f7c10
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x1d]
mov byte [ebp - 0x11], al
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.004f7b8c
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 0x11]
mov byte [ebp + eax - 0x1d], dl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x4f7d6c
mov al, byte [ebp - 0x12]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7dbf
lea eax, [ebp - 8]
call fcn.0040453c
ret
Function at 0x4f8c94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f8e8e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jle 0x4f8e47
mov eax, dword [ebp - 4]
call fcn.004fa8e0
cmp eax, dword [ebp - 8]
jle 0x4f8e47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 8]
call fcn.004eda98
mov edx, dword [0x4ef33c]
call fcn.004037d8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004f05bc
test al, al
je 0x4f8e3d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 0
jne 0x4f8e2d
xor eax, eax
push ebp
push 0x4f8e26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f9348
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041d2c4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x4e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx eax, word [ebp - 0x32]
movzx edx, word [ebp - 0x30]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00404b88
mov eax, dword [ebp - 0xc]
call fcn.00404a54
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f9068
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8e78
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4f8e25
mov eax, dword [ebp - 4]
call fcn.004f93f4
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
call fcn.00409fe0
jmp 0x4f8e78
mov eax, dword [ebp - 0xc]
call fcn.0040453c
jmp 0x4f8e78
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x58]
push eax
push 0
lea edx, [ebp - 0x5c]
mov eax, 0xb3
call fcn.004095cc
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x417c8c]
call fcn.0040d008
call fcn.00403eb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8e95
lea eax, [ebp - 0x5c]
call fcn.0040453c
ret
Function at 0x4fe874
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 0x40
call fcn.00407848
pop ecx
pop ebp
ret

Function at 0x4fea30
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ec
xor eax, eax
push ebp
push 0x4feb7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004fe874
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004049fc
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4feb5d
xor eax, eax
push ebp
push 0x4feb56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4feb3f
xor eax, eax
push ebp
push 0x4feb38
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4feb21
xor eax, eax
push ebp
push 0x4feb1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.004fe8c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feb21
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feb3f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feb5d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.004fe9a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feb85
lea eax, [ebp - 4]
call fcn.0040453c
ret
Function at 0x4ffc74
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, 0x24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004096bc
mov eax, dword [ebp - 4]
lea edx, [eax + 0x34]
mov ecx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00409690
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004096bc
mov eax, dword [ebp - 4]
lea edx, [eax + 0x38]
mov ecx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00409690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004057d8
dec eax
test eax, eax
jl 0x4ffd10
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
lea edx, [edx + eax*4]
mov ecx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00409690
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x4ffce9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004057d8
dec eax
test eax, eax
jl 0x4ffd53
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
lea edx, [edx + eax*4 + 4]
mov ecx, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00409690
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x4ffd2b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SetEndOfFile
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00409700
mov esp, ebp
pop ebp
ret

Function at 0x4fffac
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x500010
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, 0x20
call fcn.004096bc
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 4
call fcn.00409690
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_GetFileSize
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50001a
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x500a8c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x500c0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x500c24
mov edx, dword [ebp - 4]
call fcn.00404848
lea eax, [ebp - 0x10]
mov ecx, 0x500c34
mov edx, dword [ebp - 4]
call fcn.00404848
mov eax, dword [ebp - 0x10]
call fcn.00409770
test al, al
jne 0x500ae8
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x500be9
mov eax, dword [ebp - 0x10]
call fcn.00500a20
mov eax, dword [ebp - 4]
call fcn.00409770
test al, al
je 0x500bb4
mov eax, dword [ebp - 4]
call fcn.00500a20
mov eax, dword [ebp - 4]
call fcn.00500c3c
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00500c3c
cmp ebx, eax
jne 0x500b67
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.004fea30
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x14]
call fcn.004feb8c
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004fea30
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x28]
call fcn.004feb8c
mov eax, dword [ebp - 0x28]
pop edx
call fcn.00408cb8
test al, al
je 0x500b67
mov dword [ebp - 8], 0xa
jmp 0x500be9
mov eax, dword [ebp - 0xc]
call fcn.00409770
test al, al
je 0x500b90
mov eax, dword [ebp - 0xc]
call fcn.00500a20
mov eax, dword [ebp - 0xc]
call fcn.00409a64
test al, al
jne 0x500b90
mov dword [ebp - 8], 0xfffffffe
jmp 0x500be9
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409a7c
test al, al
jne 0x500bb4
mov eax, dword [ebp - 4]
call fcn.00409a64
test al, al
jne 0x500bb4
mov dword [ebp - 8], 0xfffffffd
jmp 0x500be9
push 0
mov eax, dword [ebp - 4]
call fcn.004049fc
push eax
mov eax, dword [ebp - 0x10]
call fcn.004049fc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x500bda
mov dword [ebp - 8], 1
jmp 0x500be1
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.00409a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500c13
lea eax, [ebp - 0x28]
call fcn.0040453c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404560
ret