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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a85f
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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.1004d31c
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 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 - 0x38], eax
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.1004d31c
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 - 0x38]
mov dword [ebp - 0x50], eax
lea eax, [edi + 0x170]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x29]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
call fcn.10019620
sub esp, 0x24
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0x5c]
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.1000b080
sub esp, 0x34
mov byte [ebp - 0x2a], al
mov esi, esp
lea eax, [edi + 0x170]
mov ecx, esi
mov dword [ebp - 0x34], esi
push eax
call fcn.10004470
lea eax, [edi + 0x188]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x18]
call fcn.10004470
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 byte [ebp - 4], 4
call fcn.10008250
cmp byte [ebp - 0x2a], 0
je 0x10006473
cmp dword [ebp - 0x18], 0
lea eax, [edi + 0x14c]
mov dword [ebp - 0x34], eax
je 0x1000639d
cmp dword [eax], 0
jne 0x10006355
cmp dword [edi + 0x160], 0
je 0x10006335
cmp byte [ebp - 0x29], 0
jne 0x10006335
mov eax, 1
jmp 0x10006337
xor eax, eax
push eax
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000634d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004c60
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000636e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10005c40
push 0
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000638d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004ee0
lea eax, [edi + 0x14c]
jmp 0x100063a0
mov dword [ebp - 0x34], eax
cmp byte [edi + 0x1a1], 0
mov eax, dword [eax]
je 0x100063e5
test eax, eax
jne 0x10006408
cmp dword [edi + 0x160], eax
je 0x100063c3
cmp byte [ebp - 0x29], al
jne 0x100063c3
mov eax, 1
jmp 0x100063c5
xor eax, eax
push eax
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x100063db
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004c60
jmp 0x10006408
test eax, eax
je 0x10006408
push 1
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x10006400
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10004ee0
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000641d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.10005380
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x10006473
cmp byte [ebp - 0x29], 0
je 0x10006473
mov ecx, dword [ebp - 0x40]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 4], ecx
push ecx
mov ecx, dword [edi + 0x128]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x1000646b
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea ecx, [edi - 0x20]
call fcn.100058c0
mov ecx, dword [edi + 0x154]
lea eax, [edi + 0x170]
push eax
push dword [ebp - 0x38]
call fcn.10002690
lea ecx, [ebp - 0x5c]
call fcn.10004420
mov ecx, dword [ebp - 0x40]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx], eax
jne 0x100064b8
mov edi, dword [ebp - 0x3c]
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x100064b8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100064ee
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100064e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006510
push ecx
push edx
call fcn.1004d2eb
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.1004d2dd
mov esp, ebp
pop ebp
ret 8
call fcn.1005cf0f
int3