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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b62f
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1009c040]
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 - 0x3c], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
push 0x88
mov byte [ebp - 0x29], al
call fcn.1004e027
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
movq qword [esi], xmm0
mov ecx, eax
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_struct_weasel::Context_.0
call fcn.100016b0
lea ecx, [esi + 0xc]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x154]
push 0x30
add esi, 0x20
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.1004e027
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x40]
add edi, 0x170
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x29]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
call fcn.10019830
sub esp, 0x24
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::reference_wrapper_struct_weasel::ResponseParser___bool__wchar_t___unsigned_int_.0
add ecx, 0x164
mov dword [eax + 0x24], eax
call fcn.1000a9d0
sub esp, 0x38
mov byte [ebp - 0x35], al
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x30], esi
push edi
call fcn.10004140
lea eax, [edi + 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x18]
call fcn.10004140
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov al, byte [edi + 0x32]
mov byte [esi + 0x32], al
mov al, byte [edi + 0x33]
mov byte [esi + 0x33], al
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
lea ecx, [esi - 0x20]
call fcn.10007b30
cmp byte [ebp - 0x35], 0
je 0x10006032
cmp dword [ebp - 0x18], 0
je 0x10005f54
cmp dword [esi + 0x14c], 0
jne 0x10005f14
cmp dword [esi + 0x160], 0
je 0x10005ef4
cmp byte [ebp - 0x29], 0
jne 0x10005ef4
mov eax, 1
jmp 0x10005ef6
xor eax, eax
mov edx, dword [esi + 0x128]
push eax
push ecx
mov eax, esp
mov dword [eax], edx
test edx, edx
je 0x10005f0c
mov eax, dword [edx]
push edx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.10004760
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [esi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10005f2d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.10005750
push 0
push ecx
mov ecx, dword [esi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10005f4c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.100049e0
cmp byte [esi + 0x1a1], 0
je 0x10005f9e
cmp dword [esi + 0x14c], 0
jne 0x10005fc6
cmp dword [esi + 0x160], 0
je 0x10005f7c
cmp byte [ebp - 0x29], 0
jne 0x10005f7c
mov eax, 1
jmp 0x10005f7e
xor eax, eax
push eax
push ecx
mov ecx, dword [esi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10005f94
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.10004760
jmp 0x10005fc6
cmp dword [esi + 0x14c], 0
je 0x10005fc6
push 1
push ecx
mov ecx, dword [esi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10005fbe
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.100049e0
push ecx
mov ecx, dword [esi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10005fdb
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.10004e80
cmp dword [esi + 0x14c], 0
je 0x10006032
cmp byte [ebp - 0x29], 0
mov edi, dword [ebp - 0x34]
je 0x10006035
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [edi + 4]
lea ecx, [edi + 0xc]
mov dword [eax + 4], edi
mov dword [eax], ecx
push ecx
mov ecx, dword [esi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10006028
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.100053d0
jmp 0x10006035
mov edi, dword [ebp - 0x34]
mov ecx, dword [esi + 0x154]
lea eax, [esi + 0x170]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx + 8]
cmp byte [eax + 0x19c], 0
mov edx, dword [eax + 0x2ec]
je 0x1000605e
or edx, 1
jmp 0x10006061
and edx, 0xfffffffe
mov dword [eax + 0x2ec], edx
lea eax, [edi + 0xc]
push dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
push eax
call fcn.1001b390
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1c], 0
jne 0x100060e8
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
mov esi, dword [ecx + 0x10]
mov esi, dword [esi + 0x28]
mov dword [ebp - 0x30], esi
test esi, esi
je 0x1000609e
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
test esi, esi
jne 0x100060ac
mov byte [ebp - 4], 4
jmp 0x100060de
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x100815a0
push esi
call dword [eax]
test eax, eax
jne 0x100060cd
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
push dword [edx + 0x14]
push 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 - 0x34]
test eax, eax
je 0x100060e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
lea edx, [ecx + 4]
mov eax, dword [edx]
cmp byte [esi + 0x31], 0
je 0x100060fe
push dword [ecx + 0x1c]
jmp 0x10006100
push 0
push edx
call dword [eax + 0x14]
lea ecx, [ebp - 0x5c]
call fcn.100040f0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1000612d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1000612d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x10006163
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006159
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006185
push ecx
push edx
call fcn.1004dff6
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.1004dfe8
mov esp, ebp
pop ebp
ret 8
call fcn.1005dd2f
int3