joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4433c0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5d78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.Install_TFsFlt_Server
push 0x515488
call fcn.0048d4b0
add esp, 8
lea ecx, [edi + 0xc]
call fcn.004404e0
test eax, eax
je 0x443475
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetServicesTFsFlt
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x44345c
mov dword [ebp - 0x14], 0
test eax, eax
je 0x44345c
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.EnableDROnMiniQQPCMgr
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x44346e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
push ecx
mov ecx, dword [edi + 4]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x18], esi
call fcn.0041c670
add eax, 0x10
mov dword [esi], eax
call fcn.0043f290
push str.Install_TFsFlt_Server_end
push 0x515488
call fcn.0048d4b0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5e5f
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
movzx eax, cl
lea ecx, [ebp - 0x22c]
push eax
mov dword [ebp - 4], 0
call fcn.00440150
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004a8960
add esp, 0xc
lea ecx, [ebp - 0x21c]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
lea ecx, [esi - 5]
cmp ecx, 0xff
ja 0x443d5c
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443c77
sub ecx, edx
lea eax, [esi - 1]
sar ecx, 1
cmp ecx, eax
jne 0x443d5c
xor esi, esi
lea edx, [ecx - 1]
xor eax, eax
test ecx, ecx
je 0x443cb4
nop dword [eax]
cmp word [ebp + eax*2 - 0x21c], 0x22
jne 0x443cb2
inc eax
cmp eax, ecx
jb 0x443ca0
jmp 0x443cb4
mov esi, eax
cmp edx, esi
jb 0x443ce4
lea eax, [edx + edx]
nop dword [eax + eax]
cmp word [ebp + eax - 0x21c], 0x22
jne 0x443ce4
cmp eax, 0x20a
jae 0x443cf8
xor ecx, ecx
dec edx
mov word [ebp + eax - 0x21c], cx
sub eax, 2
cmp edx, esi
jae 0x443cc0
lea edx, [ebp - 0x21c]
cmp word [edx + esi*2], 0
lea edx, [edx + esi*2]
jne 0x443cfd
xor ecx, ecx
jmp 0x443d11
call fcn.004a5eb9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443d02
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00439160
mov byte [ebp - 4], 3
cmp dword [ebp - 0x220], 0
je 0x443d43
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x443d43
push dword [ebp - 0x22c]
call eax
mov dword [ebp - 0x220], 0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x443d58
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00433600
mov al, 1
jmp 0x443d9c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 0
je 0x443d85
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x443d85
push dword [ebp - 0x22c]
call eax
mov dword [ebp - 0x220], 0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x443d9a
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00433600
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x444970
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push ebx
mov dword [ebp - 0x808], ecx
mov ebx, edx
mov ecx, 0x4ed230
push esi
mov esi, dword [ebp + 0xc]
mov edx, ecx
cmovne edx, eax
mov eax, ecx
push edi
mov edi, dword [ebp + 0x14]
test esi, esi
push 0x800
cmovne eax, esi
mov dword [ebp - 0x818], edx
mov dword [ebp - 0x814], eax
test edi, edi
lea eax, [ebp - 0x804]
cmovne ecx, edi
push 0
push eax
mov dword [ebp - 0x810], ecx
call fcn.004a8960
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
xor esi, esi
nop
push dword [esi + 0x4f1944]
lea eax, [ebp - 0x804]
push ebx
push 0x4f0cf4
push 0x400
push eax
call fcn.004448b0
add esp, 0x14
lea eax, [ebp - 0x804]
push eax
call edi
cmp eax, 0xffffffff
je 0x444b49
add esi, 4
cmp esi, 0xc
jb 0x4449e0
push 0x40
lea eax, [ebp - 0x874]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x834], xmm0
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x878], 0x44
xor eax, eax
mov dword [ebp - 0x84c], 0x81
mov word [ebp - 0x848], ax
mov dword [ebp - 0x820], eax
push eax
push eax
push 1
lea eax, [ebp - 0x824]
mov dword [ebp - 0x824], 0xc
push eax
mov dword [ebp - 0x81c], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [ebp - 0x810]
mov esi, eax
push dword [ebp + 0x10]
push dword [ebp - 0x814]
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push ebx
push str.__sInstallUninstallCube.exe____verb_s___sync_08lx__pid_u___temp_s____version_s___silence_u___s
push 0x400
push eax
call fcn.004448b0
add esp, 0x2c
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x878]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x444b2f
test esi, esi
je 0x444b1f
mov ecx, dword [ebp - 0x834]
lea eax, [ebp - 0x80c]
push 0x2710
push 0
push eax
push 2
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x808], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x830]
call edi
push dword [ebp - 0x834]
call edi
test esi, esi
je 0x444b36
push esi
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x444b60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x515818], 0
push esi
push edi
mov esi, ecx
je 0x444bb6
cmp word [0x515610], 0
je 0x444bb6
push ecx
push 0x515610
push ecx
call fcn.00444920
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
push 0x208
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.004a8960
add esp, 0xc
xor eax, eax
test esi, esi
je 0x444c7b
mov word [esi], ax
lea eax, [esp + 8]
push 0x103
push eax
push str._ALLUSERSPROFILE_Application_DataTencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
call fcn.0048a400
test eax, eax
jne 0x444c4b
push 0x103
lea eax, [esp + 0xc]
push eax
push str._ALLUSERSPROFILE_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 8]
call fcn.0048a400
test eax, eax
jne 0x444c4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMGetQMMasterStorePath_failed__last_err___d
push 0x515488
call fcn.0048d710
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00444920
push ecx
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, 0x515610
call fcn.00444920
mov edi, 1
mov dword [0x515818], 1
mov eax, edi
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x444fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.004a8960
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp word [ebp - 0x210], 0
jne 0x44503e
xor ecx, ecx
jmp 0x445056
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445047
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret

Function at 0x445080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6108
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00444fe0
test eax, eax
je 0x4450f9
push 0x11
push 0x4f0fbc
lea ecx, [ebp - 0x28]
call fcn.004402a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4450f9
mov esi, 1
jmp 0x4450fb
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x445110
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433600
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret

Function at 0x445130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6138
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.004af8a8
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4451b0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4451be
push 8
lea ecx, [ebp - 0x18]
push ecx
push 0xb
push 0
push str.QQPCMgrInstallTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4451be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x445710
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
mov esi, ecx
push 0
push eax
call fcn.004a8960
add esp, 0xc
or dword [ebp - 0x28], 0x80
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d55e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 4]
push str.TAOFrame.exe
lea ecx, [ebp - 0x2c]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x445fd2
xor ecx, ecx
jmp 0x445fe6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445fd7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439160
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44600f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x28]
je 0x446083
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004460d0
mov esi, eax
test esi, esi
je 0x44606f
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x446054
push str.InstallTAOFrameService::reg_service_suc
jmp 0x446059
push str.InstallTAOFrameService::wait_reg_process_failed
push 0x515488
call fcn.0048d710
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44609e
push str.InstallTAOFrameService::reg_service_failed
push 0x515488
call fcn.0048d710
add esp, 8
jmp 0x44609e
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.InstallTAOFrameService::can_not_find_taoframe.exe:_s
push 0x515488
call fcn.0048d710
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4460b3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x4460d0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0x3c
push 0
push eax
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x124]
push 0x118
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jae 0x446148
push ecx
push esi
call fcn.004461c0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], 0x3c
push eax
mov dword [ebp - 0x160], 0xc440
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], str.RunAs
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x150], str._Service
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 0x12c]
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8

Function at 0x4461c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x70], 0x44
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc], 0xc
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push str._Service
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x446246
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4463c0
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d62b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.qmswitches.dat
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x40]
call fcn.0044bc80
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4464cc
push str.qmswitches.dat
lea edx, [esi + 4]
lea ecx, [ebp - 0x44]
call fcn.0041c010
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [eax]
call fcn.00438600
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44645f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4464a3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4464b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4464e1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret

Function at 0x446500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6108
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CubePatch_
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x28]
call fcn.0044bc80
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44656e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004465a0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x446583
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x446b90
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d63ee
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
xor edx, edx
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x446c21
mov edi, dword [esi + 0x14]
lea eax, [ebx + ebx]
nop word [eax + eax]
cmp edi, 8
jb 0x446bf9
mov ecx, dword [esi]
jmp 0x446bfb
mov ecx, esi
cmp word [eax + ecx - 2], 0x5c
je 0x446c32
cmp edi, 8
jb 0x446c0c
mov ecx, dword [esi]
jmp 0x446c0e
mov ecx, esi
cmp word [eax + ecx - 2], 0x2f
je 0x446c32
inc edx
sub eax, 2
cmp edx, ebx
jb 0x446bf0
mov edi, dword [ebp - 0x44]
cmp dword [esi + 0x14], 8
jb 0x446cb8
mov eax, dword [esi]
jmp 0x446cba
sub ebx, edx
lea eax, [ebp - 0x40]
push ebx
push 0
push eax
mov ecx, esi
call fcn.0044e1d0
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x446c7d
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x446c60
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0044e210
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x446c96
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
cmp dword [ebp - 0x18], 0
je 0x446c1e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0048a400
test eax, eax
jne 0x446c1e
xor bl, bl
jmp 0x446cf0
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x446cc4
mov ecx, dword [edi]
jmp 0x446cc6
mov ecx, edi
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x446cee
cmp dword [esi + 0x14], 8
jb 0x446cdc
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x446ce4
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x446d05
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433600
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8