Function at 0x10009f40
Capabilities:
Contain obfuscated stackstrings
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a2ab
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x10027008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009fb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10006130
mov dword [ebp - 4], 0
lea edx, [ebp - 0x254]
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x26c], 0
sub eax, edx
mov dword [ebp - 0x254], 0x77005c
sar eax, 1
xor ecx, ecx
push eax
mov eax, edx
mov word [ebp - 0x26c], cx
push eax
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x250], 0x6e0069
mov dword [ebp - 0x24c], 0x740068
mov dword [ebp - 0x248], 0x700074
mov dword [ebp - 0x244], 0x64002e
mov dword [ebp - 0x240], 0x6c006c
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
call fcn.10001c70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x26c]
cmp dword [ebp - 0x258], 8
lea ecx, [ebp - 0x230]
push dword [ebp - 0x25c]
cmovae eax, dword [ebp - 0x26c]
push eax
call fcn.10005530
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x258]
cmp ecx, 8
jb 0x1000a0cb
mov edx, dword [ebp - 0x26c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a0c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a0c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100189ba
add esp, 8
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x254], 0x45004b
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x250], 0x4e0052
sub eax, ecx
mov dword [ebp - 0x24c], 0x4c0045
sar eax, 1
push eax
mov eax, ecx
mov dword [ebp - 0x248], 0x320033
push eax
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x244], 0x64002e
mov dword [ebp - 0x240], 0x6c006c
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
call fcn.10001c70
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
cmovae eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x270]
mov edi, eax
cmp ecx, 8
jb 0x1000a1a3
mov edx, dword [ebp - 0x284]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a199
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a199
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100189ba
add esp, 8
xor eax, eax
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
lea ecx, [ebp - 0x23c]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x270], 7
sub eax, ecx
mov dword [ebp - 0x23c], 0x64616f4c
push eax
mov eax, ecx
mov dword [ebp - 0x238], 0x7262694c
push eax
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x234], 0x57797261
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
call fcn.10005ce0
cmp dword [ebp - 0x258], 0x10
lea eax, [ebp - 0x26c]
cmovae eax, dword [ebp - 0x26c]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov ecx, dword [ebp - 0x258]
mov ebx, eax
cmp ecx, 0x10
jb 0x1000a275
mov edx, dword [ebp - 0x26c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a26b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a26b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100189ba
add esp, 8
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
test ebx, ebx
je 0x1000a2ad
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call ebx
mov dword [esi], eax
push str.WinHttpQueryHeaders
push dword [esi]
call edi
push str.WinHttpSendRequest
push dword [esi]
mov dword [0x10027d1c], eax
call edi
push str.WinHttpOpenRequest
push dword [esi]
mov dword [0x10027d38], eax
call edi
push str.WinHttpAddRequestHeaders
push dword [esi]
mov dword [0x10027d2c], eax
call edi
push str.WinHttpSetOption
push dword [esi]
mov dword [0x10027d40], eax
call edi
push str.WinHttpQueryDataAvailable
push dword [esi]
call edi
push str.WinHttpReadData
push dword [esi]
mov dword [0x10027d30], eax
call edi
push str.WinHttpCloseHandle
push dword [esi]
mov dword [0x10027d3c], eax
call edi
push str.WinHttpSetStatusCallback
push dword [esi]
mov dword [0x10027d28], eax
call edi
push str.WinHttpConnect
push dword [esi]
call edi
push str.WinHttpOpen
push dword [esi]
mov dword [0x10027d18], eax
call edi
push str.WinHttpSetTimeouts
push dword [esi]
mov dword [0x10027d34], eax
call edi
push str.WinHttpWriteData
push dword [esi]
mov dword [0x10027d24], eax
call edi
push str.WinHttpReceiveResponse
push dword [esi]
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [0x10027d20], eax
cmp ecx, 8
jb 0x1000a3a4
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a39a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a39a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100189ba
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018459
mov esp, ebp
pop ebp
ret