Function at 0x10008f80
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019343
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10024008]
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 edi, ecx
push 0x104
lea eax, [ebp - 0x218]
mov dword [edi], 0
push eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x234], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009000
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.10005ce0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0
push 0x1001b9d3
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.100017e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000908e
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x63
jmp 0x100090a9
push 0x63
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100090da
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x61
jmp 0x100090f5
push 0x61
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x10009126
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x73
jmp 0x10009141
push 0x73
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x10009172
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x68
jmp 0x1000918d
push 0x68
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100091be
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x63
jmp 0x100091d9
push 0x63
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000920a
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x6c
jmp 0x10009225
push 0x6c
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x10009256
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x6f
jmp 0x10009271
push 0x6f
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100092a2
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x75
jmp 0x100092bd
push 0x75
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100092ee
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x64
jmp 0x10009309
push 0x64
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000933a
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x73
jmp 0x10009355
push 0x73
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x10009386
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x65
jmp 0x100093a1
push 0x65
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100093d2
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x72
jmp 0x100093ed
push 0x72
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000941e
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x76
jmp 0x10009439
push 0x76
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000946a
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x69
jmp 0x10009485
push 0x69
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100094b6
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x63
jmp 0x100094d1
push 0x63
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x10009502
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x65
jmp 0x1000951d
push 0x65
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000954e
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x73
jmp 0x10009569
push 0x73
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000959a
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x2e
jmp 0x100095b5
push 0x2e
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x100095e6
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x63
jmp 0x10009601
push 0x63
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x10009632
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x6f
jmp 0x1000964d
push 0x6f
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x21c]
cmp ecx, edx
jae 0x1000967e
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov word [eax + ecx], 0x6d
jmp 0x10009699
push 0x6d
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.100061c0
mov eax, dword [0x10024bb4]
lea ecx, [ebp - 0x230]
push ecx
cmp eax, dword [0x10024bb8]
je 0x100096c3
mov ecx, eax
call fcn.10005410
mov eax, dword [0x10024bb4]
add eax, 0x18
mov dword [0x10024bb4], eax
jmp 0x100096d3
push eax
mov ecx, 0x10024bb0
call fcn.1000a0d0
mov eax, dword [0x10024bb4]
cmp eax, dword [0x10024bb8]
je 0x100096f2
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.10005410
add dword [0x10024bb4], 0x18
jmp 0x10009704
lea edx, [ebp - 0x230]
mov ecx, 0x10024bb0
push edx
push eax
call fcn.1000a0d0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x10009736
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x5c
jmp 0x10009751
push 0x5c
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x10009783
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x77
jmp 0x1000979e
push 0x77
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x100097d0
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x69
jmp 0x100097eb
push 0x69
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x1000981d
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x6e
jmp 0x10009838
push 0x6e
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x1000986a
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x68
jmp 0x10009885
push 0x68
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x100098b7
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x74
jmp 0x100098d2
push 0x74
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x10009904
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x74
jmp 0x1000991f
push 0x74
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x10009951
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x70
jmp 0x1000996c
push 0x70
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x1000999e
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x2e
jmp 0x100099b9
push 0x2e
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x100099eb
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x64
jmp 0x10009a06
push 0x64
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x10009a38
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x6c
jmp 0x10009a53
push 0x6c
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
cmp ecx, edx
jae 0x10009a85
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
mov dword [eax + ecx*2], 0x6c
jmp 0x10009aa0
push 0x6c
mov byte [ebp - 0x27c], 0
push dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.100059f0
push 4
call fcn.10017844
mov ebx, eax
add esp, 4
mov dword [ebp - 0x27c], ebx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x260]
mov dword [ebx], 0
call fcn.100050a0
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpQueryHeaders
push eax
mov dword [ebx], eax
call esi
push str.WinHttpSendRequest
push dword [ebx]
call esi
push str.WinHttpOpenRequest
push dword [ebx]
mov dword [0x10024acc], eax
call esi
push str.WinHttpAddRequestHeaders
push dword [ebx]
mov dword [0x10024abc], eax
call esi
push str.WinHttpSetOption
push dword [ebx]
mov dword [0x10024ad4], eax
call esi
push str.WinHttpQueryDataAvailable
push dword [ebx]
call esi
push str.WinHttpReadData
push dword [ebx]
mov dword [0x10024ac0], eax
call esi
push str.WinHttpCloseHandle
push dword [ebx]
mov dword [0x10024ad0], eax
call esi
push str.WinHttpSetStatusCallback
push dword [ebx]
mov dword [0x10024ab8], eax
call esi
push str.WinHttpConnect
push dword [ebx]
call esi
push str.WinHttpOpen
push dword [ebx]
mov dword [0x10024aac], eax
call esi
push str.WinHttpSetTimeouts
push dword [ebx]
mov dword [0x10024ac4], eax
call esi
push str.WinHttpWriteData
push dword [ebx]
mov dword [0x10024ab4], eax
call esi
push str.WinHttpReceiveResponse
push dword [ebx]
call esi
mov ecx, dword [ebp - 0x24c]
mov dword [0x10024ab0], eax
cmp ecx, 8
jb 0x10009be2
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009bd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009bd8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10017b8e
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [0x10024aa8], ebx
cmp dword [ebx], eax
je 0x10009d3d
push eax
push eax
push eax
push eax
push 0x1001bb3c
call dword [0x10024ac4]
mov dword [edi + 4], eax
test eax, eax
je 0x10009d40
mov eax, dword [0x10024aa4]
lea ecx, [eax + eax*2]
mov eax, dword [0x10024bb0]
lea eax, [eax + ecx*8]
push eax
lea ecx, [ebp - 0x278]
call fcn.10005410
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 0x10
mov eax, dword [ebp - 0x268]
jb 0x10009c6a
mov ecx, dword [ebp - 0x278]
add eax, ecx
jmp 0x10009c72
add eax, ecx
lea ecx, [ebp - 0x278]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x260]
call fcn.10009ea0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
mov edx, dword [edi + 4]
cmovae eax, dword [ebp - 0x260]
sub esp, 8
push eax
call fcn.1000a4a0
mov ecx, dword [ebp - 0x24c]
mov dword [edi], eax
cmp ecx, 8
jb 0x10009ce2
mov edx, dword [ebp - 0x260]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009cd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009d2b
push ecx
push edx
call fcn.10017b8e
add esp, 8
mov ecx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp ecx, 0x10
jb 0x10009d40
mov edx, dword [ebp - 0x278]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009d31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009d31
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10017b8e
add esp, 8
jmp 0x10009d40
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x10009d76
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10009d6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009da8
push ecx
push edx
call fcn.10017b8e
add esp, 8
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x10009db8
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009dae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009dae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10017b8e
add esp, 8
mov eax, edi
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.1001762d
mov esp, ebp
pop ebp
ret