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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcc49
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x100ea3e0]
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.1003cd56
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10021fb0
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 0x100a60fa
push 0
push 0x100cf3dc
lea eax, [ebp - 0x44c]
push eax
push 0xde
push dword [0x1010622c]
call fcn.100a3dc6
add esp, 0x14
cmp dword [ebp - 0x24], 0
je 0x100a611d
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a611d
mov dword [ebp - 0x558], 1
jmp 0x100a6124
and dword [ebp - 0x558], 0
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100a6148
push 0x82
mov ecx, dword [ebp - 0x554]
call fcn.100a0a3d
jmp 0x100a6516
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.100212fb
mov dword [ebp - 0x55c], eax
push 0
push 0x100cf3f0
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.100212fb
mov dword [ebp - 0x560], eax
push 0x100cb9dd
lea ecx, [ebp - 0x10]
call fcn.10008024
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.100212fb
push eax
lea ecx, [ebp - 0x4c4]
call fcn.10003e0b
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.100b01e0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.10003e76
and dword [ebp - 0x4ac], 0
jmp 0x100a623c
mov eax, dword [ebp - 0x4ac]
inc eax
mov dword [ebp - 0x4ac], eax
lea ecx, [ebp - 0x45c]
call fcn.10038dc1
cmp dword [ebp - 0x4ac], eax
jae 0x100a638d
and dword [ebp - 0x4b4], 0
push dword [ebp - 0x4ac]
lea ecx, [ebp - 0x45c]
call fcn.1003cd7d
push eax
lea ecx, [ebp - 0x4b0]
call fcn.10003df2
mov byte [ebp - 4], 3
push 0
push 0x100cf410
lea ecx, [ebp - 0x4b0]
call fcn.10010946
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0
jl 0x100a6300
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.100249e2
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.10003e87
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c8]
call fcn.10003e76
mov dword [ebp - 0x4b4], 1
call fcn.100afaea
test eax, eax
je 0x100a6326
cmp dword [ebp - 0x4b4], 0
je 0x100a6326
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.10003e76
jmp 0x100a622f
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4b0]
call fcn.100212fb
push eax
call fcn.100b0692
add esp, 0x10
test eax, eax
je 0x100a6379
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a6379
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.10003e76
jmp 0x100a638d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.10003e76
jmp 0x100a622f
cmp dword [ebp - 0x24], 0
je 0x100a63ee
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x54c]
call fcn.1003862f
mov dword [ebp - 0x574], eax
push 0
mov ecx, dword [ebp - 0x574]
call fcn.100212fb
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.10010cf8
jmp 0x100a6403
push 0x83
mov ecx, dword [ebp - 0x554]
call fcn.100a0a3d
jmp 0x100a6516
cmp dword [ebp - 0x24], 0
je 0x100a64ee
cmp dword [ebp - 0x24], 0
je 0x100a6434
push dword [ebp + 8]
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x554]
call fcn.100a28df
test eax, eax
je 0x100a6434
mov dword [ebp - 0x578], 1
jmp 0x100a643b
and dword [ebp - 0x578], 0
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x100a6453
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.100212fb
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 0x100a64ec
mov ecx, 0x101069d0
call fcn.1003e64e
mov dword [ebp - 0x4c0], eax
cmp dword [ebp - 0x4c0], 0
jne 0x100a64c2
and dword [ebp - 0x24], 0
jmp 0x100a64d4
mov eax, dword [ebp - 0x4c0]
cmp dword [eax], 1
jne 0x100a64d4
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
jne 0x100a64ec
push 0x86
mov ecx, dword [ebp - 0x554]
call fcn.100a0a3d
jmp 0x100a6516
jmp 0x100a6500
push 0x84
mov ecx, dword [ebp - 0x554]
call fcn.100a0a3d
jmp 0x100a6516
cmp dword [ebp - 0x24], 0
jne 0x100a6516
push 0x85
mov ecx, dword [ebp - 0x554]
call fcn.100a0a3d
cmp dword [ebp - 0x24], 0
jne 0x100a652d
cmp dword [ebp - 0x20], 0
je 0x100a652d
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x20], 0
je 0x100a654e
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 0x100a6561
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.1000abda
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.1003cda8
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