joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44be10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538308
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x27c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x280], ecx
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0xc
add ecx, 0xc
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004b304f
add esp, 4
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x44be82
xor eax, eax
jmp 0x44c08d
push 4
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004f8090
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov dword [edx], 0x34532008
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0xc
push ecx
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
push ecx
call fcn.004f8140
add esp, 0xc
mov edx, dword [ebp - 0x1c]
sub edx, 8
push edx
mov eax, dword [ebp - 0x18]
add eax, 8
push eax
call fcn.00496960
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004b362e
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 1
push 0
push 0x9002
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004b3b7a
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
je 0x44bf57
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004b3364
lea ecx, [ebp - 0x2c]
call fcn.004b35c8
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x258]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ecx], 0
mov dword [ecx + 4], 0
lea edx, [ebp - 0x250]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
mov dword [eax], 0
mov dword [eax + 4], 0
push 0x22c
push 0
lea ecx, [ebp - 0x260]
push ecx
call fcn.004f8090
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b44d1
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x44c00e
movzx ecx, byte [ebp - 0x240]
or ecx, 2
mov byte [ebp - 0x240], cl
movzx edx, byte [ebp - 0x240]
or edx, 4
mov byte [ebp - 0x240], dl
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b46a8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004b37e5
jmp 0x44c064
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x274]
push eax
call fcn.004b3044
add esp, 4
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x44c0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov eax, dword [ebp - 0x80c]
cmp dword [eax + 0xc], 0
je 0x44c0df
mov eax, 1
jmp 0x44c1c8
xor ecx, ecx
mov word [ebp - 0x408], cx
push 0x3fe
push 0
lea edx, [ebp - 0x406]
push edx
call fcn.004f8090
add esp, 0xc
push 0x200
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x80c]
call fcn.0044c300
push str.NTUSER.DAT
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
mov word [ebp - 0x808], dx
push 0x3fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.004f8090
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x808]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5668c0
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.NTUSER.DAT
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x408]
push ecx
mov ecx, dword [ebp - 0x80c]
call fcn.0044bb90
mov edx, dword [ebp - 0x80c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x80c]
cmp dword [eax + 0xc], 0
jne 0x44c1bf
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0x80c]
call fcn.0044bb90
mov edx, dword [ebp - 0x80c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x80c]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret

Function at 0x44c1e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x814], ecx
xor eax, eax
mov word [ebp - 0x408], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x406]
push ecx
call fcn.004f8090
add esp, 0xc
push 0x200
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [ebp - 0x814]
call fcn.0044c300
push str.NTUSER.DAT
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor ecx, ecx
mov word [ebp - 0x810], cx
push 0x3fe
push 0
lea edx, [ebp - 0x80e]
push edx
call fcn.004f8090
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x810]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5668c0
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.NTUSER.DAT
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x814]
call fcn.0044be10
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x44c2c4
mov dword [ebp - 0x818], 1
jmp 0x44c2dc
lea ecx, [ebp - 0x810]
push ecx
mov ecx, dword [ebp - 0x814]
call fcn.0044be10
mov dword [ebp - 0x818], eax
mov edx, dword [ebp - 0x818]
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret
Function at 0x44c630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5383d7
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5954a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa0]
call fcn.004b92f4
mov eax, dword [ebp - 0xa0]
mov dword [eax], vtable.CListCtrl.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], vtable.CBroListCtrl.0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x54
call fcn.0044f320
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
add ecx, 0x58
call fcn.0044f320
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa0]
add edx, 0x58
mov dword [ebp - 0x54], edx
mov eax, 0x567128
test eax, eax
jne 0x44c6ca
mov dword [ebp - 0x28], 0
jmp 0x44c6da
push 0x567128
call fcn.004f810a
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0x567128
mov ecx, dword [ebp - 0x54]
call fcn.0044fb50
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x58], edx
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp - 0xa0]
add ecx, 0x54
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0xa0]
add edx, 0x58
push edx
mov ecx, dword [ebp - 0x9c]
call fcn.0044f9d0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x7c], 0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x80], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44e370
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538638
mov eax, dword fs:[0]
push eax
sub esp, 0xb2c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x58], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb38], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xb14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x10], 0
push 0x567128
lea ecx, [ebp - 0x50]
call fcn.0044f380
push 0x701
push 4
lea edx, [ebp - 0x714]
push edx
push 0
lea eax, [ebp - 0xb14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x708]
push ecx
lea edx, [ebp - 0xb14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x500]
push eax
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0x545060
mov edx, dword [ebp - 0x710]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x104d
mov ecx, dword [ebp - 0xb38]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 2
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x4c]
push edx
push 0
push 0x104c
mov eax, dword [ebp - 0xb38]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x50]
call fcn.0044f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044f990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x453040
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5389da
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d8], ecx
mov eax, dword [ebp + 8]
push eax
push 0x89
mov ecx, dword [ebp - 0x2d8]
call fcn.004c4d86
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2d8]
mov dword [ecx], vtable.CDlgMapGIS.0
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x74
call fcn.004b631e
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2d8]
add edx, 0x680
mov dword [ebp - 0x2d4], edx
mov ecx, dword [ebp - 0x2d4]
call fcn.004b92f4
mov eax, dword [ebp - 0x2d4]
mov dword [eax], vtable.CListCtrl.0
mov byte [ebp - 4], 2
push 0x2b4
push 0
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.004f8090
add esp, 0xc
push 0x4001
push 0x2b4
lea edx, [ebp - 0x2cc]
push edx
push 0
push 0x566e0c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x74
call fcn.004b6d31
push 0x200
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2d8]
add edx, 0x7c
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 8

Function at 0x453410
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2cc], ecx
push 0x2b4
push 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.004f8090
add esp, 0xc
push 0x711
push 0x2b4
lea ecx, [ebp - 0x2c0]
push ecx
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0
push 0
push 0x1004
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax + 0x6a0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c8], edx
push 0
mov eax, dword [ebp - 0x2c8]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c4]
push edx
push 3
mov ecx, dword [ebp - 0x2cc]
add ecx, 0x680
call fcn.004b626b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 8
Function at 0x4535c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538a6c
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2fc], ecx
mov eax, dword [ebp - 0x2fc]
mov dword [eax], vtable.COpenWithList.0
mov ecx, dword [ebp - 0x2fc]
add ecx, 4
call fcn.004552e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x1c
call fcn.004b631e
mov byte [ebp - 4], 1
push 0x2b4
push 0
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.004f8090
add esp, 0xc
push 0x4001
push 0x2b4
lea edx, [ebp - 0x2cc]
push edx
push 0
push 0x566e0c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x2fc]
add ecx, 0x1c
call fcn.004b6d31
call fcn.004c73d3
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2ec], ecx
call fcn.004c73d3
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2f0], edx
mov eax, 0x88
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x2f8], ecx
mov edx, dword [ebp - 0x2f4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2f8]
push eax
call fcn.004c73d3
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00456940
mov edx, dword [ebp - 0x2fc]
mov dword [edx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret

Function at 0x4538c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4538fe
mov eax, dword [ebp - 4]
jmp 0x45392a
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x453930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0
jne 0x453943
xor eax, eax
jmp 0x45397c
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0xffffffff
je 0x453973
cmp dword [ebp - 4], 2
je 0x453973
cmp dword [ebp - 4], 3
jne 0x453977
xor eax, eax
jmp 0x45397c
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x453a00
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c4], ecx
push 0x2b4
push 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.004f8090
add esp, 0xc
push 0x711
push 0x2b4
lea ecx, [ebp - 0x2c0]
push ecx
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x45d710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], ecx
mov eax, dword [ebp - 0x414]
mov dword [eax], vtable.COpenAsDialog.0
mov ecx, dword [ebp - 0x414]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x414]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x414]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x414]
mov dword [ecx + 0xc], 0
xor edx, edx
mov word [ebp - 0x410], dx
push 0x400
push 0
lea eax, [ebp - 0x40e]
push eax
call fcn.004f8090
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._shell32.dll
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x414]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x414]
cmp dword [edx + 4], 0
je 0x45d7ec
push str.OpenAs_RunDLLW
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x414]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret
Function at 0x460220
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x46025f
xor eax, eax
jmp 0x46045d
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x118], 2
jne 0x460295
cmp dword [ebp - 4], 5
jne 0x460295
cmp dword [ebp - 8], 0
jne 0x460295
mov dword [ebp - 0x12c], 7
jmp 0x460457
cmp dword [ebp - 0x118], 2
jne 0x4602b9
cmp dword [ebp - 4], 5
jne 0x4602b9
cmp dword [ebp - 8], 1
jne 0x4602b9
mov dword [ebp - 0x12c], 8
jmp 0x460457
cmp dword [ebp - 0x118], 2
jne 0x460318
cmp dword [ebp - 4], 5
jne 0x460318
cmp dword [ebp - 8], 2
jne 0x460318
mov dword [ebp - 0x250], 0x11c
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, byte [ebp - 0x136]
cmp ecx, 3
je 0x4602fd
movzx edx, byte [ebp - 0x136]
cmp edx, 2
jne 0x460309
mov dword [ebp - 0x12c], 0xa
jmp 0x460313
mov dword [ebp - 0x12c], 9
jmp 0x460457
cmp dword [ebp - 0x118], 2
jne 0x460377
cmp dword [ebp - 4], 6
jne 0x460377
cmp dword [ebp - 8], 0
jne 0x460377
mov dword [ebp - 0x370], 0x11c
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, byte [ebp - 0x256]
cmp ecx, 3
je 0x46035c
movzx edx, byte [ebp - 0x256]
cmp edx, 2
jne 0x460368
mov dword [ebp - 0x12c], 0xc
jmp 0x460372
mov dword [ebp - 0x12c], 0xb
jmp 0x460457
cmp dword [ebp - 0x118], 2
jne 0x4603a5
cmp dword [ebp - 4], 6
jne 0x4603a5
cmp dword [ebp - 8], 1
jne 0x4603a5
call fcn.004601b0
neg eax
sbb eax, eax
neg eax
add eax, 0xd
mov dword [ebp - 0x12c], eax
jmp 0x460457
cmp dword [ebp - 0x118], 2
jne 0x4603c3
cmp dword [ebp - 4], 4
jne 0x4603c3
mov dword [ebp - 0x12c], 6
jmp 0x460457
cmp dword [ebp - 0x118], 1
jne 0x4603ea
cmp dword [ebp - 0x124], 4
jne 0x4603ea
cmp dword [ebp - 0x120], 0
jne 0x4603ea
mov dword [ebp - 0x12c], 2
jmp 0x460457
cmp dword [ebp - 0x118], 1
jne 0x460411
cmp dword [ebp - 0x124], 4
jne 0x460411
cmp dword [ebp - 0x120], 0xa
jne 0x460411
mov dword [ebp - 0x12c], 3
jmp 0x460457
cmp dword [ebp - 0x118], 1
jne 0x460438
cmp dword [ebp - 0x124], 4
jne 0x460438
cmp dword [ebp - 0x120], 0x5a
jne 0x460438
mov dword [ebp - 0x12c], 4
jmp 0x460457
cmp dword [ebp - 0x118], 0
jne 0x46044d
mov dword [ebp - 0x12c], 1
jmp 0x460457
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret

Function at 0x4607f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x424
push ecx
push 0x460590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret
Function at 0x460ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5395eb
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5954a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CDocumentMgr.0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.00460830
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xdd4], 0
je 0x460b31
mov edx, dword [ebp - 0x14]
add edx, 0xdd8
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x460b31
mov eax, dword [ebp - 0x14]
add eax, 0xdd8
push eax
call fcn.00484490
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x414], 0
je 0x460b4a
mov edx, dword [0x59a634]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x11d8], 0
je 0x460b66
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x11d8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x11e0], 0
je 0x460b8f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x11e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x11e0], 0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x11d8], 0
je 0x460bb8
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x11d8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x11d8], 0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x11dc], 0
je 0x460be1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x11dc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x11dc], 0
mov ecx, dword [ebp - 0x14]
call fcn.0046f840
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0044f990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret