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

Disassembly:
push 0xffffffffffffffff
push 0x493e00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5c]
push 1
lea eax, [esp + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.00433e30
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
sar ecx, 1
jne 0x433865
call fcn.00476d83
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edx
push edi
call esi
inc eax
push eax
lea eax, [esp + 0x18]
call fcn.0042ca77
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x43389b
call fcn.00476d83
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ecx
sar eax, 1
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub ecx, edx
sar ecx, 1
cmp eax, ecx
jbe 0x4338f4
push ebx
call fcn.004334a0
mov dword [esp + 0x10], 1
mov dword [esp + 0x54], 2
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4338da
push eax
call fcn.00476b40
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x14]
push eax
jmp 0x43399b
cmp ecx, edi
ja 0x433901
call fcn.00476d83
mov edx, dword [esp + 0x20]
xor ecx, ecx
push edx
mov esi, edx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], cx
call fcn.00477183
add esp, 4
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004036af
mov byte [esp + 0x54], 4
push ebx
lea ecx, [esp + 0x30]
call fcn.00433500
mov dword [esp + 0x10], 1
mov byte [esp + 0x54], 1
cmp dword [esp + 0x44], 8
jb 0x43395a
mov edx, dword [esp + 0x30]
push edx
call fcn.00476b40
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
mov dword [esp + 0x54], 5
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x433986
push eax
call fcn.00476b40
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], edi
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00476b40
mov eax, ebx
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
ret
Function at 0x4339c0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4964e3
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], edi
mov esi, ecx
mov dword [esp + 0x18], ebx
call fcn.00433810
add esp, 4
mov dword [esp + 0x26c], 1
mov ebp, 8
cmp dword [esi + 0x18], ebp
jb 0x433a2d
mov esi, dword [esi + 4]
jmp 0x433a30
add esi, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x433a3e
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp byte [esp + 0x274], bl
je 0x433a60
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x54]
xor eax, eax
mov esi, 7
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.00477183
add esp, 4
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.004036af
mov byte [esp + 0x26c], 2
push edi
lea ecx, [esp + 0x1c]
call fcn.00433500
mov dword [esp + 0x14], 1
mov byte [esp + 0x26c], 1
cmp dword [esp + 0x30], ebp
jb 0x433ac5
mov eax, dword [esp + 0x1c]
push eax
call fcn.00476b40
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov dword [esp + 0x26c], ebx
cmp dword [esp + 0x50], ebp
jb 0x433aee
mov edx, dword [esp + 0x3c]
push edx
call fcn.00476b40
add esp, 4
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
mov eax, edi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.00476b4b
add esp, 0x260
ret
Function at 0x433fc0
Capabilities:
Create thread

Disassembly:
push 8
call fcn.00476f9f
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
add esp, 4
push 0
push 0
push eax
push 0x433ff0
push 0
push 0
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x43b000
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, eax
mov ebx, dword [esi + 0xc]
push edi
cmp ebx, dword [esi + 0x10]
jbe 0x43b016
call fcn.00476d83
mov ebp, dword [esi + 0x10]
mov edi, dword [esi]
cmp dword [esi + 0xc], ebp
jbe 0x43b025
call fcn.00476d83
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x43b030
test edi, edi
je 0x43b03a
cmp edi, dword [esp + 0x10]
je 0x43b03f
call fcn.00476d83
cmp ebx, ebp
je 0x43b08c
test edi, edi
jne 0x43b084
call fcn.00476d83
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x43b058
call fcn.00476d83
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x43b063
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x43b088
call fcn.00476d83
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x43b07f
call fcn.00476d83
add ebx, 0x1c
jmp 0x43b030
mov eax, dword [edi]
jmp 0x43b04e
mov eax, dword [edi]
jmp 0x43b075
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x43b099
call fcn.00476d83
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x43b0a8
call fcn.00476d83
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0043b420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x43b0c0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, eax
mov ebx, dword [esi + 0x10]
push edi
cmp dword [esi + 0xc], ebx
jbe 0x43b0d6
call fcn.00476d83
mov edi, dword [esi]
mov ebp, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], ebx
cmp ebx, dword [esi + 0x10]
jbe 0x43b0eb
call fcn.00476d83
mov eax, dword [esi]
mov dword [esp + 0x18], eax
test edi, edi
je 0x43b0fb
cmp edi, dword [esp + 0x18]
je 0x43b100
call fcn.00476d83
cmp ebp, ebx
je 0x43b173
mov dword [esp + 0x24], ebp
test edi, edi
jne 0x43b140
call fcn.00476d83
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x43b11d
call fcn.00476d83
lea ebx, [ebp - 0x1c]
test edi, edi
jne 0x43b144
call fcn.00476d83
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x43b135
call fcn.00476d83
cmp dword [ebx + 0x18], 8
jb 0x43b148
mov eax, dword [ebx + 4]
jmp 0x43b14b
mov eax, dword [edi]
jmp 0x43b113
mov eax, dword [edi]
jmp 0x43b12b
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test edi, edi
jne 0x43b16f
call fcn.00476d83
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x43b167
call fcn.00476d83
mov ebp, ebx
mov ebx, dword [esp + 0x14]
jmp 0x43b0f1
mov eax, dword [edi]
jmp 0x43b15d
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x43b180
call fcn.00476d83
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x43b18f
call fcn.00476d83
mov eax, dword [esi]
push ebp
push ebx
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0043b420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x43bfe0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x2bc], eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4011
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push 0x4a58f0
call edi
push 0x4011
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push 0x10
push str.C:FAKE_DIR_
mov dword [esi], eax
call edi
mov edx, dword [esp + 0x10]
push 0x4013
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0x10
push str.C:FAKE_DIR_
mov dword [esi + 4], edx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push 0x11
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x43c0bd
mov ecx, dword [esp + 4]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push ecx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
mov dword [esi + 0xc], edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x43c0c4
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, esi
pop edi
mov ecx, dword [esp + 0x2bc]
xor ecx, esp
call fcn.00476b4b
add esp, 0x2c0
ret
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x2c0]
pop edi
xor ecx, esp
mov eax, esi
call fcn.00476b4b
add esp, 0x2c0
ret

Function at 0x43d2a0
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
mov ebx, ecx
call fcn.0043d450
mov eax, 8
cmp dword [edi + 0x18], eax
jb 0x43d2bd
mov edi, dword [edi + 4]
jmp 0x43d2c0
add edi, 4
cmp dword [ebx + 0x18], eax
jb 0x43d2ca
mov ebx, dword [ebx + 4]
jmp 0x43d2cd
add ebx, 4
test edi, edi
je 0x43d2ec
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 2
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret
Function at 0x43d2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4963b3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x43d40e
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x43d33e
mov ecx, dword [esi]
jmp 0x43d340
mov ecx, esi
lea edx, [esp + 0x14]
push edx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x43d40e
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x43d372
cmp eax, 2
jne 0x43d40e
mov eax, dword [esp + 0x14]
shr eax, 1
mov dword [esp + 0x1c], eax
cmp eax, ebx
jbe 0x43d40e
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00433e30
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
sar ecx, 1
jne 0x43d3a8
call fcn.00476d83
cmp dword [edi + 0x18], 8
jb 0x43d3b2
mov eax, dword [esi]
jmp 0x43d3b4
mov eax, esi
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
push eax
push edx
lea esi, [esp + 0x24]
call fcn.00418e5b
cmp eax, ebx
jne 0x43d400
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 1
jne 0x43d3dc
call fcn.00476d83
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00403740
mov dword [esp + 0x18], 1
mov byte [esp + 0x40], bl
lea edx, [esp + 0x20]
push edx
call fcn.00412310
jmp 0x43d42a
mov byte [esp + 0x40], bl
lea eax, [esp + 0x20]
push eax
call fcn.00412310
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
xor ecx, ecx
mov word [ebp + 4], cx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], 1
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8

Function at 0x43d760
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x43e610
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x496358
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43e67f
mov edx, dword [0x4c1400]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c1400
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x43e6fa
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x43e692
mov ecx, 0x5c
mov word [esp + eax*2 + 0x10], cx
inc eax
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
mov eax, dword [0x4c1400]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c1400
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x224], 2
lea eax, [esp + 0x10]
test eax, 0xffff0000
jne 0x43e6e0
mov ecx, eax
movzx edi, cx
push edi
call fcn.0040f35e
add esp, 4
test eax, eax
je 0x43e6fa
push edi
push eax
mov eax, esi
call fcn.0040f477
jmp 0x43e6fa
lea edx, [esp + 0x10]
push edx
call fcn.00477183
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00407364
mov dword [esp + 0x224], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00476b4b
add esp, 0x220
ret

Function at 0x43e8e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4962e8
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
lea eax, [esp + 0x218]
push eax
xor edi, edi
push 0x104
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43e950
mov edx, dword [0x4c1400]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c1400
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x43e999
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x4a5924
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x43e983
mov eax, dword [0x4c1400]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c1400
call edx
add eax, 0x10
mov dword [esi], eax
jmp 0x43e999
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0040f504
mov dword [esp + 0x42c], edi
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00476b4b
add esp, 0x428
ret
Function at 0x43f100
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
lea eax, [esp + 0x20c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43f146
xor al, al
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00476b4b
add esp, 0x414
ret
mov esi, dword [esi]
lea ecx, [esp + 4]
push ecx
push 0
push esi
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x43f12e
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 4]
push ecx
call fcn.00477183
add esp, 4
push eax
lea edx, [esp + 8]
push edx
mov eax, edi
call fcn.00407364
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
mov al, 1
call fcn.00476b4b
add esp, 0x414
ret
Function at 0x442400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ee73
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
mov dword [esp + 0x14], 1
push esi
call fcn.004762f0
add esp, 4
mov byte [esp + 0x14], 0
cmp dword [esi + 0x30], 0x10
jb 0x442456
mov eax, dword [esi + 0x1c]
push eax
call fcn.00476b40
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x442c20
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x490258
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x4c2578], 0
je 0x442ccc
lea eax, [esp + 0x14]
push eax
mov ebx, esi
mov dword [esp + 0x14], 0
call fcn.0043c2e0
add esp, 4
xor ebx, ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x18], 0x10
mov esi, dword [esi + 0x14]
jb 0x442c7b
mov eax, dword [eax + 4]
jmp 0x442c7e
add eax, 4
mov edx, dword [0x4c2578]
push ebx
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x442caf
mov eax, dword [esp + 0x18]
push eax
call fcn.00476b40
add esp, 4
mov ecx, dword [0x4c2578]
push ecx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x443320
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004773f0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x443379
cmp dword [ebp - 0x7c], 5
jae 0x443375
cmp dword [ebp - 0x7c], 4
jne 0x443379
cmp dword [ebp - 0x78], 0x5a
jb 0x443379
xor eax, eax
jmp 0x44337c
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00476b4b
add ebp, 0x98
leave
ret
Function at 0x444b50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4bf490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test byte [eax + 0x60], 1
jne 0x444b6d
xor al, al
jmp 0x444be2
push edi
call fcn.0044544f
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jl 0x444bab
test ecx, ecx
jge 0x444b8d
push 0x80070057
call fcn.00407bce
cmp word [eax], 0x5c
jne 0x444baf
cmp ecx, 1
jl 0x444b83
cmp word [eax + 2], 0x5c
jne 0x444baf
cmp ecx, 2
jl 0x444b83
cmp word [eax + 4], 0x5c
je 0x444baf
xor al, al
jmp 0x444be1
push esi
xor esi, esi
test esi, esi
jl 0x444b83
mov ecx, esi
mov eax, edi
call fcn.004404e0
mov word [ebp + esi*2 - 0xc], ax
inc esi
cmp esi, 3
jl 0x444bb2
xor eax, eax
mov word [ebp - 6], ax
pop esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
setne al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00476b4b
leave
ret 4

Function at 0x444bf0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
call fcn.0044544f
lea esi, [ebp - 4]
mov edi, eax
call fcn.0043e610
push 0x5c
mov esi, edi
call fcn.0042e22b
lea edx, [eax + 1]
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0042e249
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.0042e514
lea ecx, [ebp - 0xc]
call fcn.004071b8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x444c4f
push 0x80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [edi]
xor esi, esi
push esi
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x444c68
inc esi
mov dword [ebx + 8], esi
jmp 0x444cbd
lea eax, [ebp - 8]
push eax
call fcn.00407441
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 8]
push dword [edi]
push dword [ebp - 4]
push str.__s___OriginalPath:__s__s
push eax
call fcn.0042ec93
add esp, 0x14
lea eax, [ebx + 0x10c]
call fcn.0044a818
push esi
push 0x20
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004534a5
add esp, 0x14
test al, al
jne 0x444cb5
xor esi, esi
inc esi
mov dword [ebx + 8], esi
lea ecx, [ebp - 8]
call fcn.004071b8
lea ecx, [ebp - 4]
call fcn.004071b8
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x44531b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, eax
xor esi, esi
lea eax, [ebx + 0x10c]
mov dword [ebp - 4], esi
call fcn.0044a818
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x445360
push str._SystemFolder_msiexec.exe
lea eax, [ebp - 0xc]
push eax
call fcn.0040f504
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 3
call fcn.0044ac20
pop ecx
jmp 0x445362
mov eax, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00416651
test byte [ebp - 4], 2
je 0x44537e
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x10]
call fcn.004071b8
test byte [ebp - 4], 1
je 0x44538c
lea ecx, [ebp - 0xc]
call fcn.004071b8
cmp dword [ebx], esi
je 0x44539d
call fcn.0044544f
lea edi, [ebp - 8]
call fcn.00406165
xor edi, edi
inc edi
push edi
push 0x20
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.004534a5
add esp, 0x14
push 0x4c259c
mov byte [ebp + 0xb], al
call fcn.0044b7f3
cmp byte [ebp + 0xb], 0
pop ecx
jne 0x445430
cmp byte [0x4c08c0], 0
lea eax, [ebp + 8]
push eax
je 0x4453f6
call fcn.00407441
push 0x83
lea eax, [ebp + 8]
push eax
call fcn.0040f4bf
push esi
lea esi, [ebp + 8]
call fcn.0044b4be
pop ecx
jmp 0x445412
call fcn.00407441
push 0x83
lea eax, [ebp + 8]
push eax
call fcn.0040f4bf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 8]
call fcn.004071b8
push 7
mov dword [ebx + 8], edi
pop esi
lea ecx, [ebp - 8]
call fcn.004071b8
pop edi
mov eax, esi
pop esi
leave
ret 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
jmp 0x445420

Function at 0x445eb2
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov edi, eax
cmp byte [edi + 0xac], 0
mov dword [edi], 0x4a5de4
je 0x445f49
cmp dword [edi + 0x78], 3
je 0x445efa
call fcn.00446dde
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x445efa
cmp eax, 1
je 0x445efa
mov eax, dword [edi + 0x40]
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x445ef5
shr eax, 6
test al, 1
je 0x445efa
call fcn.00446455
push ebx
mov ebx, dword [edi + 0x94]
xor esi, esi
test ebx, ebx
jle 0x445f25
push ebp
lea ebp, [edi + 0x90]
mov eax, esi
mov ecx, ebp
call fcn.00447d3b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc esi
cmp esi, ebx
jl 0x445f0e
pop ebp
mov esi, dword [edi + 0xa0]
dec esi
js 0x445f48
lea ebx, [edi + 0x9c]
mov eax, esi
mov ecx, ebx
call fcn.00447d3b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec esi
jns 0x445f34
pop ebx
lea ecx, [edi + 0xb0]
call fcn.004071b8
lea ecx, [edi + 0xa8]
call fcn.004071b8
lea esi, [edi + 0x9c]
call fcn.00432cf4
lea esi, [edi + 0x90]
call fcn.00432cf4
lea esi, [edi + 0x84]
call fcn.00447df2
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x445f92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x6c], 0
lea esi, [edi + 0x60]
call fcn.00447db8
lea ecx, [edi + 0x5c]
call fcn.004071b8
lea ecx, [edi + 0x58]
call fcn.004071b8
lea ecx, [edi + 0x54]
call fcn.004071b8
lea ecx, [edi + 0x50]
pop edi
pop esi
jmp fcn.004071b8