joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c860
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x458ed2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x22c], edi
mov esi, ecx
mov dword [esp + 0x10], edi
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
lea ebx, [esi + 4]
push 0x4606f4
mov dword [esp + 0x1c], esi
mov word [ebx], di
call fcn.00406f20
push 1
push 5
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x238], edi
push edi
mov dword [esp + 0x20], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c94a
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c8f2
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00406f20
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
jbe 0x41c91b
call fcn.0043f7bb
cmp dword [esi + 0x18], 8
jb 0x41c925
mov eax, dword [ebx]
jmp 0x41c927
mov eax, ebx
cmp word [eax + edi*2], 0x5c
je 0x41c93c
push 1
push 0x46042c
mov ecx, esi
call fcn.00406e50
push 0xe
push str.Tencent_Files_
mov ecx, esi
call fcn.00406e50
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0043ef12
add esp, 0x220
ret
Function at 0x41df30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x458cab
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov dword [esp + 0x18], ebx
mov word [esp + 0x38], bx
call fcn.00443e10
add esp, 0xc
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
push 1
push 0x2e
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x250], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41e078
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41dfc0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea esi, [esp + 0x18]
call fcn.00406f20
mov eax, dword [esp + 0x24]
cmp eax, ebx
jg 0x41e016
push ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x4606f4
mov esi, edi
mov word [edi + 4], bx
call fcn.00406f20
cmp dword [esp + 0x28], 8
jb 0x41e0a8
mov eax, dword [esp + 0x14]
push eax
jmp 0x41e0a0
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41e022
call fcn.0043f7bb
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x41e031
lea eax, [esp + 0x14]
cmp word [eax + esi*2], 0x5c
je 0x41e048
push 1
push 0x46042c
lea ecx, [esp + 0x18]
call fcn.00406e50
push 8
push str.Tencent_
lea ecx, [esp + 0x18]
call fcn.00406e50
push 6
push str.QTalk_
lea ecx, [esp + 0x18]
call fcn.00406e50
push 0x10
push str.UserDataInfo.ini
lea ecx, [esp + 0x18]
call fcn.00406e50
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x18]
mov ecx, edi
mov word [edi + 4], bx
call fcn.00406cc0
cmp dword [esp + 0x28], 8
jb 0x41e0a8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0043ef12
add esp, 0x238
ret
Function at 0x41e0d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x238
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebp
push esi
push edi
xor ebp, ebp
push 0x208
lea eax, [esp + 0x34]
push ebp
push eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0x18], ebp
call fcn.00443e10
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41e19a
cmp dword [edi + 0x18], 8
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
jb 0x41e154
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
jmp 0x41e15b
add edi, 4
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x24], 0x41
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebp
je 0x41e19a
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4603c4
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x30]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
mov word [esi + 4], bp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41e1b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00406f20
mov ecx, dword [esp + 0x23c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0043ef12
add esp, 0x238
ret
Function at 0x41e1f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x21c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
xor ebx, ebx
push ebp
mov dword [edi], ebx
mov dword [edi + 4], ebx
cmp dword [eax + 0x18], 8
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
jb 0x41e226
mov eax, dword [eax + 4]
jmp 0x41e229
add eax, 4
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x41e357
push 0x206
lea edx, [esp + 0x1e]
push ebx
push edx
mov word [esp + 0x24], bx
call fcn.00443e10
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp ecx, ebx
ja 0x41e2af
cmp eax, 0x40000000
ja 0x41e2af
cmp eax, 0x200
push 0x460290
jb 0x41e290
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x41e288
fadd dword [0x466408]
fmul qword [0x466400]
jmp 0x41e2e7
push ebx
push str._d_s
push 0x208
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.0043ef21
add esp, 0x18
jmp 0x41e309
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
push 0x462f24
jge 0x41e2c6
fadd dword [0x466408]
fmul qword [0x4663f8]
lea edx, [ecx*4]
test edx, edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jge 0x41e2e5
fadd dword [0x466408]
faddp st(1)
sub esp, 8
fstp qword [esp]
push 0x462f28
push 0x208
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0043ef21
add esp, 0x1c
mov ecx, dword [esp + 0x14]
push 1
push ebx
push ebx
push ecx
call fcn.004511a0
mov ecx, dword [esp + 0x10]
xor ebp, ebp
add eax, ecx
mov dword [edi], eax
adc edx, ebp
mov dword [edi + 4], edx
lea eax, [esp + 0x18]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
lea edx, [eax + 2]
jmp 0x41e340
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e340
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
jmp 0x41e36b
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
push 0x4606f4
call fcn.00406f20
mov ecx, dword [esp + 0x224]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ef12
add esp, 0x21c
ret
Function at 0x41f7a0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x22c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
mov esi, ecx
call fcn.00443e10
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x41f7d6
mov esi, dword [esi + 4]
jmp 0x41f7d9
add esi, 4
push 0
push esi
push str._s_c
push 0x208
lea ecx, [esp + 0x34]
push 0x104
push ecx
call fcn.0043ef21
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
mov dword [esp + 0x1c], eax
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x24]
push eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], 0x14
mov dword [esp + 0x10], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x22c]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
add eax, 1
call fcn.0043ef12
add esp, 0x22c
ret

Function at 0x41f860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4589c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.00423da0
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x24], ebx
mov esi, edi
jne 0x41f8d2
push ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push 0x4606f4
mov word [edi + 4], bx
call fcn.00406f20
cmp dword [esp + 0x28], 8
jb 0x41f8f8
mov eax, dword [esp + 0x14]
push eax
jmp 0x41f8f0
lea ecx, [esp + 0x10]
push ecx
mov ebx, str.TencentQTalkMisc
call fcn.00408750
add esp, 4
cmp dword [esp + 0x28], 8
jb 0x41f8f8
mov edx, dword [esp + 0x14]
push edx
call fcn.0043ef40
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043ef12
add esp, 0x30
ret
Function at 0x420510
Capabilities:
Delete registry value

Disassembly:
push ecx
cmp dword [eax + 0x18], 8
push esi
mov esi, ecx
jb 0x42051f
mov eax, dword [eax + 4]
jmp 0x420522
add eax, 4
lea ecx, [esp + 4]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esi + 0x18], 8
jb 0x420545
mov eax, dword [esi + 4]
jmp 0x420548
lea eax, [esi + 4]
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret
Function at 0x421490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x1a]
push edi
mov dword [esp + 0x18], edi
push eax
mov esi, ecx
mov word [esp + 0x20], di
call fcn.00443e10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push edi
push str.SoftwareTencentQT
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
je 0x42153b
lea edx, [esp + 0xc]
push edx
push 0x20019
push edi
push str.SoftwareTencentQTalk
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x42153b
lea eax, [esp + 0xc]
push eax
push 0x20019
push edi
push str.SoftwareTencentQQTalk
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x42153b
mov edx, 0x4606f4
mov eax, esi
call fcn.00406a70
jmp 0x4215ba
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push 0x463068
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42157c
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
push 0x4606f4
jmp 0x4215b5
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4215a0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00406f20
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0043ef12
add esp, 0x214
ret
Function at 0x421900
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x459b90
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
call fcn.00428680
test eax, eax
jne 0x421af4
xor edi, edi
push 0xffffffffffffffff
push edi
mov eax, 0x472080
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.00406cc0
lea eax, [esp + 0x1c]
push eax
mov ebx, str.Users
lea esi, [esp + 0x58]
mov dword [esp + 0x9c], edi
call fcn.00408750
add esp, 4
mov ebp, 8
mov byte [esp + 0x98], 2
cmp dword [esp + 0x34], ebp
jb 0x4219a3
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043ef40
add esp, 4
push 0x472048
mov ebx, str.Users
lea esi, [esp + 0x3c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.00408750
add esp, 4
mov byte [esp + 0x98], 3
cmp dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x58]
jae 0x4219e0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, 7
jne 0x421a5c
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xa0], 4
push 0x472064
mov dword [esp + 0x24], 0x32
call fcn.004215e0
add esp, 0xc
cmp eax, edi
je 0x421a3e
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x78]
lea ecx, [esp + 0x5c]
call fcn.00406cc0
mov byte [esp + 0x98], 3
cmp dword [esp + 0x88], ebp
jb 0x421a5c
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0043ef40
add esp, 4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x20], 0x1388
call fcn.00423630
add esp, 0xc
test eax, eax
je 0x421ac1
lea ecx, [esp + 0x54]
call fcn.0041f7a0
cmp dword [esp + 0x50], ebp
mov esi, eax
jb 0x421a9d
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jb 0x421abd
mov eax, dword [esp + 0x58]
push eax
call fcn.0043ef40
add esp, 4
mov eax, esi
jmp 0x421af9
cmp dword [esp + 0x50], ebp
jb 0x421ad4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x6c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jb 0x421af4
mov edx, dword [esp + 0x58]
push edx
call fcn.0043ef40
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043ef12
add esp, 0x88
ret
Function at 0x422af0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x26
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp]
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422b17
sub eax, edx
sar eax, 1
je 0x422b40
movzx ecx, word [esi + eax*2 - 2]
cmp cx, 0x5c
je 0x422b39
cmp cx, 0x2f
jne 0x422b40
mov word [esi + eax*2 - 2], 0
push 0x4603c4
push str.Tencent
push esi
push str._s_s_s
push 0x104
push 0x104
push esi
call fcn.0043ef21
mov eax, 1
add esp, 0x20
ret
Function at 0x423490
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x458848
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0x17
xor ebp, ebp
push str.C:windowsWMSysPr9.prx
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
call fcn.00406f20
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x4234fc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423524
cmp dword [esp + 0x2c], esi
jb 0x42351a
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
mov eax, 1
jmp 0x4235c3
push 0x471fbc
mov ebx, str.program_filesTencentQTalkWMSysPr9.prx
lea esi, [esp + 0x34]
call fcn.00408750
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
mov esi, 5
jmp 0x423550
mov ecx, dword [esp + 0x18]
mov eax, 8
cmp dword [esp + 0x2c], eax
jae 0x423563
lea ecx, [esp + 0x18]
cmp dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
jae 0x423571
lea eax, [esp + 0x34]
push ebp
push ecx
push eax
call ebx
test eax, eax
jne 0x4235e2
push 2
call edi
sub esi, 1
cmp esi, ebp
jg 0x423550
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x42359d
mov eax, dword [esp + 0x34]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
jb 0x4235c1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043ef40
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043ef12
add esp, 0x48
ret
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x4235fa
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
jb 0x42351a
mov edx, dword [esp + 0x18]
push edx
call fcn.0043ef40
add esp, 4
mov eax, 1
jmp 0x4235c3
Function at 0x423ba0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x457e14
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
lea eax, [esp + 0x14]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x20], edi
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x423d14
push 0x208
lea edx, [esp + 0x58]
push edi
push edx
call fcn.00443e10
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, edi
je 0x423c7e
lea eax, [esp + 0x54]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x423c50
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x40]
call fcn.00406f20
mov eax, esi
mov dword [esp + 0x268], edi
mov ebx, 1
jmp 0x423cb0
push edi
push 0x4606f4
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.00406f20
mov eax, esi
mov dword [esp + 0x268], 1
mov ebx, 2
push 0xffffffffffffffff
mov esi, 7
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], edi
push edi
mov ecx, ebp
mov dword [esp + 0x20], ebx
mov word [ebp + 4], di
call fcn.00406cc0
or ebx, 4
test bl, 2
je 0x423cf9
and ebx, 0xfffffffd
cmp dword [esp + 0x34], 8
jb 0x423cec
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
test bl, 1
je 0x423d2f
cmp dword [esp + 0x50], 8
jb 0x423d2f
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043ef40
add esp, 4
jmp 0x423d2f
push edi
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], edi
push 0x4606f4
mov esi, ebp
mov word [ebp + 4], di
call fcn.00406f20
mov eax, ebp
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0043ef12
add esp, 0x258
ret
Function at 0x423e80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4599d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, 8
cmp dword [esi + 0x18], ebx
lea edi, [esi + 4]
jb 0x423ec1
mov eax, dword [edi]
jmp 0x423ec3
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423f43
push esi
lea eax, [esp + 0x10]
call fcn.0041bba0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], 0
call fcn.0041bcd0
add esp, 8
cmp dword [esi + 0x18], ebx
jb 0x423ef4
mov edi, dword [edi]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x423f29
cmp dword [esp + 0x24], ebx
jb 0x423f25
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x423f48
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], ebx
jb 0x423f43
mov edx, dword [esp + 0x10]
push edx
call fcn.0043ef40
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0043ef12
add esp, 0x2c
ret
Function at 0x425bf0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x458368
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
test edi, edi
je 0x425c99
test esi, esi
je 0x425c99
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebp
push esi
push edi
call ebx
cmp eax, 1
jne 0x425c48
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, esi
lea eax, [esp + 0xc]
call fcn.00406a70
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00422b70
cmp dword [esp + 0x24], 8
jb 0x425c78
mov eax, dword [esp + 0x10]
push eax
call fcn.0043ef40
add esp, 4
push ebp
push esi
push edi
call ebx
cmp eax, 1
je 0x425c31
push ebp
push esi
push edi
call ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x28
ret
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4262d0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x463b8c
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42631f
mov ecx, dword [esp + 0xc]
push 1
push 0
push 0
push ecx
call fcn.004511a0
mov ecx, dword [esp + 8]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [esp + 0xc], edx
js 0x42631f
jg 0x426315
cmp eax, 0x5a00000
jb 0x42631f
mov eax, 1
pop esi
add esp, 0x10
ret
xor eax, eax
pop esi
add esp, 0x10
ret