joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4526e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
call fcn.00408982
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00408982
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x54]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp + 8]
push eax
call fcn.00408ba7
mov dword [ebp - 0x64], eax
call fcn.00451f70
add esp, 0x28
mov byte [ebp - 0x65], al
movzx ecx, byte [ebp - 0x65]
test ecx, ecx
jne 0x45279f
mov byte [ebp - 0x5d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00406210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00406210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406210
mov al, byte [ebp - 0x5d]
jmp 0x452875
cmp dword [ebp - 0x54], reloc.WS2_32.dll_accept
jne 0x4527c2
lea edx, [ebp - 0x54]
push edx
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x4527c2
mov dword [ebp - 0x54], reloc.WS2_32.dll_accept
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00406410
push eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45282a
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00406410
push eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x55], al
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x54]
and edx, 0x80000000
cmp edx, 0x80000000
je 0x452845
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x55]
mov byte [ebp - 0x5e], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00406210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00406210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406210
mov al, byte [ebp - 0x5e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4533a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cd37
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0xc0], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x160]
mov byte [eax], 0
mov ecx, dword [ebp - 0x160]
add ecx, 4
call fcn.004513a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x160]
call fcn.00453d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453429
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044fc20
jmp 0x453556
push 1
lea ecx, [ebp - 0xa4]
call fcn.004212f0
mov byte [ebp - 4], 2
push 0x40
push 0x20
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0xa4]
call fcn.004213a0
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0xa4]
call fcn.004543b0
movzx ecx, al
test ecx, ecx
je 0x45348e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0041b9b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044fc20
jmp 0x453556
lea ecx, [ebp - 0x15c]
call fcn.00425aa3
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0xbc]
call fcn.0042365e
mov byte [ebp - 4], 4
push 1
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00425ba5
movzx ecx, al
test ecx, ecx
jne 0x45350b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call fcn.004239b8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.00453df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0041b9b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044fc20
jmp 0x453556
lea edx, [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0x160]
call fcn.00453ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call fcn.004239b8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.00453df0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0041b9b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xc0]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x453d00
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0053c870
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.kuaizipUser_Data_
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453d89
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.unzip_history
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041a130
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4

Function at 0x454960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 2
jne 0x45497b
mov ecx, dword [ebp - 4]
add ecx, 0x338
call fcn.00462ff0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
add ecx, 0x344
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4552e0
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d162
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x230]
mov dword [eax], vtable.CAddProperties.3.0
mov ecx, dword [ebp - 0x230]
mov dword [ecx + 4], vtable.CAddProperties.2.0
mov edx, dword [ebp - 0x230]
mov dword [edx + 8], vtable.CAddProperties.1.0
mov eax, dword [ebp - 0x230]
mov dword [eax + 0xc], vtable.CAddProperties.0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x230]
add ecx, 0x30
call fcn.004a6180
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x45541e
mov ecx, dword [ebp - 0x230]
add ecx, 0x18
call fcn.0044fcb0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x455389
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jge 0x45541e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x30
call fcn.0045fcc0
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jae 0x455419
push 0x104
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x18
call fcn.004560f0
mov ecx, eax
call fcn.00406410
push eax
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x582790
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x18
call fcn.004560f0
mov ecx, eax
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x455380
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x230]
add ecx, 0x68
call fcn.0044fc20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x230]
add ecx, 0x4c
call fcn.00406210
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
add ecx, 0x48
call fcn.00496090
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x230]
add ecx, 0x30
call fcn.00456190
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x230]
add ecx, 0x18
call fcn.00451490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x455770
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004dfdf0
cmp dword [eax + 0x214], 1
jne 0x455795
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x4557a7
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x455ce0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d1ed
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
call fcn.00408982
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.00456050
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x455d49
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406210
mov eax, dword [ebp - 0x44]
jmp 0x455e8a
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0xc], 0
jne 0x455da4
mov ecx, dword [ebp + 8]
add ecx, 0x4c
call fcn.00406410
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455da2
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004dfdf0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004dfdf0
add eax, 8
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x4c
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x455e1c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6c], 0
jne 0x455dbc
lea ecx, [ebp - 0x38]
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
add ecx, 0x4c
call fcn.00436850
movzx eax, al
test eax, eax
je 0x455de8
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004dfdf0
add eax, 8
mov dword [ebp - 0x4c], eax
jmp 0x455df6
mov ecx, dword [ebp + 8]
add ecx, 0x4c
call fcn.00406410
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004998b0
add esp, 4
push eax
push 0
mov eax, dword [ebp - 0x40]
push eax
call fcn.0049c1a0
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0xc], 0x80004004
jne 0x455e3a
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004dfdf0
mov dword [eax + 0x8e4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
call fcn.004e85a0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x48
call fcn.004dfdf0
add eax, 0x878
mov ecx, eax
call fcn.0045aa20
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406210
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 8

Function at 0x455ed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.004dfdf0
add eax, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455f0a
mov ecx, dword [ebp + 8]
add ecx, 0x44
call fcn.004dfdf0
add eax, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x455f0f
mov eax, 0x80004005
pop ebp
ret 8
Function at 0x45b610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d56e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
add eax, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45b793
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + 0x850]
test edx, edx
jne 0x45b67b
mov eax, dword [ebp - 0x30]
add eax, 8
push eax
push 8
mov ecx, dword [ebp - 0x30]
add ecx, 0x850
push ecx
call fcn.00459e60
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00401420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403220
push eax
call fcn.00439940
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x45b6c1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x28]
jmp 0x45b7b0
lea ecx, [ebp - 0x14]
call fcn.00401410
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp - 0x30]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00459e40
add esp, 4
test eax, eax
jne 0x45b784
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp - 0x30]
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x24]
call fcn.004d7680
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0xbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x45b74f
lea ecx, [ebp - 0x24]
call fcn.00453330
test eax, eax
je 0x45b74f
mov dword [ebp - 0x20], 0x153
mov edx, dword [ebp - 0x20]
push edx
push 0
call fcn.0049e770
add esp, 8
mov dword [ebp - 0x2c], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00403d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x2c]
jmp 0x45b7b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.0045c970
test eax, eax
jne 0x45b7ae
mov eax, 0x80004004
jmp 0x45b7b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e160
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.CParseCommandLine.0
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x45f460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56da63
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._op:
lea ecx, [ebp - 0x10]
call fcn.0041a130
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00456610
push str.__sourcemain
lea ecx, [ebp - 0x10]
call fcn.00456610
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, 0x5fbeec
call fcn.0044ab70
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x583148
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x230]
call fcn.00438030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 0x583134
lea edx, [ebp - 0x230]
push edx
call fcn.004386c0
add esp, 0x10
mov dword [ebp - 0x27c], 0
push 0x40
push 0
lea eax, [ebp - 0x278]
push eax
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x27c], 0x44
mov ecx, 5
mov word [ebp - 0x24c], cx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x230]
call fcn.004dfdf0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x45f5a4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x4607d0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0x10
je 0x4607f2
xor eax, eax
jmp 0x460815
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
push str.thumbs.db
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4610d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.00475500
movzx eax, al
test eax, eax
je 0x4610ef
xor eax, eax
jmp 0x461134
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x461110
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call fcn.00461230
jmp 0x461134
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x461128
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004614d0
jmp 0x461134
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call fcn.00461360
mov esp, ebp
pop ebp
ret 4

Function at 0x461140
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x461170
xor eax, eax
jmp 0x4611c9
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
cmp eax, 0x3a
je 0x4611ba
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 2]
cmp edx, 0x5c
je 0x4611ba
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.00461360
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x464510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x670], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x670], 0
je 0x46454f
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x46460a
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00436850
movzx edx, al
test edx, edx
je 0x4645f0
mov dword [ebp - 4], 0
jmp 0x46457a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10000
jge 0x4645f0
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.0041b5d0
push str..tmp
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00437730
push 0xa
push 0x20
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
cdq
push edx
push eax
call fcn.00540ac7
add esp, 0x14
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00437730
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00406410
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4645ee
jmp 0x4645f0
jmp 0x464571
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00406410
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0x14

Function at 0x464670
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jl 0x4646f0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x670], 0
jne 0x4646c3
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00436850
movzx ecx, al
test ecx, ecx
jne 0x4646c3
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp + 8]
add ecx, 0x428
push ecx
mov edx, dword [ebp + 8]
add edx, 0x220
push edx
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
push 1
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x66c]
call fcn.0047feb0
jmp 0x46472b
push 0
push 0
push 0x501
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x66c]
add ecx, 4
call fcn.0043c480
mov eax, dword [ebp + 8]
cmp dword [eax + 0x670], 0
jne 0x46472b
mov ecx, dword [ebp + 8]
add ecx, 0x650
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop ebp
ret 8

Function at 0x464ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, dword [ebp - 4]
call fcn.0045e160
mov ecx, dword [ebp - 4]
mov dword [ecx], vtable.CCmdArgs.0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x466220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 3
je 0x466234
xor eax, eax
jmp 0x46625f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46625a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
push eax
call fcn.0049a120
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4667e0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
push 0x5834e0
push 0x10000
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x466825
jmp 0x46683f
push 0
push 0
push 0
push 6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret