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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bfda
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.10039e20
call fcn.10035410
test al, al
jne 0x10038f60
mov byte [ebp - 0x3fd], al
jmp 0x100395b9
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10065930
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1003950f
call fcn.10028cf0
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 0x10038fd0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10003c00
push 1
push 0x10098910
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 0x10039093
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039089
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396de
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x100390d7
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100390cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396de
push ecx
push edx
call fcn.10063694
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 0x10039138
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003912e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396de
push ecx
push edx
call fcn.10063694
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.10028cf0
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 0x10039195
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.10003c00
push 1
push 0x10098910
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 0x10039258
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003924e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396e3
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x1003929c
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039292
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396e3
push ecx
push edx
call fcn.10063694
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 0x100392fd
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100392f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396e3
push ecx
push edx
call fcn.10063694
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 0x10039464
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x10039464
cmp dword [ebp - 0x404], 1
mov dword [ebp - 0x40c], 0
jne 0x10039392
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 0x10039392
push 0
call eax
lea ecx, [ebp - 0x3fc]
call fcn.10039720
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 0x1003942a
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x1003942a
lea ecx, [ebp - 0x354]
call fcn.10039720
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 0x1003941b
push dword [ebp - 0x408]
call eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x15
call fcn.100397c0
cmp dword [ebp - 0x40c], 0
je 0x10039459
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x10039459
lea ecx, [ebp - 0x404]
push ecx
call eax
lea ecx, [ebp - 0x3fc]
call fcn.100397c0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x280]
cmp ecx, 7
jbe 0x100394a8
mov edx, dword [ebp - 0x294]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003949e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396e8
push ecx
push edx
call fcn.10063694
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 0x10039509
mov edx, dword [ebp - 0x2ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100394ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396e8
push ecx
push edx
call fcn.10063694
add esp, 8
mov edi, dword [ebp - 0x414]
lea esi, [edi + 0x6c]
push esi
mov dword [ebp - 0x410], esi
call fcn.100627cb
add esp, 4
test eax, eax
jne 0x100396ed
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100396f4
mov byte [ebp - 4], 0x17
cmp byte [edi + 0x68], 0
jne 0x100395a9
push 8
mov byte [edi + 0x68], 1
call fcn.1006334a
mov dword [ebp - 0x408], eax
mov dword [eax], 0x10039a00
mov dword [eax + 4], edi
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0x18
push ecx
push 0
push eax
push 0x1003a9e0
push 0
push 0
call fcn.1007410e
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x418], ecx
test ecx, ecx
je 0x10039709
cmp dword [edi + 0xa8], 0
jne 0x100396ff
mov eax, dword [ebp - 0x414]
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa8], eax
push esi
call fcn.100627dc
add esp, 4
mov byte [ebp - 0x3fd], 1
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x100395ed
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100395e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039704
push ecx
push edx
call fcn.10063694
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 0x10039633
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039629
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039704
push ecx
push edx
call fcn.10063694
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 0x10039679
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003966f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039704
push ecx
push edx
call fcn.10063694
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 0x100396bb
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100396b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039704
push ecx
push edx
call fcn.10063694
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.10063337
mov esp, ebp
pop ebp
ret 0x74
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
push 5
call fcn.1006276d
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1006276d
call fcn.10074509
call fcn.1006dd3f
push 6
mov dword [ebp - 0x414], 0
call fcn.1006276d
int3