Function at 0x476044
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
lea eax, [esi + 0x88]
mov edi, edx
mov edx, ecx
lea ebx, [esi + 0x18]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x504270
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, ebx
mov dword fs:[0], eax
call fcn.00426308
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov eax, edx
mov al, byte [ebx + 8]
test edx, edx
mov dword [esi + 0x68], edx
je 0x4760a5
movzx edx, al
jmp 0x47647a
and dword [esi + 0x90], 0
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x18]
mov edx, edi
mov byte [esi + 0xf], al
call fcn.0044fa72
lea ecx, [esi + 0x18]
mov edx, 0x5891f8
call fcn.0047307f
mov byte [esi + 0xe], dl
mov edx, dword [esi + 0x10]
mov dword [esi + 0x64], eax
mov dword [esi + 0x5c], eax
cmp byte [edx + 0x98], 3
jne 0x476167
mov dword [esi + 0x90], 1
lea ecx, [esi + 0x40]
push 0xb
pop edx
push 0x2a
push str.connection_closed_because_of_a_broken_pipeassertion_failed:_sz___super::MAX_WINDOW_SIZE_as_usize
call fcn.004ca0c6
pop eax
pop ecx
lea ecx, [esi + 0x18]
lea edx, [esi + 0x40]
call fcn.0043cfbb
movsd xmm1, qword [esi + 0x20]
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 0x18]
mov dword [esi + 0x90], 5
movsd qword [esi + 0x48], xmm1
movsd xmm1, qword [esi + 0x28]
lea ecx, [eax + 0x98]
movsd qword [esi + 0x40], xmm0
mov dword [esi + 8], ecx
movsd qword [esi + 0x50], xmm1
call fcn.0047657c
movsd xmm0, qword [esi + 0x50]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov ecx, dword [edx + 0x150]
lea eax, [edx + 0x170]
add dword [esi + 0x64], 8
xor edi, edi
mov dword [esi + 8], eax
lea eax, [edx + 0x128]
mov dword [esi + 0x14], eax
lea eax, [edx + 0xb8]
mov dword [esi + 0x6c], eax
cmp edi, ecx
jae 0x4762af
mov dword [esi + 0x3c], ecx
mov ecx, dword [edx + 0x13c]
mov edx, dword [edx + 0x140]
mov dword [esi + 0x74], edi
push edi
call fcn.0043ce66
pop ecx
mov ecx, eax
mov dword [esi + 0x90], 1
call fcn.00476586
mov ecx, dword [edx]
mov edi, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x48], eax
call fcn.00441cf0
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0x40]
mov dword [esi + 0x70], eax
call fcn.00441d61
cmp byte [eax + 0x20], 6
mov dword [esi + 4], eax
jb 0x47624b
lea ecx, [esi + 0x78]
push 0xb
pop edx
push 0x26
push 0x571df4
call fcn.00466bdf
pop eax
pop ecx
lea ecx, [esi + 0x18]
lea edx, [esi + 0x78]
call fcn.0043cfbb
mov eax, dword [esi + 4]
mov ecx, eax
mov dword [esi + 0x90], 4
add ecx, 0x20
mov dword [esi + 0x60], ecx
call fcn.0043b863
movsd xmm0, qword [esi + 0x28]
mov eax, dword [esi + 0x60]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [esi + 4]
mov ecx, eax
mov dword [esi + 0x90], 1
call fcn.00442c28
mov ecx, dword [esi + 4]
call fcn.004446ef
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x64]
push dword [esi + 8]
lea eax, [esi + 0x40]
push eax
call fcn.0047659f
pop eax
pop ecx
xor eax, eax
cmp dword [esi + 0x70], 0x3b9aca00
mov ecx, dword [esi + 8]
lea edx, [esi + 0x40]
setne al
push eax
call fcn.00441de8
pop eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x3c]
mov edi, dword [esi + 0x74]
mov eax, dword [edx + 0x150]
cmp eax, ecx
sbb edi, 0xffffffff
cmp eax, ecx
sbb ecx, 0
jmp 0x47618e
lea eax, [edx + 0x30]
mov dword [esi + 0x90], 1
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
lea ecx, [esi + 0x18]
push dword [esi + 0x14]
call fcn.00445027
pop eax
cmp dword [esi + 0x18], 0
je 0x4762f7
lea ecx, [esi + 0x18]
call fcn.00441cf0
xor ebx, ebx
cmp dword [eax + 0x18], 0x3b9aca00
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
setne bl
push ebx
call fcn.00441de8
pop eax
jmp 0x4762bf
mov eax, dword [esi + 0x10]
add eax, 0x58
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
lea ecx, [esi + 0x18]
push dword [esi + 0x14]
call fcn.00444b54
pop eax
cmp dword [esi + 0x18], 0
je 0x476325
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
push 1
call fcn.00441de8
pop eax
jmp 0x476300
cmp byte [ebp + 8], 0
je 0x476359
mov eax, dword [esi + 0x10]
add eax, 0x44
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
lea ecx, [esi + 0x18]
push dword [esi + 0x14]
call fcn.00442384
pop eax
cmp dword [esi + 0x18], 0
je 0x476359
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
push 0
call fcn.00441de8
pop eax
jmp 0x476334
mov eax, dword [esi + 0x10]
mov dword [esi + 0x20], 2
and dword [esi + 0x30], 0
lea ecx, [eax + 0xc0]
add eax, 0xd4
mov dword [esi + 0x3c], ecx
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
mov dword [esi + 0x90], 3
lea ecx, [esi + 0x40]
push dword [esi + 0x14]
call fcn.00443018
pop eax
cmp dword [esi + 0x40], 0
je 0x4763ba
lea ecx, [esi + 0x40]
call fcn.00441cf0
xor ebx, ebx
cmp dword [eax + 0x18], 0x3b9aca00
mov ecx, dword [esi + 8]
lea edx, [esi + 0x40]
setne bl
push ebx
call fcn.00441de8
pop eax
jmp 0x476378
lea ecx, [esi + 0x18]
mov dword [esi + 0x90], 2
call fcn.004734ce
lea ecx, [esi + 0x18]
mov dword [esi + 0x90], 1
call fcn.0043d490
mov edx, dword [esi + 0x3c]
lea ecx, [esi + 0x18]
push dword [esi + 0x14]
call fcn.00444f7a
pop eax
cmp dword [esi + 0x18], 0
je 0x476416
lea ecx, [esi + 0x18]
call fcn.00441cf0
xor ebx, ebx
cmp dword [eax + 0x18], 0x3b9aca00
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
setne bl
push ebx
call fcn.00441de8
pop eax
jmp 0x4763de
mov eax, dword [esi + 0x10]
add eax, 0xe8
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
lea ecx, [esi + 0x18]
push dword [esi + 0x14]
call fcn.004430c5
pop eax
cmp dword [esi + 0x18], 0
je 0x476459
lea ecx, [esi + 0x18]
call fcn.00441cf0
xor ebx, ebx
cmp dword [eax + 0x18], 0x3b9aca00
mov ecx, dword [esi + 8]
lea edx, [esi + 0x18]
setne bl
push ebx
call fcn.00441de8
pop eax
jmp 0x476421
movzx edx, byte [esi + 0xe]
mov ecx, dword [esi + 0x5c]
and dword [esi + 0x90], 0
call fcn.004624c4
movzx edx, byte [esi + 0xf]
mov ecx, dword [esi + 0x10]
or dword [esi + 0x90], 0xffffffff
call fcn.004624c4
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
mov eax, dword [esi + 0x68]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret