joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1094d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1094d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x1094d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1094d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1094d94
push eax
push esi
call fcn.0109720b
add esp, 8
pop esi
ret 0x10

Function at 0x1094da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1094e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1094e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x10ad320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01096dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x1094dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1094e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1094ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1094eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x10ad320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01096dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x1094eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1094e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x1095000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x1095131
push esi
call fcn.01098145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.01087080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1095131
push 0
push ebp
call fcn.010873a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01087260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x109508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.010872f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1095121
push 0x10ad918
push edi
call fcn.010963f0
push eax
push ebx
push esi
call fcn.01094f60
push 0x10ad8f8
push edi
call fcn.010963f0
push eax
push ebx
push esi
call fcn.01094f60
push 0x10ad8d8
push edi
call fcn.010963f0
push eax
push ebx
push esi
call fcn.01094f60
push 0x10ad8c0
push edi
call fcn.010963f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01094f60
push 0x10ad8a0
push edi
call fcn.010963f0
push eax
push ebx
push esi
call fcn.01094f60
push 0x10ad888
push edi
call fcn.010963f0
push eax
push ebx
push esi
call fcn.01094f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10961b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.01096140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.01096140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.01096140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.01096140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x1096bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1096c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x10a887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1096c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1096c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x100015b0
Capabilities:
Delete registry key

Disassembly:
push ecx
mov eax, dword [0x100bc66c]
push esi
push 0x100a6aac
push 0x100a6ac4
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.10001df0
mov esi, dword [esp + 0xc]
add esp, 8
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.DLL_SHDeleteKeyW]
lea ecx, [esi - 0xc]
cmp ecx, 0x100bc65c
je 0x10001603
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x10001603
push esi
call fcn.1008441c
add esp, 4
xor eax, eax
pop esi
pop ecx
ret

Function at 0x10003cb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x10003cc0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10003cd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10003d00
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x10003d7a
xor eax, eax
cmp ecx, ebp
je 0x10003d62
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x10003d88
cmp ecx, ebp
je 0x10003e1b
push ecx
jmp 0x10003e15
mov esi, dword [sym.imp.ADVAPI32.DLL_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x10003dea
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.10003d00
mov ebx, eax
cmp ebx, ebp
jne 0x10003e38
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x10003db0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x10003dfd
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.10003ba0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x10003e1b
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10083dbb
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x10003e47
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, ebx
jmp 0x10003e1d
Function at 0x10004240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10004293
call fcn.10003960
mov esi, eax
jmp 0x10004368
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100042ac
call fcn.10003960
jmp 0x1000435f
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100042c6
call fcn.10003960
jmp 0x1000435f
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000430f
lea eax, [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x100042ea
lea eax, [esp + 0x20]
call fcn.10005f20
lea esi, [esp + 0x14]
call fcn.10005db0
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10083dbb
mov esp, ebp
pop ebp
ret 0xc
lea esi, [esp + 0x20]
call fcn.10005e60
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10004327
mov esi, 0x8007000e
jmp 0x10004361
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ebx
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
jne 0x10004344
call fcn.10003960
jmp 0x1000435f
mov ecx, dword [esp + 0x20]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
call fcn.10004e70
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x10004380
lea eax, [esp + 0x20]
call fcn.10005f20
jmp 0x10004380
mov ecx, dword [esp + 0x42c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10083dbb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006090
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [esi], 0
jne 0x10006133
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10087b80
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0x100a86d8
push 0x100a7990
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.DLL_SHGetValueW]
cmp word [esp + 8], 0
je 0x10006133
push 0x100a7b40
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.DLL_PathAppendW]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x10006125
lea eax, [esp + 8]
call fcn.1000ac50
push 0x100a771c
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi], eax
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10083dbb
add esp, 0x21c
ret

Function at 0x1000a550
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push 0x100a7ac0
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x1000a5db
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push 0x100a86d8
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000a5b5
sub eax, edx
sar eax, 1
je 0x1000a5dd
cmp word [esi + eax*2 - 2], 0x5c
je 0x1000a5dd
mov edx, 0x5c
mov word [esi + eax*2], dx
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x1000a930
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.10087b80
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x100a86d8
push 0x100a7990
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.DLL_SHGetValueW]
test eax, eax
je 0x1000a9b4
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.10083dbb
add esp, 0x814
ret
push 0x100a7a10
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.DLL_PathCombineW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
je 0x1000a998
lea eax, [esp + 0x10]
call fcn.1000a880
test eax, eax
je 0x1000a998
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000a998
push 0x100a7a28
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [esp + 0x814]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10083dbb
add esp, 0x814
ret
Function at 0x1000aa30
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100c
call fcn.10096d00
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x1004], eax
push 0x1000
lea eax, [esp + 4]
push 0
push eax
call fcn.10087b80
add esp, 0xc
mov ecx, 0x800
lea eax, [esp]
cmp word [eax], 0
je 0x1000aa74
add eax, 2
sub ecx, 1
jne 0x1000aa64
jmp 0x1000aa93
test ecx, ecx
je 0x1000aa93
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, 0x100a7a38
call fcn.1000a500
mov ecx, 0x800
lea eax, [esp]
jmp 0x1000aaa0
cmp word [eax], 0
je 0x1000aab0
add eax, 2
sub ecx, 1
jne 0x1000aaa0
jmp 0x1000aacc
test ecx, ecx
je 0x1000aacc
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, edi
call fcn.1000a500
mov ecx, 0x800
lea eax, [esp]
cmp word [eax], 0
je 0x1000aae4
add eax, 2
sub ecx, 1
jne 0x1000aad4
jmp 0x1000ab03
test ecx, ecx
je 0x1000ab03
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, 0x100a7a40
call fcn.1000a500
mov ecx, 0x800
lea eax, [esp]
jmp 0x1000ab10
cmp word [eax], 0
je 0x1000ab20
add eax, 2
sub ecx, 1
jne 0x1000ab10
jmp 0x1000ab3c
test ecx, ecx
je 0x1000ab3c
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, edi
call fcn.1000a500
mov ecx, 0x800
lea eax, [esp]
cmp word [eax], 0
je 0x1000ab54
add eax, 2
sub ecx, 1
jne 0x1000ab44
jmp 0x1000ab73
test ecx, ecx
je 0x1000ab73
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, 0x100a7a6c
call fcn.1000a500
mov ecx, 0x800
lea eax, [esp]
jmp 0x1000ab80
cmp word [eax], 0
je 0x1000ab90
add eax, 2
sub ecx, 1
jne 0x1000ab80
jmp 0x1000abac
test ecx, ecx
je 0x1000abac
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, esi
call fcn.1000a500
mov ecx, 0x800
lea eax, [esp]
cmp word [eax], 0
je 0x1000abc4
add eax, 2
sub ecx, 1
jne 0x1000abb4
jmp 0x1000abe3
test ecx, ecx
je 0x1000abe3
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax*2]
mov eax, 0x100a7a90
call fcn.1000a500
push 0x14
push edi
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.DLL_GetActiveWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxW]
cmp eax, 6
jne 0x1000ac46
push 0xc8
push 0x100a7948
push 0x100bcb38
call fcn.10085136
add esp, 0xc
test eax, eax
jne 0x1000ac2e
call fcn.1000a930
test eax, eax
je 0x1000ac2e
push 5
push 0
push 0
push 0x100bccd0
jmp 0x1000ac39
push 5
push 0
push 0
push 0x100bcb38
push 0x100a7ab0
push 0
call dword [sym.imp.SHELL32.DLL_ShellExecuteW]
push 0
call fcn.10084fc3
int3
Function at 0x1000b4e0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0
mov esi, eax
jne 0x1000b55f
call fcn.1000a880
push esi
test eax, eax
jne 0x1000b502
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
jne 0x1000b57a
jmp 0x1000b508
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1000b584
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x100a7d00
push eax
call esi
mov dword [edi + 4], eax
mov eax, dword [edi]
push 0x100a7d0c
push eax
call esi
mov ecx, dword [edi]
push 0x100a7d18
push ecx
mov dword [edi + 8], eax
call esi
mov edx, dword [edi]
push 0x100a7d28
push edx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
mov eax, dword [edi]
push 0x100a7d38
push eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000b55f
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x1000b584
cmp dword [edi + 4], 0
je 0x1000b584
cmp dword [edi + 0xc], 0
je 0x1000b584
mov eax, 1
pop edi
pop esi
pop ecx
ret
mov edi, 0x100bc9a0
call fcn.1000aa30
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x1000bdd0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push edi
push eax
mov ecx, 0x100a7d94
call fcn.1005f540
mov esi, dword [esp + 0xc]
add esp, 4
call fcn.1000ee80
test eax, eax
je 0x1000be0e
mov eax, esi
call fcn.1000a880
test eax, eax
jne 0x1000be35
push esi
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
jne 0x1000bec0
lea eax, [esi - 0xc]
cmp eax, 0x100bc65c
je 0x1000be2f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x1000be2f
push esi
call fcn.1008441c
add esp, 4
pop edi
pop esi
add esp, 8
ret
push 0x100c5a78
push 0x1c
call fcn.10085206
mov edi, eax
add esp, 8
test edi, edi
je 0x1000beb1
mov eax, esi
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.1000b4e0
test eax, eax
je 0x1000beb1
push 0x100a7db0
lea eax, [esp + 0x10]
call fcn.1000ede0
mov eax, edi
call fcn.1000b4a0
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1000bea8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push ebx
call eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push 0
call edx
lea esi, [esp + 0xc]
call fcn.100072c0
lea esi, [esp + 8]
call fcn.100072c0
pop edi
pop esi
add esp, 8
ret
mov edi, 0x100bc9a0
call fcn.1000aa30
int3
Function at 0x1000eb30
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
sub esp, 0x80c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x100c75a0]
push esi
push edi
test eax, eax
jne 0x1000ebfb
mov ecx, dword [0x100c759c]
push 0x400
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.DLL_PathRemoveFileSpecW]
lea edx, [esp + 8]
push edx
call edi
xor esi, esi
cmp dword [0x100c7598], esi
jle 0x1000eb91
lea eax, [esp + 8]
push eax
call edi
inc esi
cmp esi, dword [0x100c7598]
jl 0x1000eb81
push 0x100a7b40
lea ecx, [esp + 0xc]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.DLL_PathCombineW]
lea eax, [esp + 8]
call fcn.1000a880
test eax, eax
jne 0x1000ebc2
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
test eax, eax
jne 0x1000ebed
jmp 0x1000ebcd
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [0x100c75a0], eax
test eax, eax
jne 0x1000ebfb
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.10083dbb
add esp, 0x80c
ret
mov edi, 0x100bc9a0
lea esi, [esp + 8]
call fcn.1000aa30
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x100a8048
push eax
call esi
mov edx, dword [0x100c75a0]
push 0x100a8060
push edx
mov dword [0x100c75a4], eax
call esi
mov dword [0x100c75ac], eax
mov eax, dword [0x100c75a0]
push 0x100a807c
push eax
call esi
mov ecx, dword [0x100c75a0]
push 0x100a809c
push ecx
mov dword [0x100c75b0], eax
call esi
mov edx, dword [0x100c75a0]
push 0x100a80b0
push edx
mov dword [0x100c75b4], eax
call esi
mov dword [0x100c75b8], eax
mov eax, dword [0x100c75a0]
push 0x100a80d0
push eax
call esi
mov ecx, dword [0x100c75a0]
push 0x100a80dc
push ecx
mov dword [0x100c75a8], eax
call esi
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
mov dword [0x100c75bc], eax
xor ecx, esp
mov eax, 1
call fcn.10083dbb
add esp, 0x80c
ret

Function at 0x1000ee80
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x808], eax
test esi, esi
jne 0x1000eeaf
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.10083dbb
add esp, 0x80c
ret
push 0x808
lea eax, [esp + 4]
push 0
push eax
call fcn.10087b80
push esi
lea ecx, [esp + 0x10]
push 0x404
push ecx
call fcn.100857a4
lea edx, [esp + 0x18]
push 0x404
push edx
call fcn.1008578d
lea eax, [esp + 0x20]
push 0x100a80f0
push eax
call fcn.10084cc2
add esp, 0x28
test eax, eax
je 0x1000ef0f
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.10083dbb
add esp, 0x80c
ret
push esi
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.10083dbb
add esp, 0x80c
ret