joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d255
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x497b0c
call fcn.0046aef2
mov edi, ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.00402b57
xor ebx, ebx
lea ecx, [ebp - 0x18]
push 0x2e
mov dword [ebp - 4], ebx
call fcn.00402f0e
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00402f3d
test esi, esi
js 0x44d28d
cmp esi, eax
jge 0x44d297
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00401a83
lea eax, [ebp - 0x18]
mov dword [ebp - 0x6c], 0x3c
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], pe_nt_image_headers32
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00402b57
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00402b57
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
mov esi, dword [ebp - 0x30]
cmove eax, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x4c]
mov dword [ecx], eax
call fcn.0046a358
pop ecx
push esi
mov byte [ebp - 4], bl
call fcn.0046a358
pop ecx
cmp edi, 0x20
ja 0x44d347
cmp edi, 0x1f
jne 0x44d342
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00404a8e
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
push dword [eax]
push 2
pop edx
call fcn.004351c0
pop ecx
push dword [ebp - 0x30]
call fcn.0046a358
pop ecx
mov ebx, 0x80004005
push dword [ebp - 0x18]
call fcn.0046a358
pop ecx
mov eax, ebx
call fcn.0046aebb
ret
Function at 0x453e9c
Capabilities:
Open clipboard

Disassembly:
push 0x2c
mov eax, 0x498561
call fcn.0046aef2
mov edi, ecx
lea ecx, [ebp - 0x28]
call fcn.00402a89
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00450906
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], esi
jbe 0x453f16
test esi, esi
je 0x453ee8
push 0x4a6558
lea ecx, [ebp - 0x28]
call fcn.00402e87
push dword [ebx + esi*4]
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00450c81
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402e49
mov byte [ebp - 4], 1
push dword [ebp - 0x34]
call fcn.0046a358
inc esi
pop ecx
cmp esi, dword [ebp - 0x18]
jb 0x453ed7
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, eax
test ecx, ecx
setne al
mov byte [ebp - 0xd], al
test ecx, ecx
jne 0x453f31
test al, al
jmp 0x453f53
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x453f4f
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
call fcn.00403df0
pop ecx
cmp byte [ebp - 0xd], 0
je 0x453f5b
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call fcn.0046a358
pop ecx
push dword [ebp - 0x28]
call fcn.0046a358
pop ecx
call fcn.0046aebb
ret

Function at 0x454a76
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x388]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x454b49
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x454b48
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x454b3d
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x454b3d
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x454b3d
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [edi + 0x350]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x14]
sub dword [ebp - 0x14], eax
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 8], eax
lea eax, [ebp - 0x28]
cmp dword [ebp + 8], 0
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x454b34
call fcn.004327fc
jmp 0x454b48
push dword [ebx]
call fcn.004327a4
jmp 0x454b48
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046a342
leave
ret 4
Function at 0x45887a
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x498fb9
call fcn.0046aef2
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [edi + 4], esi
mov dword [ebp - 4], esi
lea ecx, [edi + 8]
mov dword [edi], vtable.CProgressDialog.0
call fcn.00402a89
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
call fcn.00402a89
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 2
call fcn.00402a89
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402a89
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 4
call fcn.00402a89
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 5
call fcn.00402a89
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 6
call fcn.00402a89
lea ecx, [edi + 0x60]
mov byte [ebp - 4], 7
call fcn.00402a89
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 8
call fcn.00402a89
mov byte [ebp - 4], 9
lea ecx, [edi + 0x84]
mov dword [edi + 0x80], esi
call fcn.00402a89
mov dword [edi + 0x90], esi
lea ebx, [edi + 0xbc]
mov dword [edi + 0x98], 1
mov dword [edi + 0x9c], esi
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], esi
mov dword [ebx], esi
lea ecx, [edi + 0x108]
mov byte [ebp - 4], 0xb
call fcn.00402a89
mov dword [edi + 0x13c], esi
lea esi, [edi + 0x140]
and dword [esi], 0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 0xe
call fcn.00458309
mov byte [ebp - 4], 0xf
lea ecx, [edi + 0x20c]
and dword [edi + 0x208], 0
mov byte [edi + 0x200], 1
call fcn.00402a89
lea ecx, [edi + 0x218]
mov byte [ebp - 4], 0x10
call fcn.00402a89
lea ecx, [edi + 0x228]
mov byte [ebp - 4], 0x11
call fcn.0045ad4a
mov byte [ebp - 4], 0x12
or dword [edi + 0x204], 0xffffffff
xor eax, eax
push eax
mov ecx, esi
mov word [edi + 0x66c], 1
mov byte [edi + 0x2c], al
mov dword [edi + 0xb8], eax
mov word [edi + 0x202], 1
mov word [edi + 0x128], ax
mov word [edi + 0x137], ax
mov dword [edi + 0x12c], eax
mov dword [edi + 0x130], eax
mov word [edi + 0x134], ax
mov byte [edi + 0x136], al
mov byte [edi + 0x201], al
call fcn.00401a08
pop ecx
test eax, eax
jne 0x458a5d
xor esi, esi
lea ecx, [edi + 0x13c]
push esi
call fcn.00401a08
pop ecx
test eax, eax
jne 0x458a5d
push ebx
push 0x49bc88
push 1
push esi
push 0x49bc98
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebx]
test ecx, ecx
je 0x458a3d
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0xffffffffffffffff
push eax
mov dword [edi + 0x224], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
call fcn.0046aebb
ret
push 0x4bd0f0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.0046caf9
int3
Function at 0x45dee9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov eax, edx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
xor dl, dl
and dword [eax + 4], 0
push edi
cmp dword [ebx + 4], esi
jbe 0x45e00e
mov dword [ebp - 0x14], 0x20
mov eax, dword [ebx]
mov dword [ebp - 0x1c], esi
lea edi, [eax + esi*2]
inc esi
movzx eax, word [edi]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp cx, word [ebp - 0x14]
je 0x45e005
cmp ecx, 0x2d
je 0x45e00e
test dl, dl
je 0x45e015
add eax, 0x20
mov byte [ebp - 1], 0
movzx edx, ax
add ecx, 0xffffffbf
mov eax, dword [ebp - 0xc]
cmp cx, 0x19
movzx eax, ax
cmova edx, eax
movzx eax, dx
sub eax, 0x62
je 0x45e002
sub eax, 5
je 0x45df88
sub eax, 4
je 0x45df84
dec eax
sub eax, 1
je 0x45df80
sub eax, 7
jne 0x45e015
push 0x28
jmp 0x45df8a
push 0x14
jmp 0x45df8a
push 0xa
jmp 0x45df8a
push 0x1e
mov ecx, dword [ebp - 0x10]
pop edi
push 0x40
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ecx + eax*8 - 8]
mov eax, dword [ecx + eax*8 - 4]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
xor edx, edx
pop eax
sub eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
cmp dword [ebp - 0xc], ecx
ja 0x45e041
mov eax, dword [ebp - 8]
jb 0x45dfcf
cmp eax, edx
jae 0x45e041
mov edx, dword [ebp - 0xc]
mov ecx, edi
call fcn.0048ea40
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [edi + ecx*8 - 8], eax
mov dword [edi + ecx*8 - 4], edx
cmp esi, dword [ebx + 4]
jae 0x45e002
mov eax, dword [ebx]
push 0x20
pop ecx
lea eax, [eax + esi*2]
cmp word [eax], cx
je 0x45e002
inc esi
add eax, 2
cmp esi, dword [ebx + 4]
jb 0x45dff4
mov dl, byte [ebp - 1]
cmp esi, dword [ebx + 4]
jb 0x45df11
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.00403355
mov esi, dword [ebp - 0x20]
mov ecx, eax
cmp edi, esi
je 0x45e041
or eax, edx
je 0x45e041
push edx
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00409dc4
sub esi, edi
mov dl, 1
sar esi, 1
add esi, dword [ebp - 0x1c]
jmp 0x45e005
xor al, al
jmp 0x45e010

Function at 0x45e1f6
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2bc], 0
lea eax, [ebp - 0x2bc]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x2bc], 0
je 0x45e282
push 0x4008
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x80
push dword [ebp - 0x2bc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ecx, dword [ebp - 0x2c0]
test ecx, ecx
je 0x45e27a
push dword [ebp - 0x2bc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2b4]
jmp 0x45e284
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a342
leave
ret
Function at 0x45e290
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2b8]
push 0x4010
push 0x2b4
push eax
or edx, 0x80
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2b4]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046a342
leave
ret

Function at 0x45efcb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
push edi
and dword [ebx + 0x3d4], 0
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3d0], eax
test ecx, ecx
je 0x45f00d
push ecx
lea ecx, [ebx + 0x30]
call dword [0x49b1a8]
mov eax, dword [ebp + 0xc]
mov ecx, ebx
neg ecx
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x10]
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, 0x4c4f00
call fcn.004607df
mov ecx, dword [ebx + 0x3d0]
test ecx, ecx
jne 0x45f038
mov eax, dword [ebx + 0x20]
jmp 0x45f045
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocStringLen
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____]
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x45f085
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x45f080
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a342
leave
ret 0x14
Function at 0x460c1f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edi + 4]
inc eax
imul ebx, eax, 0xc
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x460c49
push ebx
call fcn.0046a477
pop ecx
mov esi, eax
mov dword [ebp - 4], eax
mov dword [esi], 1
mov eax, dword [edi + 0xc]
mov dword [esi + 4], eax
xor eax, eax
cmp byte [edi + 0x10], al
setne al
and dword [ebp - 8], 0
mov dword [esi + 8], eax
cmp dword [edi + 4], 0
jbe 0x460c9e
push 0xffffffffffffffec
pop ebx
lea edx, [esi + 0x14]
sub ebx, esi
mov esi, dword [ebp - 8]
lea ecx, [ebx + edx]
add ecx, dword [edi]
mov eax, dword [ecx]
mov dword [edx - 8], eax
xor eax, eax
cmp byte [ecx + 4], al
setne al
inc esi
mov dword [edx - 4], eax
mov eax, dword [ecx + 8]
mov dword [edx], eax
lea edx, [edx + 0xc]
cmp esi, dword [edi + 4]
jb 0x460c75
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
mov edi, 0x4c9044
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
sub esp, 0x14
push 0x4aa150
push SysReAllocStringLen
call fcn.00408aa1
mov eax, dword [ebp + 8]
push ebx
push esi
push 3
push 0
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 4]
call fcn.00408b21
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.0046a358
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x460e50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x4c9044
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
sub esp, 0x14
push str.SoftwareVZipVZipFM
push SysReAllocStringLen
call fcn.00408aa1
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp byte [edi + 0x10], al
push 0x14
setne al
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 3
push 0
push str.Position
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x1c]
push 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 3
push 0
push str.Panels
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x1c]
call fcn.00408b21
push 0x4c9044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046a342
leave
ret
Function at 0x4633d4
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x499b51
call fcn.0046aef2
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004231e1
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46346a
push eax
jmp 0x463459
call fcn.004236c6
push eax
lea ecx, [ebp - 0x14]
call fcn.0042341c
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00427ecc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00428135
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042376a
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46344c
push esi
call fcn.0046fc67
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.0042376a
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00427f0e
mov edi, eax
cmp edi, 0xffffffff
jne 0x4633ff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0042376a
call fcn.0046aebb
ret

Function at 0x4637c0
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x499c40
call fcn.0046aef2
call fcn.004236c6
push eax
lea ecx, [ebp - 0x10]
call fcn.0042341c
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.004233d6
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00428ae4
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x463825
mov ecx, dword [ebp + 8]
push 0x4a4398
call fcn.004231e1
lea ecx, [esi - 0x10]
call fcn.0042376a
mov eax, dword [ebp + 8]
jmp 0x46387e
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.00427f42
cmp ax, 0x5c
je 0x463844
push 1
push 0x4a6424
lea ecx, [ebp - 0x10]
call fcn.004289fd
push 5
push str.VZip_
lea ecx, [ebp - 0x10]
call fcn.004289fd
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x463863
push esi
call fcn.004633d4
pop ecx
lea edi, [esi - 0x10]
push edi
call fcn.00428a89
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.0042376a
mov eax, esi
call fcn.0046aebb
ret
Function at 0x463a2b
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x499c6b
call fcn.0046aef2
call fcn.004236c6
push eax
lea ecx, [ebp - 0x10]
call fcn.0042341c
xor ebx, ebx
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004635f9
pop ecx
pop ecx
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [eax - 0xc]
push eax
call fcn.004289fd
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.0042376a
inc ebx
lea ecx, [ebp - 0x10]
push ebx
push str.ApTest
call fcn.004289fd
push ebx
mov esi, 0x4a60e0
lea ecx, [ebp - 0x10]
push esi
call fcn.004289fd
push ebx
push esi
lea ecx, [ebp - 0x10]
call fcn.004289fd
push ebx
push 0x4a60e4
lea ecx, [ebp - 0x10]
call fcn.004289fd
push ebx
push 0x4a60e8
lea ecx, [ebp - 0x10]
call fcn.004289fd
push ebx
push 0x4a60ec
lea ecx, [ebp - 0x10]
call fcn.004289fd
push ebx
push 0x4a60f0
lea ecx, [ebp - 0x10]
call fcn.004289fd
push 2
push 0x4a60f4
lea ecx, [ebp - 0x10]
call fcn.004289fd
push 2
push 0x4a60fc
lea ecx, [ebp - 0x10]
call fcn.004289fd
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.0042376a
mov eax, edi
call fcn.0046aebb
ret

Function at 0x464ce7
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x499e83
call fcn.0046aef2
mov edi, ecx
push dword [ebp + 0x10]
mov eax, dword [edi]
push dword [ebp + 8]
call dword [eax + 8]
test eax, eax
je 0x464deb
call fcn.004236c6
push eax
lea ecx, [ebp + 0x10]
call fcn.0042341c
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xc]
push ebx
mov byte [ebp - 4], 1
call fcn.00422feb
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x10]
call fcn.0042316d
push 0x5c
push dword [ebp + 0x10]
call fcn.0046c990
pop ecx
pop ecx
test eax, eax
jne 0x464d4e
or eax, 0xffffffff
jmp 0x464d53
sub eax, dword [ebp + 0x10]
sar eax, 1
inc eax
lea ecx, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00427ecc
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00428135
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.0042376a
mov esi, dword [ebp + 0x10]
push esi
call fcn.004633d4
pop ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464d99
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push eax
push 0x80
push 2
push eax
push 0xc0000000
push ebx
call fcn.004648fe
test eax, eax
js 0x464dd0
push 0
push dword [edi + 8]
lea ecx, [ebp - 0x14]
push dword [edi + 4]
call fcn.0046571d
test eax, eax
js 0x464dd0
xor ebx, ebx
inc ebx
jmp 0x464dd2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x464de1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.0042376a
mov eax, ebx
call fcn.0046aebb
ret 0xc
Function at 0x4664d9
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30fc
call fcn.0046b090
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.0046d670
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0046d670
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call fcn.00441632
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x466568
mov al, 1
jmp 0x466671
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.0046d670
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.0046d670
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.0046d670
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4665ea
mov bl, 2
jmp 0x466668
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.00466680
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.00466680
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46662b
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
push edi
call fcn.004660be
lea ecx, [ebp - 0x9dc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46664e
sub ecx, edx
lea eax, [ebp - 0x9dc]
push ecx
push eax
push edi
call fcn.004660be
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a342
leave
ret