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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ee4a
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x100ab080]
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.10003da0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp + 0x40]
mov dword [ebp - 0x40c], esp
mov ecx, esp
push eax
call fcn.10003da0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 0x28]
mov dword [ebp - 0x404], esp
mov ecx, esp
push eax
call fcn.10003da0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.10003da0
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [ebp + 8]
call fcn.10039dd0
call fcn.100353d0
test al, al
jne 0x10038f10
mov byte [ebp - 0x3fd], al
jmp 0x10039569
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10068810
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100394bf
call fcn.10028f00
lea ecx, [ebp - 0x234]
lea edx, [eax + 0x34]
call fcn.1001bc10
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 0x10038f80
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10003c90
push 1
push 0x1009b8c4
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.1001d490
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.10026800
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x10039043
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039039
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003968e
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x10039087
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003907d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003968e
push ecx
push edx
call fcn.100666c9
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 0x100390e8
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100390de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003968e
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.10028f00
lea ecx, [ebp - 0x24c]
lea edx, [eax + 0x4c]
call fcn.1001bc10
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 0x10039145
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.10003c90
push 1
push 0x1009b8c4
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xf
call fcn.1001d490
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.10026800
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x10039208
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100391fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039693
push ecx
push edx
call fcn.100666c9
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x1003924c
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039242
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039693
push ecx
push edx
call fcn.100666c9
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 0x100392ad
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100392a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039693
push ecx
push edx
call fcn.100666c9
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 0x10039414
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x10039414
cmp dword [ebp - 0x404], 1
mov dword [ebp - 0x40c], 0
jne 0x10039342
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 0x10039342
push 0
call eax
lea ecx, [ebp - 0x3fc]
call fcn.100396d0
mov edx, ecx
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2ac]
call fcn.10025b40
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x100393da
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x100393da
lea ecx, [ebp - 0x354]
call fcn.100396d0
mov edx, ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x294]
call fcn.10025b40
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 0x100393cb
push dword [ebp - 0x408]
call eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x15
call fcn.10039770
cmp dword [ebp - 0x40c], 0
je 0x10039409
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x10039409
lea ecx, [ebp - 0x404]
push ecx
call eax
lea ecx, [ebp - 0x3fc]
call fcn.10039770
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x280]
cmp ecx, 7
jbe 0x10039458
mov edx, dword [ebp - 0x294]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003944e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039698
push ecx
push edx
call fcn.100666c9
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 0x100394b9
mov edx, dword [ebp - 0x2ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100394af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039698
push ecx
push edx
call fcn.100666c9
add esp, 8
mov edi, dword [ebp - 0x414]
lea esi, [edi + 0x6c]
push esi
mov dword [ebp - 0x410], esi
call fcn.1006583a
add esp, 4
test eax, eax
jne 0x1003969d
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100396a4
mov byte [ebp - 4], 0x17
cmp byte [edi + 0x68], 0
jne 0x10039559
push 8
mov byte [edi + 0x68], 1
call fcn.1006637f
mov dword [ebp - 0x408], eax
mov dword [eax], 0x100399b0
mov dword [eax + 4], edi
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0x18
push ecx
push 0
push eax
push 0x1003a9a0
push 0
push 0
call fcn.10076fde
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x418], ecx
test ecx, ecx
je 0x100396b9
cmp dword [edi + 0xa8], 0
jne 0x100396af
mov eax, dword [ebp - 0x414]
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa8], eax
push esi
call fcn.1006584b
add esp, 4
mov byte [ebp - 0x3fd], 1
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x1003959d
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039593
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b4
push ecx
push edx
call fcn.100666c9
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 0x100395e3
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100395d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b4
push ecx
push edx
call fcn.100666c9
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 0x10039629
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003961f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b4
push ecx
push edx
call fcn.100666c9
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 0x1003966b
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039661
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100396b4
push ecx
push edx
call fcn.100666c9
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.1006636c
mov esp, ebp
pop ebp
ret 0x74
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
push 5
call fcn.100657c0
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.100657c0
call fcn.100773d9
call fcn.10070c0f
push 6
mov dword [ebp - 0x414], 0
call fcn.100657c0
int3