joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459690
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab636
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x140], 0x100000
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x94]
call fcn.004b3525
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x459713
mov byte [ebp - 0x119], 1
jmp 0x45971a
mov byte [ebp - 0x119], 0
mov cl, byte [ebp - 0x119]
mov byte [ebp - 0x11a], cl
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x459808
mov eax, dword [ebp - 0x120]
cmp dword [eax + 0x794], 0
je 0x459808
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005a4b10
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x61fdf8]
divss xmm0, dword [0x61fdf8]
divss xmm0, dword [0x61fdf8]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x120]
add ecx, 0x90c
call fcn.00413640
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004b3aa9
add esp, 0x10
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005a4b10
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x61fdf8]
divss xmm0, dword [0x61fdf8]
divss xmm0, dword [0x61fdf8]
mov edx, dword [ebp - 0x120]
movss dword [edx + 0x8d4], xmm0
lea ecx, [ebp - 0x94]
call fcn.004b3701
push eax
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x794]
mov edx, dword [ebp - 0x120]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x794]
mov edx, dword [eax + 0x2c]
call edx
push 0x5fdc64
mov ecx, dword [ebp - 0x120]
add ecx, 0x30
call fcn.004a9a72
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x459896
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x128]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x138]
call fcn.004b3701
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x8f4
call fcn.00413640
push eax
lea edx, [ebp - 0x94]
push edx
call fcn.004b3aa9
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004b3603
mov eax, dword [ebp - 0x120]
cmp dword [eax + 0x794], 0
je 0x4598d0
lea ecx, [ebp - 0x94]
call fcn.004b3701
push eax
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx + 0x790]
mov eax, dword [ebp - 0x120]
mov edx, dword [edx]
mov ecx, dword [eax + 0x790]
mov eax, dword [edx + 0x2c]
call eax
mov cl, byte [ebp - 0x11a]
mov byte [ebp - 0x121], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b3603
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 4
Function at 0x45a140
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab731
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0057a870
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0057a870
add esp, 0xc
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x988]
add eax, 0x44
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004136a0
mov ecx, dword [ebp - 0x470]
mov edx, dword [ecx + 0x988]
add edx, 0xbc
push edx
lea ecx, [ebp - 0x450]
call fcn.004138a0
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x480], esp
lea eax, [ebp - 0x450]
push eax
call fcn.004138a0
mov dword [ebp - 0x484], eax
call fcn.004875a0
add esp, 0x18
mov byte [ebp - 0x469], al
movzx ecx, byte [ebp - 0x469]
test ecx, ecx
je 0x45a224
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
jmp 0x45a237
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00418610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x468]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.0046b2d0
mov dword [ebp - 0x474], eax
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x478], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x478]
push eax
lea ecx, [ebp - 0x438]
call fcn.0046e1f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x468]
call fcn.00413710
push 0
lea ecx, [ebp - 0x438]
call fcn.00413640
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004136a0
mov dword [ebp - 0x47c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.00413710
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 8

Function at 0x4648b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x26
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esp, ebp
pop ebp
ret 4
Function at 0x4662e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac843
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp - 0x270]
mov ecx, dword [eax + 0x988]
add ecx, 0x74
push ecx
lea ecx, [ebp - 0x28]
call fcn.004138a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x280], 0
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x254], 0x22c
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
jne 0x46638d
mov byte [ebp - 0x255], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov al, byte [ebp - 0x255]
jmp 0x46656b
mov ecx, 1
test ecx, ecx
je 0x466542
mov dword [ebp - 0x254], 0x22c
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x4663c1
jmp 0x466542
lea ecx, [ebp - 0x28]
call fcn.00413640
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
mov ax, word [edx]
mov word [ebp - 0x262], ax
mov ecx, dword [ebp - 0x260]
cmp ax, word [ecx]
jne 0x466441
cmp word [ebp - 0x262], 0
je 0x466435
mov edx, dword [ebp - 0x25c]
mov ax, word [edx + 2]
mov word [ebp - 0x264], ax
mov ecx, dword [ebp - 0x260]
cmp ax, word [ecx + 2]
jne 0x466441
add dword [ebp - 0x25c], 4
add dword [ebp - 0x260], 4
cmp word [ebp - 0x264], 0
jne 0x4663db
mov dword [ebp - 0x26c], 0
jmp 0x46644c
sbb edx, edx
or edx, 1
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x46653d
push 0
push 2
push str.bool___thiscall_InstallUIMainWnd::AppIsRunning_void_
push 0xaa7
push 0x60171c
push 0x80
lea ecx, [ebp - 0x2b8]
call fcn.00422610
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24c]
push edx
push 0x601750
lea eax, [ebp - 0x28]
push eax
push 0x601718
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [0x640128]
push edx
push 1
mov eax, dword [ebp - 0x27c]
push eax
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043aec0
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.00474050
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.0043ad10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b8]
call fcn.00422690
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x280], ecx
push 1
push 3
mov ecx, dword [ebp - 0x270]
call fcn.00465810
mov byte [ebp - 0x256], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov al, byte [ebp - 0x256]
jmp 0x46656b
jmp 0x46638d
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0x257], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov al, byte [ebp - 0x257]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x466de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac91b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xa8]
call fcn.004662e0
movzx eax, al
test eax, eax
jne 0x466e2b
or eax, 0xffffffff
jmp 0x467012
mov ecx, dword [ebp - 0xa8]
call fcn.00465c50
movzx ecx, al
test ecx, ecx
jne 0x466e45
or eax, 0xffffffff
jmp 0x467012
mov ecx, dword [ebp - 0xa8]
call fcn.00466bc0
mov dword [0x64012c], 0x230
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
mov edx, dword [0x64012c]
sub edx, 0xc8
push edx
push 0x28a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xa8]
call fcn.004b4363
lea ecx, [ebp - 0xa4]
call fcn.004b3525
mov dword [ebp - 4], 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0xa8]
add ecx, 0x860
call fcn.00413640
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004b3aa9
add esp, 0x10
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 0x78c], 0
je 0x466f1d
lea ecx, [ebp - 0xa4]
call fcn.004b3701
push eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x78c]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x78c]
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x8e0], 0
je 0x466f50
push 1
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x8e0]
mov eax, dword [ebp - 0xa8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x8e0]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x8e4], 0
je 0x466f83
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x8e4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x8e4]
mov eax, dword [edx + 0x104]
call eax
push 0
push 0
mov ecx, dword [ebp - 0xa8]
push ecx
push 0x463720
push 0
push 0
call fcn.0057dd1e
add esp, 0x18
mov edx, 4
shl edx, 2
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + edx + 0x9e0], eax
push 0
push 0
mov edx, dword [ebp - 0xa8]
push edx
push 0x45a400
push 0
push 0
call fcn.0057dd1e
add esp, 0x18
mov ecx, 4
imul edx, ecx, 5
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + edx + 0x9e0], eax
mov ecx, dword [ebp - 0xa8]
call fcn.00465930
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.004b3603
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x467050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac95b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x601948
lea ecx, [ebp - 0x230]
call fcn.00418610
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x988]
add ecx, 0x44
push ecx
lea ecx, [ebp - 0x230]
call fcn.0046e180
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x230]
call fcn.00413640
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46716d
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x240]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46712d
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00413680
jmp 0x46715e
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00413710
mov eax, dword [ebp - 0x244]
jmp 0x4671b3
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x467191
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00413710
mov eax, dword [ebp - 0x248]
jmp 0x4671b3
mov dword [ebp - 0x24c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00413710
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 8
Function at 0x4671d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x104
mov dword [ebp - 0x44], 1
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x28]
call fcn.00418610
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x988]
add ecx, 0x44
push ecx
lea ecx, [ebp - 0x28]
call fcn.0046e180
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00413640
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4672e4
lea ecx, [ebp + 0xc]
call fcn.00411720
shl eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.00413640
push eax
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4672b3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00413710
mov eax, dword [ebp - 0x34]
jmp 0x467309
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00413710
mov eax, dword [ebp - 0x38]
jmp 0x467309
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00413710
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4673a0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac9eb
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
mov word [ebp - 0x64], ax
push 0x5e4863
lea ecx, [ebp - 0x48]
call fcn.00411850
mov dword [ebp - 4], 0
push 1
push 3
lea ecx, [ebp - 0x12c]
call fcn.0042b560
mov byte [ebp - 4], 1
lea eax, [ebp - 0x12c]
test eax, eax
je 0x467417
lea ecx, [ebp - 0x12c]
add ecx, 0x10
mov dword [ebp - 0x74], ecx
jmp 0x46741e
mov dword [ebp - 0x74], 0
movzx edx, word [ebp - 0x64]
push edx
push str.Unknown__
mov eax, dword [ebp - 0x74]
push eax
call fcn.00439670
add esp, 8
mov ecx, eax
call fcn.004704f0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0042b4c0
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x48]
call fcn.0042a460
lea ecx, [ebp - 0x60]
call fcn.00411780
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x7c], 0x64a5b0
mov dword [ebp - 0x68], 0
jmp 0x467481
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x40
jae 0x4674d4
mov ecx, dword [ebp - 0x68]
shl ecx, 5
add ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00467530
mov byte [ebp - 4], 2
movzx edx, word [ebp - 0x64]
cmp edx, dword [ebp - 0x30]
jne 0x4674c6
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0042a3f0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00412b10
jmp 0x4674d4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00412b10
jmp 0x467478
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.00467570
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.004696f0
push 1
push 1
mov ecx, dword [ebp - 0x70]
call fcn.00464f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0041d3a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00411780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret
Function at 0x46afc0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acf3c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0057a870
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0057a870
add esp, 0xc
lea ecx, [ebp - 0x468]
call fcn.00413850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00413850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.00413850
mov byte [ebp - 4], 2
lea edx, [ebp - 0x480]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.0046b1f0
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x438]
call fcn.00413760
lea ecx, [ebp - 0x480]
call fcn.00413710
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x46b18f
push 0x104
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00413680
lea edx, [ebp - 0x498]
push edx
mov ecx, dword [ebp - 0x4a4]
call fcn.0046b2d0
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4b0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0046e1f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.00413710
push 0x6025c8
mov ecx, dword [ebp + 8]
call fcn.0046e1d0
push 0
mov ecx, dword [ebp + 8]
call fcn.00413640
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x46b150
cmp dword [ebp - 0x4a0], 0x50
je 0x46b150
cmp dword [ebp - 0x4a0], 0xb7
je 0x46b150
jmp 0x46b18f
mov byte [ebp - 0x499], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.00413710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00413710
mov al, byte [ebp - 0x499]
jmp 0x46b1cc
mov byte [ebp - 0x49a], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.00413710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00413710
mov al, byte [ebp - 0x49a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 4
Function at 0x46c660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad128
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x28]
call fcn.00413850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00413850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00413850
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.0046afc0
push 1
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.0046b530
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x58]
call fcn.00413760
lea ecx, [ebp - 0x70]
call fcn.00413710
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046e1f0
push 0x603168
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00473ca0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x40]
call fcn.00413760
lea ecx, [ebp - 0x88]
call fcn.00413710
lea ecx, [ebp - 0x28]
call fcn.00413640
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00413640
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00413710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret