joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1041786
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x10bc48a
call fcn.010aac64
mov esi, ecx
xor edi, edi
push edi
push 0x1008044
lea ecx, [ebp - 0x18]
call fcn.010ab86f
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
cmp eax, edi
je 0x10417f9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, edi
je 0x10417f9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10417f9
xor ebx, ebx
inc ebx
push ebx
call fcn.0107421d
push 4
push esi
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
test eax, eax
jl 0x10417f3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10417f0
test bl, al
jne 0x10417f3
mov dword [ebp - 0x10], ebx
push edi
call fcn.0107421d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab8b6
mov eax, dword [ebp - 0x10]
call fcn.010aad50
ret

Function at 0x1054a98
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0x419
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4

Function at 0x10572af
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push 0x100d300
lea ecx, [ebp - 8]
call fcn.010ab86f
add esi, 0x2ec
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10572dc
inc edi
lea ecx, [ebp - 8]
call fcn.010ab8b6
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x105f404
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x10bc48a
call fcn.010aac64
lea eax, [ebp - 0x10]
push eax
push 0x1011868
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x80070057
call fcn.010ab86f
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
call sub.MFC42u.dll_CString::Empty
call sub.MFC42u.dll_AfxGetModuleState
mov edi, dword [eax + 0xc]
movzx eax, word [ebp + 8]
push 0
push 0x17
push eax
push edi
call fcn.010ad4c0
mov ebx, eax
test ebx, ebx
je 0x105f4b9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x105f4b9
push 0
push ebx
push edi
call fcn.010ad432
test eax, eax
je 0x105f4b9
push eax
mov dword [ebp - 0x10], 0x80004005
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x105f4c0
mov eax, 0xfeff
cmp word [ebx], ax
jne 0x105f48e
inc ebx
inc ebx
dec esi
dec esi
mov ecx, dword [ebp + 0xc]
shr esi, 1
lea edi, [esi + 1]
push edi
call sub.MFC42u.dll_CString::GetBuffer
push esi
push ebx
push edi
push eax
call fcn.0103d8a8
test eax, eax
jl 0x105f4ad
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call sub.MFC42u.dll_CString::ReleaseBuffer
jmp 0x105f4c0
mov dword [ebp - 0x10], 0x80004005
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad50
ret 8
Function at 0x10608c2
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xc
mov eax, 0x10bc48a
call fcn.010aac64
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
push 0x1013454
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x80070057
call fcn.010ab86f
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x69
jae 0x1060956
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
imul eax, eax, 0x24
add eax, 0x1012318
cmp dword [eax + 8], 3
mov ecx, edi
jne 0x1060926
push dword [eax + 0xc]
call fcn.01061786
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp + 8]
mov ecx, edi
mov esi, eax
call fcn.01060307
jmp 0x1060941
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.01061786
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, eax
cmp esi, 2
jne 0x1060941
xor esi, esi
test esi, esi
je 0x1060956
jle 0x1060953
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad50
ret 4

Function at 0x1060e27
Capabilities:
Delete registry key

Disassembly:
push 0x14
mov eax, 0x10b4438
call fcn.010aac64
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
push 0x10135a0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], 0x80070057
call fcn.010ab86f
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, 0x69
jae 0x1060f45
imul edi, edi, 0xc
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 1
cmp dword [edi + 8], esi
jne 0x1060f45
mov ebx, 0x80004005
mov dword [ebp - 0x10], ebx
call sub.MFC42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.dll_CWinApp::GetAppRegistryKey
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x1060f45
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
imul esi, esi, 0x24
add esi, 0x1012318
push esi
push eax
call fcn.01060c74
test eax, eax
jne 0x1060ee7
push dword [esi + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
neg eax
sbb eax, eax
and eax, ebx
mov dword [ebp - 0x10], eax
jl 0x1060f35
call sub.MFC42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.dll_CWinApp::GetAppRegistryKey
mov dword [ebp - 0x14], eax
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1060f35
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
call fcn.01060380
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x1060f35
mov ecx, dword [ebp - 0x18]
push esi
push dword [ebp - 0x14]
call fcn.01060d01
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x1060f21
cmp dword [edi + 4], 4
jne 0x1060f21
mov edi, dword [edi + 8]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
jmp 0x1060f45
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
call fcn.01060307
cmp dword [ebp - 0x10], 0
jl 0x1060f35
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], 0
je 0x1060f45
push 0
push dword [ebp - 0x14]
call fcn.010ac8c2
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad50
ret 4
Function at 0x1071042
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0x10710ad
cmp dword [ebp - 4], 2
jbe 0x1071099
cmp dword [ebp - 4], 7
jne 0x10710ad
mov ecx, dword [edi]
test cl, 1
jne 0x10710ad
shr ecx, 1
cmp ecx, 2
jb 0x10710ad
cmp esi, ebx
je 0x10710b0
cmp word [esi + ecx*2 - 2], bx
jne 0x10710ad
cmp word [esi + ecx*2 - 4], bx
jmp 0x10710ab
mov ecx, dword [edi]
test cl, 1
jne 0x10710ad
cmp esi, ebx
je 0x10710b0
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x10710b0
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10718a4
Capabilities:
Create thread

Disassembly:
push 0x224
mov eax, 0x10b88cc
call fcn.010aacd7
xor esi, esi
push esi
push 0x10196d4
lea ecx, [ebp - 0x230]
call fcn.010ab86f
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x224], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1071a10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
push esi
xor ebx, ebx
mov dword [ebp - 0x228], esi
call edi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x220], eax
call edi
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x220], esi
je 0x1071984
cmp eax, esi
je 0x1071984
lea eax, [ebp - 0x228]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push 0x10717e1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x10719a8
mov eax, dword [section..data]
cmp eax, section..data
je 0x10719a8
test byte [eax + 0x1c], 4
je 0x10719a8
push 0x1018fc0
push 0x11
jmp 0x107199d
mov eax, dword [section..data]
cmp eax, section..data
je 0x10719a8
test byte [eax + 0x1c], 4
je 0x10719a8
push 0x1018fc0
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
lea eax, [ebp - 0x218]
push eax
call fcn.010b0614
mov dword [ebp - 0x224], eax
cmp ebx, esi
je 0x10719ea
cmp eax, esi
je 0x10719ca
push dword [ebp - 0x220]
jmp 0x10719db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x21c]
mov dword [0x10ce150], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x220], esi
je 0x1071a00
push dword [ebp - 0x220]
call edi
cmp dword [ebp - 0x21c], esi
je 0x1071a10
push dword [ebp - 0x21c]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.010ab8b6
mov eax, dword [ebp - 0x224]
call fcn.010aad69
ret
Function at 0x1075da5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push 0x1019ff8
lea ecx, [ebp - 0xc]
call fcn.010ab86f
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSettings]
test dword [ebp - 4], 1
jne 0x1075de9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1075de9
test al, 2
je 0x1075de9
inc esi
lea ecx, [ebp - 0xc]
call fcn.010ab8b6
mov eax, esi
pop esi
leave
ret 4
Function at 0x1076110
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x21c
mov eax, 0x10b5d4b
call fcn.010aacd7
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
xor edi, edi
push 0x101a044
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
call fcn.010ab86f
cmp dword [ebp + 0xc], 0x104
mov dword [ebp - 4], edi
jb 0x10762e8
cmp ebx, edi
je 0x10762e8
xor eax, eax
mov word [ebx], ax
cmp esi, edi
je 0x107616d
mov dword [esi], edi
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x64
push dword [ebp + 0xc]
lea ecx, [eax + 0xc8]
push ebx
call fcn.01061579
mov dword [ebp - 0x21c], eax
cmp eax, 0xc6c81000
jne 0x1076270
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
mov dword [ebp - 0x21c], eax
jl 0x1076217
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp + 0xc]
push ebx
push 0x9cd2
push eax
call fcn.010ac443
test eax, eax
jle 0x1076217
push ebx
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x1076217
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x107622e
mov esi, 0x1019d48
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0103d8a8
cmp dword [ebp - 0x21c], edi
jl 0x10762db
call sub.MFC42u.dll_AfxGetModuleState
mov esi, dword [eax + 4]
push 0x64
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
lea ecx, [esi + 0xc8]
call fcn.01061b65
cmp eax, edi
mov dword [ebp - 0x21c], eax
jl 0x10762db
mov esi, dword [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp eax, edi
jl 0x10762db
cmp esi, edi
je 0x10762e0
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
mov dword [ebp - 0x21c], eax
jl 0x10762e0
push ebx
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x10762e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
neg eax
sbb eax, eax
inc eax
mov dword [esi], eax
jmp 0x10762e0
xor eax, eax
mov word [ebx], ax
mov esi, dword [ebp - 0x21c]
jmp 0x10762f3
mov esi, 0x80070057
mov dword [ebp - 0x21c], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 0xc
Function at 0x1076311
Capabilities:
Get common file path

Disassembly:
push 0x428
mov eax, 0x10b5353
call fcn.010aacd7
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x424]
push eax
xor ebx, ebx
push 0x101a060
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], ebx
call fcn.010ab86f
mov edi, 0x104
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], edi
jb 0x1076463
cmp esi, ebx
je 0x1076463
xor eax, eax
mov word [esi], ax
mov esi, 0x206
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
mov dword [ebp - 0x424], eax
jl 0x1076431
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x42c]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.01076110
cmp eax, ebx
mov dword [ebp - 0x424], eax
jl 0x107645b
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x107645b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1076425
test byte [eax + 0x1c], 4
je 0x1076425
push 0x1019d30
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
mov dword [ebp - 0x424], 0x80010135
jmp 0x107645b
mov eax, dword [section..data]
cmp eax, section..data
je 0x107645b
test byte [eax + 0x1c], 4
je 0x107645b
push dword [ebp - 0x424]
push 0x1019d30
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107918f
mov esi, dword [ebp - 0x424]
jmp 0x107646e
mov esi, 0x80070057
mov dword [ebp - 0x424], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 0xc
Function at 0x10765fe
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x10b5295
call fcn.010aacd7
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
push eax
xor edi, edi
push 0x101a088
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x21c], edi
call fcn.010ab86f
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, edi
jne 0x1076678
mov esi, 0x80004003
mov dword [ebp - 0x21c], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 0xc
cmp dword [ebp + 0x10], edi
jne 0x107668c
mov eax, 0x80070057
mov dword [ebp - 0x21c], eax
mov esi, eax
jmp 0x107665f
cmp ebx, edi
je 0x1076654
lea eax, [ebp - 0x218]
push eax
push edi
push 0x1019d68
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, edi
jne 0x10766c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x10766bc
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], edi
jl 0x1076702
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
lea edx, [ecx - 1]
cmp eax, edx
jbe 0x10766eb
mov dword [ebp - 0x21c], 0x80010135
cmp dword [ebp - 0x21c], edi
jl 0x1076702
push ecx
lea eax, [ebp - 0x218]
push eax
push ecx
push ebx
call fcn.0103d8a8
mov esi, dword [ebp - 0x21c]
jmp 0x107665f

Function at 0x10769bc
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10cd0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push 0x101a0b8
lea ecx, [ebp - 0x214]
call fcn.010ab86f
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x104
push eax
push esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0103d8a8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
cmp eax, 1
jne 0x1076a40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1076a40
inc edi
lea ecx, [ebp - 0x214]
call fcn.010ab8b6
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.010aac4f
leave
ret 4
Function at 0x1076e48
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x2e0
mov eax, 0x10b8fef
call fcn.010aacd7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2d0]
push eax
xor ebx, ebx
push 0x101a200
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x2d0], ebx
call fcn.010ab86f
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
push 0x15
pop ecx
mov esi, 0x101a1a8
lea edi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
push 9
movsw word es:[edi], word [esi]
pop ecx
push 0xe
mov esi, 0x101a184
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
pop ecx
xor eax, eax
push 0x206
mov word [ebp - 0x2cc], ax
lea eax, [ebp - 0x2ca]
push ebx
mov esi, 0x101a14c
lea edi, [ebp - 0x6c]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memset
mov esi, 0x104
add esp, 0xc
cmp dword [ebp + 0xc], esi
jb 0x1076f9c
mov edi, dword [ebp - 0x2e0]
cmp edi, ebx
je 0x1076f9c
xor eax, eax
push ebx
mov word [edi], ax
push 0x20019
lea eax, [ebp - 0xc4]
push eax
push 0x80000002
lea ecx, [ebp - 0x2dc]
call fcn.01034f5b
cmp eax, ebx
jne 0x1076f61
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x2e4], esi
call fcn.01071042
cmp eax, ebx
jne 0x1076f61
push dword [ebp + 0xc]
lea eax, [ebp - 0x2cc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1076f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1076f6d
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], ebx
jge 0x1076f94
push edi
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 0x802b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
mov dword [ebp - 0x2d0], eax
mov esi, dword [ebp - 0x2d0]
jmp 0x1076fcb
mov eax, dword [section..data]
cmp eax, section..data
je 0x1076fc0
test byte [eax + 0x1c], 4
je 0x1076fc0
push 0x1019d30
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
mov esi, 0x80070057
mov dword [ebp - 0x2d0], esi
lea ecx, [ebp - 0x2dc]
call fcn.01034ee8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret 8
Function at 0x1077ea0
Capabilities:
Delete file

Disassembly:
push 0x5c
mov eax, 0x10b9271
call fcn.010aacd7
mov esi, ecx
mov dword [ebp - 0x60], esi
mov dword [esi], 0x101be2c
xor ebx, ebx
push ebx
push 0x101be00
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 2
call fcn.010ab86f
mov eax, dword [esi + 0x70]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1077eeb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x70], ebx
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x1077ef8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x1077f6a
push eax
lea ecx, [ebp - 0x5c]
xor edi, edi
mov dword [ebp - 0x58], ebx
call fcn.01077e5a
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x1077f35
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0x44]
mov edi, eax
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x1077f35
mov dword [ebp - 0x5c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
jl 0x1077f59
cmp dword [ebp - 0x58], ebx
je 0x1077f59
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x58]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1077f6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.010ab8b6
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
lea ecx, [esi + 4]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CPrintInfo::CPrintInfo
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.01077886
call fcn.010aad69
ret

Function at 0x107956f
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x10b6220
call fcn.010aac64
mov esi, ecx
push 0
push 0x101c0ec
lea ecx, [ebp - 0x14]
call fcn.010ab86f
and dword [ebp - 4], 0
push 0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2000000
push 0
mov ecx, esi
call fcn.010793f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010ab8b6
call fcn.010aad50
ret
Function at 0x107a0e7
Capabilities:
Get graphical window text

Disassembly:
push 0x230
mov eax, 0x10b9514
call fcn.010aacd7
lea eax, [ebp - 0x220]
push eax
mov esi, ecx
xor edi, edi
push 0x101c438
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x220], edi
call fcn.010ab86f
push edi
push 0xfffffffffffffffa
push dword [esi + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x224], edi
call fcn.010abea2
mov ebx, eax
cmp ebx, edi
jne 0x107a179
mov eax, dword [section..data]
cmp eax, section..data
je 0x107a155
test byte [eax + 0x1c], 4
je 0x107a155
push 0x101bfd8
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
mov eax, 0x8000ffff
mov dword [ebp - 0x220], eax
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.010ab8b6
mov eax, esi
call fcn.010aad69
ret
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x107a1bd
push edi
push 0xfffffffffffffff0
push eax
call fcn.010abea2
test eax, 0x10000000
je 0x107a1b1
lea eax, [ebp - 0x21c]
push eax
push 0x104
push 0xd
push dword [esi + 0x18]
mov dword [ebp - 0x224], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x107a1ce
push edi
push eax
call fcn.010ab9ae
mov dword [esi + 0x1c], edi
cmp dword [ebp - 0x220], edi
jl 0x107a2b7
push edi
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call fcn.01079db9
push eax
call fcn.010abe14
push edi
push edi
push ebx
push edi
push dword [esi + 8]
push 0x64
push 0x7d0
push dword [ebp - 0x230]
push 5
push 0x40000000
push edi
push 0x101c428
push edi
call fcn.010ad386
mov dword [esi + 0x18], eax
mov ebx, 0x80070000
cmp eax, edi
jne 0x107a239
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x107a233
and eax, 0xffff
or eax, ebx
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], edi
jl 0x107a2b7
push edi
push edi
push 0x1000
mov ecx, esi
call fcn.01079308
push edi
push eax
call fcn.010ac1ff
mov dword [esi + 0x1c], eax
cmp eax, edi
jne 0x107a274
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x107a26e
and eax, 0xffff
or eax, ebx
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], edi
jl 0x107a2b7
cmp dword [esi + 0x18], edi
je 0x107a299
push edi
push edi
push 0x31
mov ecx, esi
call fcn.01079308
push edi
push eax
push 0x30
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x220], edi
jl 0x107a2b7
cmp dword [ebp - 0x224], edi
je 0x107a2b7
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.010794fd
mov esi, dword [ebp - 0x220]
jmp 0x107a162