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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
xor edi, edi
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x49cfc4
cmp dword [esi], 0xc0dedbad
jne 0x49cfc4
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0x10c], 0
je 0x49bdd0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004b7ca0
push 0
push edi
push esi
call fcn.0049b7d0
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x49bdc2
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x49bdb2
push esi
push ebx
call fcn.004aefd0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x23c]
push eax
call fcn.004b96b0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0049a2f0
add esp, 4
mov ecx, dword [esp + 0x74]
nop word [eax + eax]
mov al, byte [ecx + 0x10a]
xor ebp, ebp
mov byte [esp + 0x11], 0
mov byte [ecx + 0x10a], 0
test al, al
je 0x49bdf1
push ecx
call fcn.0049da80
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x49be10
cmp dword [ebx], ebp
jne 0x49be14
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp dword [ebx], ebp
je 0x49be44
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x49be44
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x19]
push eax
push dword [esp + 0x84]
push esi
call fcn.0049bba0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x49ce01
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x49be4c
jmp dword [ecx*4 + 0x49cfd4]
push esi
call fcn.004b7cb0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x49be4c.1
cmp dword [esi + 0x34], 2
je 0x49be80
push esi
mov dword [esi + 0x34], 2
call fcn.004b7bf0
add esp, 4
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.004c34d0
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x78]
movups xmmword [eax], xmm0
jmp case.0x49be4c.1
cmp dword [esi + 0x8d0], ebp
jne 0x49bed3
mov eax, dword [esi + 0x4b0]
inc eax
push eax
call dword [0x5bf140]
add esp, 4
mov dword [esi + 0x8d0], eax
test eax, eax
jne 0x49bed3
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x49be4c.1
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.004c34d0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x78]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x49bf05
push 0xa
push 0
push eax
push esi
call fcn.0049a0e0
add esp, 0x10
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x49bf1d
push 2
push 0
push eax
push esi
call fcn.0049a0e0
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.004a8940
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x49bfa4
cmp dword [esi + 0x34], 1
je 0x49bf48
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x74]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.004b9630
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x49bf6f
mov dword [ecx + 0x10], eax
jmp 0x49bf72
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x49bf90
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x49be4c.1
mov dword [ebx + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x49be4c.1
cmp byte [esi + 0xd9c], 0
je 0x49bfc3
push str.Transfer_was_pending__now_try_another
push esi
call fcn.004af830
push dword [esi + 0x7c]
call fcn.0049da80
add esp, 0xc
test edi, edi
jne case.0x49be4c.1
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x34]
je 0x49bfea
cmp eax, 3
je case.0x49be4c.1
mov dword [esi + 0x34], 3
jmp case.0x49be4c.1
or ebp, 0xffffffff
cmp byte [esp + 0x14], 0
je 0x49c009
cmp eax, 6
je case.0x49be4c.1
mov dword [esi + 0x34], 6
jmp case.0x49be4c.1
cmp eax, 4
je case.0x49be4c.1
mov dword [esi + 0x34], 4
jmp case.0x49be4c.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x1c8], 0
je 0x49c035
mov ebx, dword [eax + 0x98]
jmp 0x49c046
cmp byte [eax + 0x1d1], 0
je 0x49c043
mov ebx, dword [eax + 0x68]
jmp 0x49c046
mov ebx, dword [eax + 0x50]
push dword [eax + 0x440]
push ebx
push esi
call fcn.004b9e20
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x49c088
push ebx
push 0x57c2c4
xor edi, edi
mov dword [esi + 0x9a4], eax
push esi
mov byte [esi + 0x9b8], 1
mov dword [esp + 0x24], edi
call fcn.004af830
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x49c09c
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004baa00
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x74]
push esi
push ebx
call fcn.0049df50
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x49cf4c
cmp dword [esp + 0x1c], eax
je 0x49c0fe
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004ba460
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x49c0d7
mov dword [esi + 0x18], ebp
jmp 0x49c0fe
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x14], 0
je 0x49c0f2
cmp eax, 6
je 0x49c0fe
mov dword [esi + 0x34], 6
jmp 0x49c0fe
cmp eax, 4
je 0x49c0fe
mov dword [esi + 0x34], 4
test edi, edi
je case.0x49be4c.1
mov byte [esp + 0x11], 1
jmp case.0x49be4c.1
lea eax, [esp + 0x12]
push eax
push esi
call fcn.004bc510
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1cc], 0
je 0x49c15f
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.0049b7d0
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x49be4c.1
push esi
mov dword [esi + 0x34], 2
call fcn.004b7bf0
jmp 0x49cdac
test edi, edi
jne 0x49c106
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x49be4c.1
mov dword [esi + 0x34], 6
jmp case.0x49be4c.1
lea eax, [esp + 0x14]
push eax
push 0
push 0
push esi
call fcn.004aee50
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
je 0x49c1b8
test edi, edi
jne 0x49c1c0
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x49be4c.1
mov dword [esi + 0x34], 6
jmp case.0x49be4c.1
test edi, edi
je case.0x49be4c.1
push esi
call fcn.004b7ca0
push 1
push edi
push esi
call fcn.0049b7d0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x49be4c.1
cmp byte [esi + 0xda3], 0
je 0x49c1f7
push esi
call fcn.0049dc30
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov ebx, dword [esi + 0x18]
test edi, edi
jne 0x49c1c0
cmp byte [ebx + 0x1cf], 0
je 0x49c21b
cmp ecx, 8
je 0x49c213
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x49be4c.1
test edi, edi
jne 0x49c1c0
lea eax, [ebx + 0x1d6]
mov byte [esp + 0x12], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.004af3d0
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x49c259
cmp byte [eax], 0
je 0x49c262
mov eax, dword [ebx + 0x1e8]
cmp dword [eax + 0x18], edi
jne 0x49c255
mov byte [esp + 0x12], 1
xor edi, edi
jmp 0x49c28e
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x49c28e
mov eax, dword [ebx + 0x1e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x49c282
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x49c28e
jmp 0x49c287
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x49c1c0
cmp byte [esp + 0x12], 0
jne 0x49c207
cmp ecx, 7
je 0x49c2b4
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x49be4c.1
mov edx, dword [ebx]
test edx, edx
je 0x49c2f8
mov eax, dword [edx + 0x1e8]
cmp dword [eax + 0x18], ebp
je 0x49c2f8
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x1e8]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x49c303
jmp 0x49c1c0
xor edi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x49be4c.1
jmp 0x49c207
cmp dword [esi + 0x1c4], ebp
je 0x49c3bd
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x49c332
mov eax, dword [edi]
test eax, eax
je 0x49c339
mov byte [eax + 0x10b], 1
push dword [esi + 0xe5c]
lea eax, [esi + 0xe2c]
push dword [esi + 0xe24]
push eax
lea eax, [esi + 0xdf4]
push eax
push dword [esi + 0x1c8]
mov eax, dword [esi + 0x1c4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x49c379
mov byte [ecx + 0x10b], 0
jmp 0x49c386
mov eax, dword [edi]
test eax, eax
je 0x49c386
mov byte [eax + 0x10b], 0
test edx, edx
je 0x49c3ba
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.004af760
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004b7ca0
push 0
push edi
push esi
call fcn.0049b7d0
add esp, 0x18
mov byte [esp + 0x11], 1
jmp case.0x49be4c.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x6c6], 1
mov edx, dword [esi + 0x18]
jne 0x49c3ef
push 0
push edx
call fcn.004b0d90
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x49c3e1
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x49be4c.1
mov eax, dword [edx + 0x1e8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x49c411
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x49c4f1
cmp byte [esp + 0x13], 0
jne 0x49c4a1
cmp byte [esi + 0xd96], 0
je 0x49c489
mov eax, dword [esi + 0xda8]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x49c43e
cmp al, 5
jne 0x49c489
push 0
push 0
push esi
call fcn.0049b7d0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x49c481
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x49c469
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x57c090]
test eax, eax
je 0x49c481
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x49be4c.1
cmp ecx, 9
je 0x49c213
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x49be4c.1
cmp byte [edx + 0x1d5], 0
je 0x49c4c2
cmp ecx, 0xa
je 0x49c213
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x49be4c.1
cmp ecx, 0xb
je 0x49c213
push 6
lea eax, [esp + 0x64]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x147], 0
call fcn.004c34d0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x49be4c.1
cmp edi, 0x37
jne 0x49c5af
cmp byte [edx + 0x1cf], 0
je 0x49c5af
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.004b8450
add esp, 8
test eax, eax
je 0x49c528
mov edi, eax
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004b7ca0
push 0
push edi
push esi
call fcn.0049b7d0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x49c59e
test eax, eax
je 0x49c55d
cmp eax, 0x37
je 0x49c55d
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x5bf144]
jmp 0x49cdac
push 2
push ecx
push esi
call fcn.004b76c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x49c58a
cmp dword [esi + 0x34], 2
je 0x49c585
push esi
mov dword [esi + 0x34], 2
call fcn.004b7bf0
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x5bf144]
jmp 0x49cdac
push ecx
mov byte [esp + 0x15], 1
call dword [0x5bf144]
jmp 0x49cdac
push esi
call fcn.004b7ca0
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x49c1d2
push 0
push edi
push esi
call fcn.0049b7d0
add esp, 0xc
mov byte [esp + 0x11], 1
jmp case.0x49be4c.1
mov edx, dword [ebx]
test edx, edx
je 0x49c62d
mov eax, dword [edx + 0x1e8]
cmp dword [eax + 0x1c], ebp
je 0x49c62d
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x1e8]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x18]
mov edi, eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x49c638
push esi
call fcn.004b7ca0
push 0
push edi
push esi
call fcn.0049b7d0
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x49be4c.1
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], 0
je case.0x49be4c.1
mov dl, byte [edx + 0x1d5]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x49c213
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x57c080]
test eax, eax
je 0x49c213
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x49be4c.1
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x30], edx
xor edi, edi
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x49c6ad
lea ecx, [esp + 0x30]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x49c611
test edx, edx
je case.0x49be4c.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x49c213
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x57c058]
test eax, eax
je 0x49c213
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x49be4c.1
mov eax, dword [ebx]
cmp byte [eax + 0x1df], 0
je 0x49c716
mov ebx, dword [esp + 0x74]
push ebx
call fcn.0049da80
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x200], 0xffffffff
jne 0x49c761
cmp dword [eax + 0x204], 0xffffffff
jne 0x49c761
cmp byte [esi + 0xd96], 0
je 0x49c74c
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x4c], 0x1000
jne 0x49c74c
mov eax, dword [esi + 0xda8]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x49c76d
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x49be4c.1
cmp ecx, 0xc
je 0x49c76d
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x49be4c.1
push esi
call fcn.004c3790
add esp, 4
test eax, eax
je 0x49c78f
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x49c7b3
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.004c4d30
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x49c7e9
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1e8]
test byte [eax + 0x4c], 2
jne 0x49c7d2
cmp ebx, 0x5c
je 0x49c7d2
push 2
push ecx
call fcn.004b0d90
add esp, 8
push esi
call fcn.004b7ca0
push 1
push ebx
push esi
call fcn.0049b7d0
add esp, 0x10
jmp case.0x49be4c.1
mov edx, dword [esi + 0x220]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x224]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x34], xmm0
je 0x49c84c
mov ebx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x734]
push dword [esi + 0x730]
call fcn.004c30d0
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x49c858
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x228]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x22c]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x49c8bb
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x228]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x72c]
push dword [esi + 0x728]
call fcn.004c30d0
add esp, 0x38
mov ecx, eax
jmp 0x49c8c3
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, ebx
or eax, dword [esp + 0x20]
jne 0x49c8fb
mov eax, ecx
or eax, edx
jne 0x49c8fb
cmp dword [esi + 0x34], 0xc
je 0x49c8de
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.004c3ae0
add esp, 0x14
jmp case.0x49be4c.1
mov eax, dword [esp + 0x20]
cmp eax, edx
jl 0x49c91b
jg 0x49c909
cmp ebx, ecx
jb 0x49c91b
push 0xb
push eax
push ebx
push esi
call fcn.0049a0e0
add esp, 0x10
jmp case.0x49be4c.1
push 0xb
push edx
push ecx
push esi
call fcn.0049a0e0
add esp, 0x10
jmp case.0x49be4c.1
mov eax, dword [esi + 0x220]
xor bl, bl
mov ecx, dword [esi + 0x224]
xorps xmm0, xmm0
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x16], bl
movlpd qword [esp + 0x34], xmm0
je 0x49c99c
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x220]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x734]
push dword [esi + 0x730]
call fcn.004c30d0
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x49c9a8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x22c]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x228]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x49ca13
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x228]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x72c]
push dword [esi + 0x728]
call fcn.004c30d0
add esp, 0x38
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x49ca1f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
mov dword [esp + 0x34], edx
jne 0x49cca6
mov eax, ecx
or eax, edx
jne 0x49cca6
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x19]
push eax
push esi
push dword [esi + 0x18]
call fcn.004b8070
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x15]
mov dword [esp + 0x18], edi
test al, al
jne 0x49cb90
cmp edi, 0x38
je 0x49cb90
mov ecx, edi
cmp edi, 0x5c
jne 0x49cbd6
push esi
mov dword [esp + 0x24], edi
call fcn.004c5b50
add esp, 4
test al, al
je 0x49cbce
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004b8450
mov edi, eax
add esp, 8
test edi, edi
jne 0x49cbc8
push str.Downgrades_to_HTTP_1.1
push esi
call fcn.004af830
push 2
push dword [esi + 0x18]
call fcn.004b0d90
add esp, 0x10
mov byte [esi + 0xd8c], 2
mov byte [esi + 0xd93], 0
cmp dword [esp + 0x1c], ebp
jne 0x49cae3
push dword [esi + 0xce4]
call dword [0x5bf14c]
add esp, 4
mov dword [esp + 0x1c], eax
mov al, 1
xor edi, edi
mov dword [esp + 0x18], edi
mov bl, al
mov byte [esp + 0x15], al
test al, al
je 0x49cc87
push esi
call fcn.004b7ca0
add esp, 4
test bl, bl
jne 0x49cc38
cmp dword [esi + 0x118], ebp
jne 0x49cc14
cmp dword [esi + 0x114], ebp
je 0x49cb6f
push dword [esp + 0x1c]
call dword [0x5bf144]
mov eax, dword [esi + 0x114]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x114], ebp
call fcn.004b76c0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x5bf144]
add esp, 0x14
test edi, edi
je 0x49cb77
push 1
push edi
push esi
mov byte [esp + 0x1d], 1
call fcn.0049b7d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x49be4c.1
cmp dword [esi + 0x34], 0xe
je 0x49c213
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x49be4c.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004b8450
add esp, 8
mov dword [esp + 0x20], edi
test eax, eax
jne 0x49cbc2
cmp dword [esp + 0x1c], ebp
setne bl
test bl, bl
je 0x49cbce
xor edi, edi
mov al, 1
mov dword [esp + 0x18], edi
mov byte [esp + 0x15], al
jmp 0x49caf1
test edi, edi
jne 0x49cbad
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x49cbde
mov al, byte [esp + 0x15]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49caf1
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1e8]
test byte [eax + 0x4c], 2
jne 0x49cbfd
cmp edi, 0x5c
je 0x49cbfd
push 2
push ecx
call fcn.004b0d90
add esp, 8
push esi
call fcn.004b7ca0
push 1
push edi
push esi
call fcn.0049b7d0
add esp, 0x10
jmp case.0x49be4c.1
push dword [esp + 0x1c]
call dword [0x5bf144]
mov eax, dword [esi + 0x118]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x118], ebp
jmp 0x49cc3d
mov edi, 2
push 0
push 0
push esi
call fcn.0049b7d0
push edi
push dword [esp + 0x2c]
push esi
call fcn.004b76c0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x49cc78
cmp dword [esi + 0x34], 2
je 0x49cc75
push esi
mov dword [esi + 0x34], 2
call fcn.004b7bf0
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x5bf144]
jmp 0x49cdac
cmp byte [esp + 0x16], 0
je case.0x49be4c.1
push 8
push 0
push 0
push esi
call fcn.0049a0e0
add esp, 0x10
jmp case.0x49be4c.1
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.004c3ae0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x49cccb
mov dword [esi + 0x34], 0xd
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
cmp ecx, ebx
jl 0x49ccf7
mov eax, dword [esp + 0x20]
jg 0x49ccff
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x49ccfb
push 0xb
push ecx
push eax
push esi
call fcn.0049a0e0
add esp, 0x10
jmp case.0x49be4c.1
mov edx, dword [esp + 0x28]
mov eax, edx
mov ecx, ebx
push 0xb
push ecx
push eax
push esi
call fcn.0049a0e0
add esp, 0x10
jmp case.0x49be4c.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x49cd45
cmp byte [eax + 0x1df], 0
je 0x49cd30
mov ebx, dword [esp + 0x74]
push ebx
call fcn.0049da80
add esp, 4
push 0
push edi
push esi
call fcn.0049b7d0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd96], 0
je 0x49cd69
mov eax, dword [esi + 0xda8]
cmp byte [eax + 0x20], 7
je 0x49cd69
cmp dword [esi + 0x34], 0
je case.0x49be4c.1
mov dword [esi + 0x34], 0
jmp case.0x49be4c.1
cmp dword [esi + 0x34], 0xf
je case.0x49be4c.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x49cd9f
push esi
push ebx
call fcn.004aefd0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x23c]
push eax
call fcn.004b96b0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0049a2f0
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x49ce01
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x74]
sub eax, 2
cmp eax, 5
ja 0x49ce05
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x49ce05
cmp byte [edx + 0x10a], 0
lea ebx, [esi + 0x18]
jne 0x49ce05
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x19]
push eax
push dword [esp + 0x84]
push esi
call fcn.0049bba0
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x74]
cmp dword [esi + 0x34], 0xf
jge 0x49cf2d
test edi, edi
je 0x49cec6
push edx
call fcn.0049da80
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x49ce70
cmp byte [esp + 0x11], 0
je 0x49ce7f
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x44]
call fcn.004aefd0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.004b96b0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.004a49a0
push dword [esp + 0x5c]
push ebp
push esi
call fcn.004a8b70
add esp, 0x2c
lea ebx, [esi + 0x18]
jmp 0x49ce7f
cmp dword [esi + 0x34], 2
jne 0x49ce7f
push esi
call fcn.004b7ca0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x49cf26
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x49ceb8
push esi
push ebp
call fcn.004aefd0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.004b96b0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.0049a2f0
jmp 0x49cf23
cmp dword [ebx], 0
je 0x49cf29
push esi
call fcn.004c3790
add esp, 4
test eax, eax
je 0x49cf29
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.004b0d90
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x49cf26
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x49cf0d
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x57c090]
test eax, eax
je 0x49cf26
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x49cf56
mov ecx, dword [esp + 0x74]
cmp ebp, 0xffffffff
je 0x49bdd0
cmp byte [ecx + 0x10a], 0
jne 0x49bdd0
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esi + 0x6a8]
test eax, eax
je 0x49cf6d
push edi
push esi
call eax
mov ebx, dword [esp + 0x7c]
add esp, 8
jmp 0x49cf92
mov ebx, dword [esp + 0x74]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push dword [ebx + 0x18]
push eax
call fcn.004b9630
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x49cf9f
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.004b9630
push esi
push ebx
call fcn.0049e420
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x60
ret