Function at 0x1000a210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041baf
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10059084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], vtable.OStringArray.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], vtable.OStringArray.0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], vtable.OStringArray.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
push 0x14
mov byte [ebp - 4], 6
call fcn.10025ad3
add esp, 4
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push 0x10051654
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
or eax, 0xffffffff
cmp edi, ecx
je 0x1000a383
mov ecx, dword [edi]
test ecx, ecx
je 0x1000a37a
lock xadd dword [ecx], eax
jne 0x1000a371
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000a371
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000a353
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000a366
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x1c]
add esp, 4
push 0x14
push eax
call fcn.10025ac5
add esp, 8
mov dword [edi], 0
or eax, 0xffffffff
mov dword [edi], esi
test esi, esi
je 0x1000a3b8
lock inc dword [esi]
test esi, esi
je 0x1000a3b8
lock xadd dword [esi], eax
jne 0x1000a3b8
mov eax, dword [esi + 4]
test eax, eax
je 0x1000a39d
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a3ad
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
push 0x14
call fcn.10025ad3
add esp, 4
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push str.HTTP_1.1
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
lea ecx, [edi + 4]
cmp ecx, eax
je 0x1000a46c
mov edx, dword [ecx]
test edx, edx
je 0x1000a463
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1000a45d
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000a45d
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000a43c
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000a44f
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x1c]
add esp, 4
push 0x14
push eax
call fcn.10025ac5
add esp, 8
lea ecx, [edi + 4]
mov dword [ecx], 0
mov dword [ecx], esi
test esi, esi
je 0x1000a4a4
lock inc dword [esi]
test esi, esi
je 0x1000a4a4
or eax, 0xffffffff
lock xadd dword [esi], eax
jne 0x1000a4a4
mov eax, dword [esi + 4]
test eax, eax
je 0x1000a489
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a499
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
push 0x14
call fcn.10025ad3
add esp, 4
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push 0x10051664
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
lea ecx, [edi + 8]
cmp ecx, eax
je 0x1000a558
mov edx, dword [ecx]
test edx, edx
je 0x1000a54f
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1000a549
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000a549
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000a528
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000a53b
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x1c]
add esp, 4
push 0x14
push eax
call fcn.10025ac5
add esp, 8
lea ecx, [edi + 8]
mov dword [ecx], 0
mov dword [ecx], esi
test esi, esi
je 0x1000a591
lock inc dword [esi]
test esi, esi
je 0x1000a591
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
jne 0x1000a591
mov eax, dword [esi + 4]
test eax, eax
je 0x1000a576
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000a586
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret