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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008beca
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.10039e50
call fcn.10035430
test al, al
jne 0x10038f90
mov byte [ebp - 0x3fd], al
jmp 0x100395e9
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10065890
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1003953f
call fcn.10028d30
lea ecx, [ebp - 0x234]
lea edx, [eax + 0x34]
call fcn.1001ba00
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 0x10039000
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10003c00
push 1
push 0x1009889c
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.1001d290
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.100265f0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x100390c3
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100390b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003970e
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x250]
cmp ecx, 7
jbe 0x10039107
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100390fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003970e
push ecx
push edx
call fcn.100635d4
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 0x10039168
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003915e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003970e
push ecx
push edx
call fcn.100635d4
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.10028d30
lea ecx, [ebp - 0x24c]
lea edx, [eax + 0x4c]
call fcn.1001ba00
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 0x100391c5
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.10003c00
push 1
push 0x1009889c
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xf
call fcn.1001d290
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.100265f0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x10039288
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003927e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039713
push ecx
push edx
call fcn.100635d4
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x268]
cmp ecx, 7
jbe 0x100392cc
mov edx, dword [ebp - 0x27c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100392c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039713
push ecx
push edx
call fcn.100635d4
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 0x1003932d
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10039323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039713
push ecx
push edx
call fcn.100635d4
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 0x10039494
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x10039494
cmp dword [ebp - 0x404], 1
mov dword [ebp - 0x40c], 0
jne 0x100393c2
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 0x100393c2
push 0
call eax
lea ecx, [ebp - 0x3fc]
call fcn.10039750
mov edx, ecx
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2ac]
call fcn.10025930
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x1003945a
lea ecx, [ebp - 0x404]
push ecx
call eax
test eax, eax
je 0x1003945a
lea ecx, [ebp - 0x354]
call fcn.10039750
mov edx, ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x294]
call fcn.10025930
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 0x1003944b
push dword [ebp - 0x408]
call eax
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x15
call fcn.100397f0
cmp dword [ebp - 0x40c], 0
je 0x10039489
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x404], 0
call esi
push eax
call edi
test eax, eax
je 0x10039489
lea ecx, [ebp - 0x404]
push ecx
call eax
lea ecx, [ebp - 0x3fc]
call fcn.100397f0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x280]
cmp ecx, 7
jbe 0x100394d8
mov edx, dword [ebp - 0x294]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100394ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039718
push ecx
push edx
call fcn.100635d4
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 0x10039539
mov edx, dword [ebp - 0x2ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003952f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039718
push ecx
push edx
call fcn.100635d4
add esp, 8
mov edi, dword [ebp - 0x414]
lea esi, [edi + 0x6c]
push esi
mov dword [ebp - 0x410], esi
call fcn.1006270b
add esp, 4
test eax, eax
jne 0x1003971d
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10039724
mov byte [ebp - 4], 0x17
cmp byte [edi + 0x68], 0
jne 0x100395d9
push 8
mov byte [edi + 0x68], 1
call fcn.1006328a
mov dword [ebp - 0x408], eax
mov dword [eax], 0x10039a30
mov dword [eax + 4], edi
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 0x18
push ecx
push 0
push eax
push 0x1003aa10
push 0
push 0
call fcn.1007406e
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x418], ecx
test ecx, ecx
je 0x10039739
cmp dword [edi + 0xa8], 0
jne 0x1003972f
mov eax, dword [ebp - 0x414]
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa8], eax
push esi
call fcn.1006271c
add esp, 4
mov byte [ebp - 0x3fd], 1
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x1003961d
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039613
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039734
push ecx
push edx
call fcn.100635d4
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 0x10039663
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039659
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039734
push ecx
push edx
call fcn.100635d4
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 0x100396a9
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003969f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039734
push ecx
push edx
call fcn.100635d4
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 0x100396eb
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100396e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039734
push ecx
push edx
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
ret 0x74
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
push 5
call fcn.100626ad
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.100626ad
call fcn.10074469
call fcn.1006dc9f
push 6
mov dword [ebp - 0x414], 0
call fcn.100626ad
int3