Function at 0x10038e70
Capabilities:
Create thread
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bfba
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x414], edi
push dword [ebp + 0x78]
mov dword [ebp - 4], 3
lea eax, [ebp + 0x58]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x408], esp
push eax
call fcn.10003d00
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp + 0x40]
mov dword [ebp - 0x40c], esp
mov ecx, esp
push eax
call fcn.10003d00
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 0x28]
mov dword [ebp - 0x404], esp
mov ecx, esp
push eax
call fcn.10003d00
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.10003d00
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [ebp + 8]
call fcn.10039df0
call fcn.100353e0
test al, al
jne 0x10038f30
mov byte [ebp - 0x3fd], al
jmp 0x10039589
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10065910
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100394df
call fcn.10028cd0
lea ecx, [ebp - 0x234]
lea edx, [eax + 0x34]
call fcn.1001b990
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x21c]
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x250], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038fa0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10003c00
push 1
push 0x10098918
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.1001d220
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x410]
lea ecx, [ebp - 0x2ac]
call fcn.10026590
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x10039063
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039059
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396ae
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x100390a7
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003909d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396ae
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x10039108
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100390fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396ae
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.10028cd0
lea ecx, [ebp - 0x24c]
lea edx, [eax + 0x4c]
call fcn.1001b990
mov esi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x21c]
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 0
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x268], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039165
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.10003c00
push 1
push 0x10098918
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xf
call fcn.1001d220
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x10
push eax
push dword [ebp - 0x410]
lea ecx, [ebp - 0x294]
call fcn.10026590
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x10039228
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003921e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b3
push ecx
push edx
call fcn.10063674
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x1003926c
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039262
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b3
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x100392cd
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100392c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b3
push ecx
push edx
call fcn.10063674
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor eax, eax
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x404], eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x10039434
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x10039434
cmp dword [ebp - 0x404], 1
mov dword [ebp - 0x40c], 0
jne 0x10039362
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x40c], 1
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x10039362
push 0
call eax
lea ecx, [ebp - 0x3fc]
call fcn.100396f0
mov edx, ecx
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2ac]
call fcn.100258c0
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x100393fa
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x100393fa
lea ecx, [ebp - 0x354]
call fcn.100396f0
mov edx, ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x294]
call fcn.100258c0
mov eax, dword [ebp - 0x404]
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x408], eax
call esi
push eax
call edi
test eax, eax
je 0x100393eb
push dword [ebp - 0x408]
call eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x15
call fcn.10039790
cmp dword [ebp - 0x40c], 0
je 0x10039429
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x10039429
lea ecx, [ebp - 0x404]
push ecx
call eax
lea ecx, [ebp - 0x3fc]
call fcn.10039790
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x280]
cmp ecx, 7
jbe 0x10039478
mov edx, dword [ebp - 0x294]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003946e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b8
push ecx
push edx
call fcn.10063674
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
cmp ecx, 7
jbe 0x100394d9
mov edx, dword [ebp - 0x2ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100394cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b8
push ecx
push edx
call fcn.10063674
add esp, 8
mov edi, dword [ebp - 0x414]
lea esi, [edi + 0x6c]
push esi
mov dword [ebp - 0x410], esi
call fcn.100627ab
add esp, 4
test eax, eax
jne 0x100396bd
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100396c4
mov byte [ebp - 4], 0x17
cmp byte [edi + 0x68], 0
jne 0x10039579
push 8
mov byte [edi + 0x68], 1
call fcn.1006332a
mov dword [ebp - 0x408], eax
mov dword [eax], 0x100399d0
mov dword [eax + 4], edi
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0x18
push ecx
push 0
push eax
push 0x1003a9b0
push 0
push 0
call fcn.100740ee
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x418], ecx
test ecx, ecx
je 0x100396d9
cmp dword [edi + 0xa8], 0
jne 0x100396cf
mov eax, dword [ebp - 0x414]
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa8], eax
push esi
call fcn.100627bc
add esp, 4
mov byte [ebp - 0x3fd], 1
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x100395bd
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100395b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396d4
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0xf
mov byte [ebp + 0x10], 0
cmp ecx, 0xf
jbe 0x10039603
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100395f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396d4
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
cmp ecx, 0xf
jbe 0x10039649
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003963f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396d4
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0xf
mov byte [ebp + 0x40], 0
cmp ecx, 0xf
jbe 0x1003968b
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039681
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396d4
push ecx
push edx
call fcn.10063674
add esp, 8
mov al, byte [ebp - 0x3fd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063317
mov esp, ebp
pop ebp
ret 0x74
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
push 5
call fcn.1006274d
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1006274d
call fcn.100744e9
call fcn.1006dd1f
push 6
mov dword [ebp - 0x414], 0
call fcn.1006274d
int3