Function at 0x5516a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8007
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push str.arss
push edi
mov dword [ebp - 0x768], ebx
mov dword [ebp - 0x760], eax
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
call fcn.00447ef0
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 4], 0
call fcn.00436ad0
mov ecx, ebx
call fcn.00402f10
cmp eax, 0x20
je 0x551748
mov eax, dword [edi]
mov ecx, edi
push str.ARSS_only_supports_SHA256_for_now...
call dword [eax + 0x14]
mov ecx, ebx
call fcn.00402f10
push eax
push str.hashSize
mov ecx, edi
call fcn.00448c10
xor bl, bl
jmp 0x5521a7
push 0x138
lea eax, [ebp - 0x184]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x184]
call fcn.004498e0
mov eax, dword [edi + 0x10c]
mov ecx, esi
mov dword [ebp - 0x75c], eax
lea eax, [ebp - 0x184]
push eax
push str.otpPwd
mov byte [ebp - 4], 1
call fcn.00482760
test al, al
je 0x55218e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.typeOtpAuth
call fcn.00482760
test al, al
je 0x55218e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push 0x60e2b4
call fcn.00482760
test al, al
je 0x55218e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.userPWD
call fcn.00482760
test al, al
je 0x55218e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.certID
call fcn.00482760
test al, al
je 0x55218e
push 0x74
lea eax, [ebp - 0x554]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x554]
call fcn.0042a8a0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x554]
mov ecx, esi
push eax
push str.otpPwd
call fcn.00483020
lea ecx, [ebp - 0x554]
call fcn.00433440
push 0x74
lea eax, [ebp - 0x3f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3f8]
call fcn.0042a8a0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x3f8]
mov ecx, esi
push eax
push str.typeOtpAuth
call fcn.00483020
lea ecx, [ebp - 0x3f8]
call fcn.00433440
push 0x74
lea eax, [ebp - 0x384]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x384]
call fcn.0042a8a0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x384]
mov ecx, esi
push eax
push 0x60e2b4
call fcn.00483020
lea ecx, [ebp - 0x384]
call fcn.00433440
push 0x74
lea eax, [ebp - 0x310]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.0042a8a0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x310]
mov ecx, esi
push eax
push str.userPWD
call fcn.00483020
lea ecx, [ebp - 0x310]
call fcn.00433440
push 0x74
lea eax, [ebp - 0x4e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4e0]
call fcn.0042a8a0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x4e0]
mov ecx, esi
push eax
push str.certID
call fcn.00483020
lea ecx, [ebp - 0x4e0]
call fcn.00433440
call fcn.00468b70
mov ebx, eax
test ebx, ebx
jne 0x551975
xor bl, bl
jmp 0x551d22
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.00408400
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0040a120
push str.s:Envelope
mov ecx, ebx
call fcn.0046ba50
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.00468070
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push str.http:__www.w3.org_2001_XMLSchema_instance
push str.xmlns:xsi
push 1
push str.s:Body
call fcn.0046c470
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push str.http:__www.w3.org_2001_XMLSchema
push str.xmlns:xsd
push 1
push str.s:Body
call fcn.0046c470
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push str.http:__arubasignservice.arubapec.it_
push str.xmlns
push 1
push str.s:Bodyopensession
call fcn.0046c470
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x5cd528
push str.xmlns
push 1
push str.s:BodyopensessionIdentity
call fcn.0046c470
lea ecx, [ebp - 0x554]
call fcn.0042f3c0
push eax
push str.s:BodyopensessionIdentityotpPwd
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x3f8]
call fcn.0042f3c0
push eax
push str.s:BodyopensessionIdentitytypeOtpAuth
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x384]
call fcn.0042f3c0
push eax
push str.s:BodyopensessionIdentityuser
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x310]
call fcn.0042f3c0
push eax
push str.s:BodyopensessionIdentityuserPWD
mov ecx, ebx
call fcn.0046c920
call fcn.0041d000
mov esi, eax
mov dword [ebp - 0x76c], esi
test esi, esi
jne 0x551aaa
xor bl, bl
jmp 0x551d1a
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.00408400
lea eax, [esi + 0x8dc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a120
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_opensessionRequest
push str.SOAPAction
call fcn.00426050
push 1
mov ecx, ebx
call fcn.0046b900
push 0x118
lea eax, [ebp - 0x754]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x754]
call fcn.00403870
lea eax, [ebp - 0x754]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.004679b0
push 0x74
lea eax, [ebp - 0x63c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x63c]
call fcn.0042a8a0
push edi
push dword [ebp - 0x75c]
lea eax, [ebp - 0x754]
mov byte [ebp - 4], 0xa
push 0
push 0
push str.text_xml__charsetutf_8
push str.utf_8
push eax
push str.https:__arss.demo.firma_automatica.it_ArubaSignService_ArubaSignService
push str.POST
mov ecx, esi
call fcn.0041f9e0
mov esi, eax
mov dword [ebp - 0x764], esi
test esi, esi
je 0x551cfa
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00408400
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.0040a120
call fcn.00468b70
mov esi, eax
mov dword [ebp - 0x758], esi
test esi, esi
je 0x551cf2
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00408400
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0040a120
mov ecx, dword [ebp - 0x764]
push esi
call fcn.0040c6e0
mov ecx, dword [ebp - 0x764]
call fcn.0040cd60
mov esi, eax
mov ecx, edi
push esi
push str.opensession_status_code
call fcn.00448710
cmp esi, 0xc8
je 0x551c5e
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403870
mov ecx, dword [ebp - 0x758]
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 0xd
call fcn.004679b0
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.00448c80
jmp 0x551cd3
mov esi, dword [ebp - 0x758]
lea eax, [ebp - 0x63c]
push 0
push eax
push str.S:Bodyns2:opensessionResponsereturn
mov ecx, esi
call fcn.004695b0
test al, al
jne 0x551d5e
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403870
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.004679b0
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.00448c80
mov eax, dword [edi]
mov ecx, edi
push str.Did_not_find_session_ID
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
push str.Failed.
call dword [eax + 0x14]
lea ecx, [ebp - 0x29c]
call fcn.00403900
lea ecx, [ebp - 0x1c]
call fcn.004084b0
lea ecx, [ebp - 0x28]
call fcn.004084b0
xor bl, bl
lea ecx, [ebp - 0x63c]
call fcn.0042a8f0
lea ecx, [ebp - 0x754]
call fcn.00403900
lea ecx, [ebp - 0x34]
call fcn.004084b0
lea ecx, [ebp - 0x40]
call fcn.004084b0
lea ecx, [ebp - 0x4e0]
call fcn.0042a8f0
lea ecx, [ebp - 0x310]
call fcn.0042a8f0
lea ecx, [ebp - 0x384]
call fcn.0042a8f0
lea ecx, [ebp - 0x3f8]
call fcn.0042a8f0
lea ecx, [ebp - 0x554]
call fcn.0042a8f0
jmp 0x55219c
lea ecx, [ebp - 0x1c]
call fcn.004084b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004084b0
mov ecx, dword [ebp - 0x768]
call fcn.00402f10
push 0x74
lea eax, [ebp - 0x5c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5c8]
call fcn.0042a8a0
mov ecx, dword [ebp - 0x768]
lea eax, [ebp - 0x5c8]
push eax
push str.base64
mov byte [ebp - 4], 0xf
call fcn.00438600
mov ecx, ebx
call fcn.004671c0
push str.s:Envelope
mov ecx, ebx
call fcn.0046ba50
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.00468070
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push str.http:__www.w3.org_2001_XMLSchema_instance
push str.xmlns:xsi
push 1
push str.s:Body
call fcn.0046c470
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push str.http:__www.w3.org_2001_XMLSchema
push str.xmlns:xsd
push 1
push str.s:Body
call fcn.0046c470
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push str.http:__arubasignservice.arubapec.it_
push str.xmlns
push 1
push str.s:Bodysignhash
call fcn.0046c470
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x5cd528
push str.xmlns
push 1
push str.s:BodysignhashSignHashRequest
call fcn.0046c470
lea ecx, [ebp - 0x4e0]
call fcn.0042f3c0
push eax
push str.s:BodysignhashSignHashRequestcertID
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x5c8]
call fcn.0042f3c0
push eax
push str.s:BodysignhashSignHashRequesthash
mov ecx, ebx
call fcn.0046c920
push str.SHA256
push str.s:BodysignhashSignHashRequesthashtype
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x3f8]
call fcn.0042f3c0
push eax
push str.s:BodysignhashSignHashRequestidentitytypeOtpAuth
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x384]
call fcn.0042f3c0
push eax
push str.s:BodysignhashSignHashRequestidentityuser
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x310]
call fcn.0042f3c0
push eax
push str.s:BodysignhashSignHashRequestidentityuserPWD
mov ecx, ebx
call fcn.0046c920
push str.false
push str.s:BodysignhashSignHashRequestrequirecert
mov ecx, ebx
call fcn.0046c920
lea ecx, [ebp - 0x63c]
call fcn.0042f3c0
push eax
push str.s:BodysignhashSignHashRequestsession_id
mov ecx, ebx
call fcn.0046c920
mov ecx, dword [ebp - 0x76c]
lea eax, [ebp - 0x184]
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_signhashRequest
push str.SOAPAction
call fcn.00426050
push 1
mov ecx, ebx
call fcn.0046b900
lea ecx, [ebp - 0x754]
call fcn.00404910
lea eax, [ebp - 0x754]
mov ecx, ebx
push eax
call fcn.004679b0
mov ecx, dword [ebp - 0x76c]
lea eax, [ebp - 0x754]
push edi
push dword [ebp - 0x75c]
push 0
push 0
push str.text_xml__charsetutf_8
push str.utf_8
push eax
push str.https:__arss.demo.firma_automatica.it_ArubaSignService_ArubaSignService
push str.POST
call fcn.0041f9e0
mov esi, eax
test esi, esi
je 0x552123
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00408400
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.0040a120
call fcn.00468b70
mov ebx, eax
test ebx, ebx
je 0x55211b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00408400
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.0040a120
push ebx
mov ecx, esi
call fcn.0040c6e0
mov ecx, esi
call fcn.0040cd60
mov esi, eax
mov ecx, edi
push esi
push str.signhash_status_code
call fcn.00448710
cmp esi, 0xc8
je 0x552060
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403870
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.004679b0
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.00448c80
mov eax, dword [edi]
mov ecx, edi
push str.Failed.
call dword [eax + 0x14]
lea ecx, [ebp - 0x29c]
call fcn.00403900
jmp 0x552113
push 0x74
lea eax, [ebp - 0x46c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x46c]
call fcn.0042a8a0
push 0
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0x13
push eax
push str.S:Bodyns2:signhashResponsereturnsignature
mov ecx, ebx
call fcn.004695b0
test al, al
jne 0x552135
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403870
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, ebx
call fcn.004679b0
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.00448c80
mov eax, dword [edi]
mov ecx, edi
push str.Did_not_find_signature
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
push str.Failed.
call dword [eax + 0x14]
lea ecx, [ebp - 0x29c]
call fcn.00403900
lea ecx, [ebp - 0x46c]
call fcn.0042a8f0
lea ecx, [ebp - 0x1c]
call fcn.004084b0
lea ecx, [ebp - 0x28]
call fcn.004084b0
lea ecx, [ebp - 0x5c8]
xor bl, bl
call fcn.0042a8f0
jmp 0x551cfc
push str.base64
lea ecx, [ebp - 0x46c]
call fcn.0042f3c0
mov ecx, dword [ebp - 0x760]
push eax
call fcn.00435790
lea ecx, [ebp - 0x46c]
call fcn.0042a8f0
lea ecx, [ebp - 0x1c]
call fcn.004084b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.004084b0
mov eax, dword [edi]
mov ecx, edi
push str.Success.
call dword [eax + 0x18]
lea ecx, [ebp - 0x5c8]
mov bl, 1
call fcn.0042a8f0
jmp 0x551cfc
mov eax, dword [edi]
mov ecx, edi
push str.Missing_one_or_more_of_otpPwd__typeOtpAuth__user__and_userPWD
call dword [eax + 0x14]
xor bl, bl
lea ecx, [ebp - 0x184]
call fcn.00449900
lea ecx, [ebp - 0x4c]
call fcn.00447ff0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af5a8
mov esp, ebp
pop ebp
ret