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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bed72
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x100ed3e0]
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.10071b20
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.10071b20
add esp, 0xc
lea ecx, [ebp - 0x45c]
call fcn.1000ade4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1001e317
mov byte [ebp - 4], 1
and word [ebp - 0x44c], 0
push 0x208
push 0
lea eax, [ebp - 0x44a]
push eax
call fcn.10071b20
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 0x100a761a
push 0
push 0x100d18b4
lea eax, [ebp - 0x44c]
push eax
push 0xde
push dword [0x10109268]
call fcn.100a51ed
add esp, 0x14
cmp dword [ebp - 0x24], 0
je 0x100a763d
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a763d
mov dword [ebp - 0x558], 1
jmp 0x100a7644
and dword [ebp - 0x558], 0
mov eax, dword [ebp - 0x558]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100a7668
push 0x82
mov ecx, dword [ebp - 0x554]
call fcn.100a1d70
jmp 0x100a7a41
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.10010b64
mov dword [ebp - 0x55c], eax
push 0
push 0x100d18c8
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.10010b64
mov dword [ebp - 0x560], eax
push 0x100cd9f5
lea ecx, [ebp - 0x10]
call fcn.100131ac
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.10071b20
add esp, 0xc
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
lea ecx, [ebp - 0x4c4]
call fcn.10003c8d
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.100b2046
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.100106f6
and dword [ebp - 0x4ac], 0
jmp 0x100a775c
mov eax, dword [ebp - 0x4ac]
inc eax
mov dword [ebp - 0x4ac], eax
lea ecx, [ebp - 0x45c]
call fcn.1003d1c2
cmp dword [ebp - 0x4ac], eax
jae 0x100a78ad
and dword [ebp - 0x4b4], 0
push dword [ebp - 0x4ac]
lea ecx, [ebp - 0x45c]
call fcn.10043187
push eax
lea ecx, [ebp - 0x4b0]
call fcn.10003c74
mov byte [ebp - 4], 3
push 0
push 0x100d18e8
lea ecx, [ebp - 0x4b0]
call fcn.100107fd
mov dword [ebp - 0x4b8], eax
cmp dword [ebp - 0x4b8], 0
jl 0x100a7820
push str.x64:
call fcn.10071feb
pop ecx
add eax, dword [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.10024f3d
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.10003cf8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c8]
call fcn.100106f6
mov dword [ebp - 0x4b4], 1
call fcn.100b1636
test eax, eax
je 0x100a7846
cmp dword [ebp - 0x4b4], 0
je 0x100a7846
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.100106f6
jmp 0x100a774f
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x4a8]
lea ecx, [ebp - 0x4b0]
call fcn.10010b64
push eax
call fcn.100b2611
add esp, 0x10
test eax, eax
je 0x100a7899
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a7899
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.100106f6
jmp 0x100a78ad
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b0]
call fcn.100106f6
jmp 0x100a774f
cmp dword [ebp - 0x24], 0
je 0x100a790e
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x54c]
call fcn.10038bb8
mov dword [ebp - 0x574], eax
push 0
mov ecx, dword [ebp - 0x574]
call fcn.10010b64
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.1006fe50
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x54c]
call fcn.100314ca
jmp 0x100a7923
push 0x83
mov ecx, dword [ebp - 0x554]
call fcn.100a1d70
jmp 0x100a7a41
cmp dword [ebp - 0x24], 0
je 0x100a7a19
cmp dword [ebp - 0x24], 0
je 0x100a7954
push dword [ebp + 8]
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x554]
call fcn.100a3d32
test eax, eax
je 0x100a7954
mov dword [ebp - 0x578], 1
jmp 0x100a795b
and dword [ebp - 0x578], 0
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x24], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0
je 0x100a797e
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x1f40
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x554]
add ecx, 0x44
call fcn.10010b64
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
mov dword [ebp - 0x4bc], 0x11
cmp dword [ebp - 0x4bc], 0
je 0x100a7a17
mov ecx, 0x10109a10
call fcn.100317eb
mov dword [ebp - 0x4c0], eax
cmp dword [ebp - 0x4c0], 0
jne 0x100a79ed
and dword [ebp - 0x24], 0
jmp 0x100a79ff
mov eax, dword [ebp - 0x4c0]
cmp dword [eax], 1
jne 0x100a79ff
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
jne 0x100a7a17
push 0x86
mov ecx, dword [ebp - 0x554]
call fcn.100a1d70
jmp 0x100a7a41
jmp 0x100a7a2b
push 0x84
mov ecx, dword [ebp - 0x554]
call fcn.100a1d70
jmp 0x100a7a41
cmp dword [ebp - 0x24], 0
jne 0x100a7a41
push 0x85
mov ecx, dword [ebp - 0x554]
call fcn.100a1d70
cmp dword [ebp - 0x24], 0
jne 0x100a7a58
cmp dword [ebp - 0x20], 0
je 0x100a7a58
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x20], 0
je 0x100a7a79
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 0x100a7a8c
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.1000aa65
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.1003d1d1
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.10071b0a
leave
ret 4