Function at 0x100a65a4
Capabilities:
Check if file exists
Create directory
Get common file path
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd224
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x24], 1
push 0x44
push 0
lea eax, [ebp - 0x4a4]
push eax
call fcn.10073a50
add esp, 0xc
mov dword [ebp - 0x4a4], 0x44
mov dword [ebp - 0x478], 0x80
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.10073a50
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.1000aab1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1001b790
mov byte [ebp - 4], 1
and word [ebp - 0x44c], 0
push 0x208
push 0
lea eax, [ebp - 0x44a]
push eax
call fcn.10073a50
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.QMDll
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.QMBrigeDll.dll
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a66c5
push 0
push 0x100d048c
lea eax, [ebp - 0x44c]
push eax
push 0xde
push dword [0x1010722c]
call fcn.100a4391
add esp, 0x14
cmp dword [ebp - 0x24], 0
je 0x100a66e8
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a66e8
mov dword [ebp - 0x558], 1
jmp 0x100a66ef
and dword [ebp - 0x558], 0
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100a6713
push 0x82
mov ecx, dword [ebp - 0x554]
call fcn.100a1008
jmp 0x100a6ae1
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.1002ffe8
mov dword [ebp - 0x55c], eax
push 0
push 0x100d04a0
push dword [ebp - 0x55c]
mov eax, dword [ebp - 0x55c]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.1002ffe8
mov dword [ebp - 0x560], eax
push 0x100cc9fd
lea ecx, [ebp - 0x10]
call fcn.100128ce
push eax
push str.DetourTargetProc
push dword [ebp - 0x560]
mov eax, dword [ebp - 0x560]
mov eax, dword [eax]
call dword [eax + 0x14]
and word [ebp - 0x23c], 0
push 0x208
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.10073a50
add esp, 0xc
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x4c4]
call fcn.10003abb
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x564]
mov dword [ebp - 0x568], eax
mov byte [ebp - 4], 2
push 0
push 0x2c
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x568]
call fcn.100b07ab
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.100103c0
and dword [ebp - 0x4ac], 0
jmp 0x100a6807
mov eax, dword [ebp - 0x4ac]
inc eax
mov dword [ebp - 0x4ac], eax
lea ecx, [ebp - 0x45c]
call fcn.1003b2e6
cmp dword [ebp - 0x4ac], eax
jae 0x100a6958
and dword [ebp - 0x4b4], 0
push dword [ebp - 0x4ac]
lea ecx, [ebp - 0x45c]
call fcn.1003ce63
push eax
lea ecx, [ebp - 0x4b0]
call fcn.10003aa2
mov byte [ebp - 4], 3
push 0
push 0x100d04c0
lea ecx, [ebp - 0x4b0]
call fcn.100104c7
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0
jl 0x100a68cb
push str.x64:
call fcn.10070dbb
pop ecx
add eax, dword [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.10023a18
mov dword [ebp - 0x56c], eax
mov eax, dword [ebp - 0x56c]
mov dword [ebp - 0x570], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x570]
lea ecx, [ebp - 0x4b0]
call fcn.10003b26
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c8]
call fcn.100103c0
mov dword [ebp - 0x4b4], 1
call fcn.100b00b5
test eax, eax
je 0x100a68f1
cmp dword [ebp - 0x4b4], 0
je 0x100a68f1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.100103c0
jmp 0x100a67fa
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4b0]
call fcn.1002ffe8
push eax
call fcn.100b0c5d
add esp, 0x10
test eax, eax
je 0x100a6944
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a6944
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.100103c0
jmp 0x100a6958
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.100103c0
jmp 0x100a67fa
cmp dword [ebp - 0x24], 0
je 0x100a69b9
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x54c]
call fcn.100381ef
mov dword [ebp - 0x574], eax
push 0
mov ecx, dword [ebp - 0x574]
call fcn.1002ffe8
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4a4]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x23c]
push eax
push 0
call fcn.1006e790
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x54c]
call fcn.1002ffc6
jmp 0x100a69ce
push 0x83
mov ecx, dword [ebp - 0x554]
call fcn.100a1008
jmp 0x100a6ae1
cmp dword [ebp - 0x24], 0
je 0x100a6ab9
cmp dword [ebp - 0x24], 0
je 0x100a69ff
push dword [ebp + 8]
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x554]
call fcn.100a2eaa
test eax, eax
je 0x100a69ff
mov dword [ebp - 0x578], 1
jmp 0x100a6a06
and dword [ebp - 0x578], 0
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100a6a1e
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.1002ffe8
mov dword [ebp - 0x57c], eax
push 0
push str.ModuleType
push dword [ebp - 0x57c]
mov eax, dword [ebp - 0x57c]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x4bc], eax
push 0x1f40
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x4bc], 0x11
cmp dword [ebp - 0x4bc], 0
je 0x100a6ab7
mov ecx, 0x101079d0
call fcn.10037cfb
mov dword [ebp - 0x4c0], eax
cmp dword [ebp - 0x4c0], 0
jne 0x100a6a8d
and dword [ebp - 0x24], 0
jmp 0x100a6a9f
mov eax, dword [ebp - 0x4c0]
cmp dword [eax], 1
jne 0x100a6a9f
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
jne 0x100a6ab7
push 0x86
mov ecx, dword [ebp - 0x554]
call fcn.100a1008
jmp 0x100a6ae1
jmp 0x100a6acb
push 0x84
mov ecx, dword [ebp - 0x554]
call fcn.100a1008
jmp 0x100a6ae1
cmp dword [ebp - 0x24], 0
jne 0x100a6ae1
push 0x85
mov ecx, dword [ebp - 0x554]
call fcn.100a1008
cmp dword [ebp - 0x24], 0
jne 0x100a6af8
cmp dword [ebp - 0x20], 0
je 0x100a6af8
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x20], 0
je 0x100a6b19
push 0xbb8
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x100a6b2c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x550], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1000a70e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.1003ce8e
mov eax, dword [ebp - 0x550]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4