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

Disassembly:
push 0xc
mov eax, 0x10b9739
call fcn.010aac1c
mov esi, ecx
xor edi, edi
push edi
push 0x1008044
lea ecx, [ebp - 0x18]
call fcn.010ab82f
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
cmp eax, edi
je 0x10417e8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, edi
je 0x10417e8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10417e8
xor ebx, ebx
inc ebx
push ebx
call fcn.010740b9
push 4
push esi
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
test eax, eax
jl 0x10417e2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10417df
test bl, al
jne 0x10417e2
mov dword [ebp - 0x10], ebx
push edi
call fcn.010740b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab876
mov eax, dword [ebp - 0x10]
call fcn.010aad08
ret

Function at 0x1054a87
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 0x105729e
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.010ab82f
add esi, 0x2ec
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10572cb
inc edi
lea ecx, [ebp - 8]
call fcn.010ab876
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x105f3e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x10b9739
call fcn.010aac1c
lea eax, [ebp - 0x10]
push eax
push 0x1011868
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x80070057
call fcn.010ab82f
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.010ad480
mov ebx, eax
test ebx, ebx
je 0x105f49d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x105f49d
push 0
push ebx
push edi
call fcn.010ad3f2
test eax, eax
je 0x105f49d
push eax
mov dword [ebp - 0x10], 0x80004005
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x105f4a4
mov eax, 0xfeff
cmp word [ebx], ax
jne 0x105f472
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.0103d897
test eax, eax
jl 0x105f491
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call sub.MFC42u.dll_CString::ReleaseBuffer
jmp 0x105f4a4
mov dword [ebp - 0x10], 0x80004005
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab876
mov eax, esi
call fcn.010aad08
ret 8
Function at 0x10608a6
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xc
mov eax, 0x10b9739
call fcn.010aac1c
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
push 0x1013454
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x80070057
call fcn.010ab82f
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x69
jae 0x106093a
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 0x106090a
push dword [eax + 0xc]
call fcn.0106176a
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp + 8]
mov ecx, edi
mov esi, eax
call fcn.010602eb
jmp 0x1060925
push dword [eax + 0x10]
push dword [eax + 0xc]
call fcn.0106176a
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, eax
cmp esi, 2
jne 0x1060925
xor esi, esi
test esi, esi
je 0x106093a
jle 0x1060937
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.010ab876
mov eax, esi
call fcn.010aad08
ret 4

Function at 0x1060e0b
Capabilities:
Delete registry key

Disassembly:
push 0x14
mov eax, 0x10b4b85
call fcn.010aac1c
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
push 0x10135a0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], 0x80070057
call fcn.010ab82f
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, 0x69
jae 0x1060f29
imul edi, edi, 0xc
add edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 1
cmp dword [edi + 8], esi
jne 0x1060f29
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 0x1060f29
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.01060c58
test eax, eax
jne 0x1060ecb
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 0x1060f19
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 0x1060f19
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
call fcn.01060364
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x1060f19
mov ecx, dword [ebp - 0x18]
push esi
push dword [ebp - 0x14]
call fcn.01060ce5
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x1060f05
cmp dword [edi + 4], 4
jne 0x1060f05
mov edi, dword [edi + 8]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
jmp 0x1060f29
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
call fcn.010602eb
cmp dword [ebp - 0x10], 0
jl 0x1060f19
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], 0
je 0x1060f29
push 0
push dword [ebp - 0x14]
call fcn.010ac882
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.010ab876
mov eax, esi
call fcn.010aad08
ret 4
Function at 0x1070ede
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 0x1070f49
cmp dword [ebp - 4], 2
jbe 0x1070f35
cmp dword [ebp - 4], 7
jne 0x1070f49
mov ecx, dword [edi]
test cl, 1
jne 0x1070f49
shr ecx, 1
cmp ecx, 2
jb 0x1070f49
cmp esi, ebx
je 0x1070f4c
cmp word [esi + ecx*2 - 2], bx
jne 0x1070f49
cmp word [esi + ecx*2 - 4], bx
jmp 0x1070f47
mov ecx, dword [edi]
test cl, 1
jne 0x1070f49
cmp esi, ebx
je 0x1070f4c
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x1070f4c
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1071740
Capabilities:
Create thread

Disassembly:
push 0x224
mov eax, 0x10bb96d
call fcn.010aac8f
xor esi, esi
push esi
push 0x10196d4
lea ecx, [ebp - 0x230]
call fcn.010ab82f
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 0x10718ac
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 0x1071820
cmp eax, esi
je 0x1071820
lea eax, [ebp - 0x228]
push eax
push esi
lea eax, [ebp - 0x220]
push eax
push 0x107167d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x1071844
mov eax, dword [section..data]
cmp eax, section..data
je 0x1071844
test byte [eax + 0x1c], 4
je 0x1071844
push 0x1018fc0
push 0x11
jmp 0x1071839
mov eax, dword [section..data]
cmp eax, section..data
je 0x1071844
test byte [eax + 0x1c], 4
je 0x1071844
push 0x1018fc0
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fe95
lea eax, [ebp - 0x218]
push eax
call fcn.010b05d5
mov dword [ebp - 0x224], eax
cmp ebx, esi
je 0x1071886
cmp eax, esi
je 0x1071866
push dword [ebp - 0x220]
jmp 0x1071877
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 0x107189c
push dword [ebp - 0x220]
call edi
cmp dword [ebp - 0x21c], esi
je 0x10718ac
push dword [ebp - 0x21c]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.010ab876
mov eax, dword [ebp - 0x224]
call fcn.010aad21
ret
Function at 0x1075c41
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.010ab82f
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 0x1075c85
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1075c85
test al, 2
je 0x1075c85
inc esi
lea ecx, [ebp - 0xc]
call fcn.010ab876
mov eax, esi
pop esi
leave
ret 4
Function at 0x1075fac
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x21c
mov eax, 0x10b5c6f
call fcn.010aac8f
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.010ab82f
cmp dword [ebp + 0xc], 0x104
mov dword [ebp - 4], edi
jb 0x1076184
cmp ebx, edi
je 0x1076184
xor eax, eax
mov word [ebx], ax
cmp esi, edi
je 0x1076009
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.0106155d
mov dword [ebp - 0x21c], eax
cmp eax, 0xc6c81000
jne 0x107610c
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 0x10760b3
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.010ac403
test eax, eax
jle 0x10760b3
push ebx
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x10760b3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x10760ca
mov esi, 0x1019d48
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0103d897
cmp dword [ebp - 0x21c], edi
jl 0x1076177
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.01061b49
cmp eax, edi
mov dword [ebp - 0x21c], eax
jl 0x1076177
mov esi, dword [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp eax, edi
jl 0x1076177
cmp esi, edi
je 0x107617c
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 0x107617c
push ebx
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x107617c
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 0x107617c
xor eax, eax
mov word [ebx], ax
mov esi, dword [ebp - 0x21c]
jmp 0x107618f
mov esi, 0x80070057
mov dword [ebp - 0x21c], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.010ab876
mov eax, esi
call fcn.010aad21
ret 0xc
Function at 0x10761ad
Capabilities:
Get common file path

Disassembly:
push 0x428
mov eax, 0x10b5283
call fcn.010aac8f
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.010ab82f
mov edi, 0x104
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], edi
jb 0x10762ff
cmp esi, ebx
je 0x10762ff
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 0x10762cd
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.01075fac
cmp eax, ebx
mov dword [ebp - 0x424], eax
jl 0x10762f7
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 0x10762f7
mov eax, dword [section..data]
cmp eax, section..data
je 0x10762c1
test byte [eax + 0x1c], 4
je 0x10762c1
push 0x1019d30
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fe95
mov dword [ebp - 0x424], 0x80010135
jmp 0x10762f7
mov eax, dword [section..data]
cmp eax, section..data
je 0x10762f7
test byte [eax + 0x1c], 4
je 0x10762f7
push dword [ebp - 0x424]
push 0x1019d30
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079041
mov esi, dword [ebp - 0x424]
jmp 0x107630a
mov esi, 0x80070057
mov dword [ebp - 0x424], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.010ab876
mov eax, esi
call fcn.010aad21
ret 0xc
Function at 0x107649a
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x10b6a99
call fcn.010aac8f
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.010ab82f
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 0x1076514
mov esi, 0x80004003
mov dword [ebp - 0x21c], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.010ab876
mov eax, esi
call fcn.010aad21
ret 0xc
cmp dword [ebp + 0x10], edi
jne 0x1076528
mov eax, 0x80070057
mov dword [ebp - 0x21c], eax
mov esi, eax
jmp 0x10764fb
cmp ebx, edi
je 0x10764f0
lea eax, [ebp - 0x218]
push eax
push edi
push 0x1019d68
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, edi
jne 0x107655e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1076558
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], edi
jl 0x107659e
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 0x1076587
mov dword [ebp - 0x21c], 0x80010135
cmp dword [ebp - 0x21c], edi
jl 0x107659e
push ecx
lea eax, [ebp - 0x218]
push eax
push ecx
push ebx
call fcn.0103d897
mov esi, dword [ebp - 0x21c]
jmp 0x10764fb

Function at 0x1076858
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.010ab82f
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.0103d897
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
cmp eax, 1
jne 0x10768dc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10768dc
inc edi
lea ecx, [ebp - 0x214]
call fcn.010ab876
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.010aac07
leave
ret 4
Function at 0x1076ce4
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x2e0
mov eax, 0x10b8ff6
call fcn.010aac8f
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.010ab82f
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 0x1076e38
mov edi, dword [ebp - 0x2e0]
cmp edi, ebx
je 0x1076e38
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.01034f55
cmp eax, ebx
jne 0x1076dfd
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.01070ede
cmp eax, ebx
jne 0x1076dfd
push dword [ebp + 0xc]
lea eax, [ebp - 0x2cc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1076e0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1076e09
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], ebx
jge 0x1076e30
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 0x1076e67
mov eax, dword [section..data]
cmp eax, section..data
je 0x1076e5c
test byte [eax + 0x1c], 4
je 0x1076e5c
push 0x1019d30
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fe95
mov esi, 0x80070057
mov dword [ebp - 0x2d0], esi
lea ecx, [ebp - 0x2dc]
call fcn.01034ee2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.010ab876
mov eax, esi
call fcn.010aad21
ret 8
Function at 0x1077d60
Capabilities:
Delete file

Disassembly:
push 0x5c
mov eax, 0x10b9320
call fcn.010aac8f
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.010ab82f
mov eax, dword [esi + 0x70]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1077dab
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 0x1077db8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x1077e2a
push eax
lea ecx, [ebp - 0x5c]
xor edi, edi
mov dword [ebp - 0x58], ebx
call fcn.01077cf6
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x1077df5
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 0x1077df5
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 0x1077e19
cmp dword [ebp - 0x58], ebx
je 0x1077e19
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 0x1077e2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.010ab876
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.01077722
call fcn.010aad21
ret

Function at 0x1079421
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x10bbc29
call fcn.010aac1c
mov esi, ecx
push 0
push 0x101c0ec
lea ecx, [ebp - 0x14]
call fcn.010ab82f
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.010792a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010ab876
call fcn.010aad08
ret
Function at 0x1079fbf
Capabilities:
Get graphical window text

Disassembly:
push 0x230
mov eax, 0x10b51c5
call fcn.010aac8f
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.010ab82f
push edi
push 0xfffffffffffffffa
push dword [esi + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x224], edi
call fcn.010abe62
mov ebx, eax
cmp ebx, edi
jne 0x107a051
mov eax, dword [section..data]
cmp eax, section..data
je 0x107a02d
test byte [eax + 0x1c], 4
je 0x107a02d
push 0x101bfd8
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fe95
mov eax, 0x8000ffff
mov dword [ebp - 0x220], eax
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.010ab876
mov eax, esi
call fcn.010aad21
ret
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x107a095
push edi
push 0xfffffffffffffff0
push eax
call fcn.010abe62
test eax, 0x10000000
je 0x107a089
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 0x107a0a6
push edi
push eax
call fcn.010ab96e
mov dword [esi + 0x1c], edi
cmp dword [ebp - 0x220], edi
jl 0x107a18f
push edi
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call fcn.01079c91
push eax
call fcn.010abdd4
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.010ad346
mov dword [esi + 0x18], eax
mov ebx, 0x80070000
cmp eax, edi
jne 0x107a111
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x107a10b
and eax, 0xffff
or eax, ebx
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], edi
jl 0x107a18f
push edi
push edi
push 0x1000
mov ecx, esi
call fcn.010791ba
push edi
push eax
call fcn.010ac1bf
mov dword [esi + 0x1c], eax
cmp eax, edi
jne 0x107a14c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x107a146
and eax, 0xffff
or eax, ebx
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], edi
jl 0x107a18f
cmp dword [esi + 0x18], edi
je 0x107a171
push edi
push edi
push 0x31
mov ecx, esi
call fcn.010791ba
push edi
push eax
push 0x30
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x220], edi
jl 0x107a18f
cmp dword [ebp - 0x224], edi
je 0x107a18f
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.010793af
mov esi, dword [ebp - 0x220]
jmp 0x107a03a