Function at 0x10005f10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a6ff
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1009b01c]
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, dword [ebp + 8]
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
push 0x88
mov byte [ebp - 0x29], al
call fcn.1004d1de
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 1
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [eax], 1
lea eax, [esi + 0xc]
mov ecx, eax
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_struct_weasel::Context_.0
mov dword [ebp - 0x30], eax
call fcn.100016b0
lea ecx, [esi + 0xc]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x154]
push 0x30
add esi, 0x20
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.1004d1de
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
lea eax, [edi + 0x170]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x29]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
call fcn.100191e0
sub esp, 0x24
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0x64]
mov dword [eax + 4], ecx
lea ecx, [edi + 0x164]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::reference_wrapper_struct_weasel::ResponseParser___bool__wchar_t___unsigned_int_.0
mov dword [eax + 0x24], eax
call fcn.1000ac60
sub esp, 0x38
mov byte [ebp - 0x35], al
mov esi, esp
lea edx, [edi + 0x170]
mov ecx, esi
mov dword [ebp - 0x3c], esi
push edx
call fcn.10004140
mov byte [ebp - 4], 5
lea eax, [edi + 0x188]
push eax
lea ecx, [esi + 0x18]
call fcn.10004140
mov al, byte [edi + 0x1a0]
lea ecx, [edi - 0x20]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x1a1]
mov byte [esi + 0x31], al
mov al, byte [edi + 0x1a2]
mov byte [esi + 0x32], al
mov al, byte [edi + 0x1a3]
mov byte [esi + 0x33], al
mov eax, dword [edi + 0x1a4]
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 4
call fcn.10007e10
cmp byte [ebp - 0x35], 0
je 0x10006212
cmp dword [ebp - 0x18], 0
lea eax, [edi + 0x14c]
mov dword [ebp - 0x3c], eax
je 0x1000613c
cmp dword [eax], 0
jne 0x100060f4
cmp dword [edi + 0x160], 0
je 0x100060d4
cmp byte [ebp - 0x29], 0
jne 0x100060d4
mov eax, 1
jmp 0x100060d6
xor eax, eax
push eax
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x100060ec
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004930
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000610d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10005910
push 0
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000612c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004bb0
lea eax, [edi + 0x14c]
jmp 0x1000613f
mov dword [ebp - 0x3c], eax
cmp byte [edi + 0x1a1], 0
mov eax, dword [eax]
je 0x10006184
test eax, eax
jne 0x100061a7
cmp dword [edi + 0x160], eax
je 0x10006162
cmp byte [ebp - 0x29], al
jne 0x10006162
mov eax, 1
jmp 0x10006164
xor eax, eax
push eax
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000617a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004930
jmp 0x100061a7
test eax, eax
je 0x100061a7
push 1
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000619f
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004bb0
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x100061bc
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10005050
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x10006212
cmp byte [ebp - 0x29], 0
je 0x10006212
mov ecx, dword [ebp - 0x48]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 4], ecx
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000620a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10005590
mov edi, dword [edi + 0x154]
mov eax, dword [edi + 8]
cmp byte [eax + 0x19c], 0
mov ecx, dword [eax + 0x2ec]
je 0x1000622f
or ecx, 1
jmp 0x10006232
and ecx, 0xfffffffe
mov dword [eax + 0x2ec], ecx
push dword [ebp - 0x40]
mov ecx, dword [edi + 8]
push dword [ebp - 0x30]
call fcn.1001ad00
cmp dword [edi + 0x1c], 0
jne 0x100062b2
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov esi, dword [edi + 0x10]
mov esi, dword [esi + 0x28]
mov dword [ebp - 0x34], esi
test esi, esi
je 0x1000626b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 7
test esi, esi
jne 0x10006279
mov byte [ebp - 4], 4
jmp 0x100062a8
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push 0x100805a0
push esi
call dword [eax]
test eax, eax
jne 0x10006297
mov eax, dword [ebp - 0x30]
push dword [edi + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov byte [ebp - 4], 6
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x100062b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x40]
lea ecx, [edi + 4]
mov eax, dword [ecx]
cmp byte [edx + 0x31], 0
je 0x100062c5
push dword [edi + 0x1c]
jmp 0x100062c7
push 0
push ecx
call dword [eax + 0x14]
lea ecx, [ebp - 0x64]
call fcn.100040f0
mov ecx, dword [ebp - 0x48]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx], eax
jne 0x100062fb
mov edi, dword [ebp - 0x44]
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x100062fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10006331
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006353
push ecx
push edx
call fcn.1004d1ad
add esp, 8
mov eax, 1
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.1004d19f
mov esp, ebp
pop ebp
ret 8
call fcn.1005ce0f
int3