Function at 0x419b4d
Capabilities:
Check http status code

Disassembly:
push 0x1d8
mov eax, 0x4533ac
call fcn.0042c0a7
mov edi, ecx
push 0
push 0
push 0x724
push str.NGIOStack::CHTTPClient::HandleRedirection
push 0x482d88
push dword [0x482a94]
lea ecx, [ebp - 0x1a8]
call fcn.0040a488
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
push 1
push dword [ebp + 8]
call fcn.00410c0b
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xb8]
cmp eax, 0x133
je 0x419bb9
cmp eax, 0x12d
je 0x419bb9
cmp eax, 0x193
jne 0x41a511
mov ecx, edi
call fcn.00417fb2
push eax
lea ecx, [ebp - 0x130]
call fcn.00403e25
push str.close
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.00403ccf
test eax, eax
jne 0x419cef
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
je 0x419cef
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x4c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push eax
call fcn.00403e25
mov byte [ebp - 4], 3
push 0
mov byte [ebp - 4], 2
call fcn.0041a53f
mov ebx, eax
test ebx, ebx
je 0x419cef
push str.Updating_Device_Connection
push 0x733
lea eax, [ebp - 0x1a8]
push 0x10
push eax
call fcn.0040a801
mov ecx, dword [edi + 0xb4]
add esp, 0x10
mov esi, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x5c]
push eax
mov ecx, ebx
call dword [esi + 0x60]
mov ecx, dword [edi + 0xb4]
mov esi, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x64]
push eax
mov ecx, ebx
call dword [esi + 0x68]
mov ecx, dword [edi + 0xb4]
mov esi, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x6c]
push eax
mov ecx, ebx
call dword [esi + 0x70]
mov ecx, dword [edi + 0xb4]
mov esi, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x74]
push eax
mov ecx, ebx
call dword [esi + 0x78]
mov ecx, dword [edi + 0xb4]
mov esi, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x7c]
push eax
mov ecx, ebx
call dword [esi + 0x80]
mov ecx, dword [edi + 0xb4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x88]
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [edi + 0xb4]
mov eax, dword [edx + 4]
lea ecx, [edx + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0xb4], ebx
mov ecx, ebx
mov eax, dword [ebx]
push 1
call dword [eax + 0x88]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
jns 0x419d18
push str.CHTTPClient::Navigate:_CloseSession_from_exception_handler_failed.
push 0x748
lea eax, [ebp - 0x1a8]
push 0x80
push eax
call fcn.0040a801
add esp, 0x10
mov eax, dword [edi]
mov ecx, edi
push str.Location
call dword [eax + 0x58]
mov esi, eax
test esi, esi
je 0x41a4f8
lea ecx, [ebp - 0x58]
call fcn.00403d20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00403d20
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00403d20
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax]
push eax
lea ecx, [ebp - 0x118]
call fcn.00403e25
push esi
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00403e25
mov ebx, 0x46ad9c
mov byte [ebp - 4], 8
push ebx
call fcn.004061c6
pop ecx
push eax
push 0
push ebx
lea ecx, [ebp - 0x118]
call fcn.00407cf1
mov esi, 0x46d200
mov ebx, eax
push esi
call fcn.004061c6
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x100]
call fcn.00407cf1
mov esi, eax
cmp esi, 0xffffffff
je 0x41a129
cmp ebx, 0xffffffff
je 0x41a129
push esi
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.00407c8c
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00407dfa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00406677
push 0
push dword [ebp - 0x78]
lea ecx, [ebp - 0xd0]
call fcn.0040dc96
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
cmovae edx, dword [ebp - 0xd0]
cmp dword [ebp - 0x74], 8
push edx
cmovae ecx, dword [ebp - 0x88]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.0041f2f7
add esp, 0xc
lea ecx, [ebp - 0xd0]
push str.https:
call fcn.00403ccf
neg eax
lea ecx, [ebp - 0x100]
push 0xffffffffffffffff
sbb al, al
inc al
mov byte [ebp - 0x1b0], al
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00407c8c
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00407dfa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.00406677
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406a01
mov esi, 0x46ad9c
push esi
call fcn.004061c6
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.00407cf1
mov esi, eax
cmp esi, 0xffffffff
je 0x419f00
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407c8c
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00407dfa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.00406677
push esi
lea ecx, [ebp - 0x40]
call fcn.004066b1
mov eax, dword [edi + 0xb4]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1ac], eax
call fcn.00403d20
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.00403d20
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00410747
pop ecx
test al, al
je 0x41a000
lea ecx, [ebp - 0x28]
call fcn.0041086f
test al, al
je 0x41a000
cmp dword [edi + 0x78], 0
jbe 0x41a000
mov esi, 0x46c4a0
push esi
call fcn.004061c6
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.00407cf1
cmp eax, 0xffffffff
je 0x419fa1
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c8c
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00407dfa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.00406677
mov esi, 0x46cc1c
push esi
call fcn.004061c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004060b9
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403efa
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x68]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403efa
mov esi, 0x46d218
push esi
call fcn.004061c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00403e56
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403efa
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push eax
call fcn.0040762a
push dword [ebp - 0x1b0]
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xe
call fcn.0041a53f
mov esi, eax
test esi, esi
je 0x41a0fa
push 0x46ad9c
mov dword [edi + 0xb4], esi
call fcn.004061c6
pop ecx
push eax
push 0
push 0x46ad9c
lea ecx, [ebp - 0x58]
call fcn.00407cf1
cmp eax, 0xffffffff
jne 0x41a085
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x118]
call fcn.00407c8c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.00403efa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.00406677
mov ecx, dword [edi + 0x80]
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae edx, dword [ebp - 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x100]
push eax
lea ecx, [edi + 0x128]
call fcn.0041c758
mov eax, dword [edi]
lea ecx, [ebp - 0x1e4]
inc dword [ebp - 0x1e0]
push ecx
push dword [edi + 0x80]
mov ecx, edi
call dword [eax + 0x18]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1e0]
test eax, eax
je 0x41a0df
dec eax
mov dword [ebp - 0x1e0], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x1ac]
mov dword [edi + 0xb4], eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.00406677
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00406677
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.00406677
jmp 0x41a4b1
cmp dword [edi + 0xb8], 0x133
jne 0x41a4a7
lea ecx, [ebp - 0xa0]
call fcn.00403d20
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.00403d20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00403d20
mov ebx, 0x4634ec
mov byte [ebp - 4], 0x14
push ebx
call fcn.004061c6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.004060b9
lea ecx, [ebp - 0xa0]
cmp ecx, eax
je 0x41a18d
push 0xffffffffffffffff
push 0
push eax
call fcn.00406a01
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00406a01
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov esi, eax
test esi, esi
je 0x41a1c8
push esi
call fcn.004061c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.004060b9
mov ecx, dword [edi + 0xb4]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov esi, eax
test esi, esi
je 0x41a1ea
push esi
call fcn.004061c6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004060b9
lea ecx, [ebp - 0xb8]
call fcn.0041086f
push 2
pop ecx
push 0x17
pop edx
test al, al
push ebx
cmovne ecx, edx
movzx esi, cx
lea ecx, [ebp - 0xb8]
call fcn.00403ccf
test eax, eax
je 0x41a2fa
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403ccf
test eax, eax
je 0x41a2fa
push 0x17
pop ebx
cmp si, bx
jne 0x41a2a5
lea eax, [ebp - 0xb8]
mov edx, 0x46cc1c
push eax
lea ecx, [ebp - 0xd0]
call fcn.00414003
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe8]
mov edx, eax
mov dword [esp], 0x46d218
call fcn.0041f34c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.0041f392
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.00407dfa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x16
call fcn.00406677
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
call fcn.00406677
lea ecx, [ebp - 0xd0]
jmp 0x41a2f1
push 0x468afc
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xe8]
call fcn.0040e5d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.0041f392
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
call fcn.00407dfa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00406677
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x14
call fcn.00406677
mov cl, 1
call fcn.00422c34
mov esi, eax
test esi, esi
je 0x41a47d
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
mov edx, dword [esi]
cmovae ecx, dword [ebp - 0xa0]
push ecx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
je 0x41a335
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor esi, esi
test esi, esi
je 0x41a47d
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
push 0
push dword [edi + 0x80]
call dword [eax + 0x18]
mov ebx, 0x83e8f5f7
test eax, eax
jne 0x41a375
and dword [ebp - 0x1a0], eax
jmp 0x41a3a5
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push str.Fail_to_create_device_connection_to_redirect_address
push 0x7e8
lea eax, [ebp - 0x1a8]
push 0x10
push eax
call fcn.0040a801
add esp, 0x10
mov dword [ebp - 0x1a0], ebx
mov eax, dword [edi]
mov ecx, edi
push str.X_Session_Status
call dword [eax + 0x58]
test eax, eax
je 0x41a3e5
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push str.Session_is_locked_by_the_printer
push 0x7ee
lea eax, [ebp - 0x1a8]
push 0x10
push eax
call fcn.0040a801
add esp, 0x10
mov dword [ebp - 0x1a0], ebx
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00406677
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.00406677
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00406677
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00406677
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 6
call fcn.00406677
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00406677
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00406677
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00406677
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00406677
jmp 0x41a517
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00406677
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.00406677
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00406677
mov dword [ebp - 0x1a0], 0x83e8f5f6
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00406677
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 6
call fcn.00406677
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00406677
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00406677
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00406677
jmp 0x41a502
mov dword [ebp - 0x1a0], 0x83e8f5f7
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00406677
mov esi, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0
call fcn.00410e3c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a8]
call fcn.0040a576
mov eax, esi
call fcn.0042c051
ret 4