Function at 0x564a40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6357a7
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x717f80]
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.004b2490
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 4], 0
call fcn.004a0bb0
mov ecx, ebx
call fcn.0046e290
cmp eax, 0x20
je 0x564ae8
mov eax, dword [edi]
mov ecx, edi
push str.ARSS_only_supports_SHA256_for_now...
call dword [eax + 0x14]
mov ecx, ebx
call fcn.0046e290
push eax
push str.hashSize
mov ecx, edi
call fcn.004b3290
xor bl, bl
jmp 0x565547
push 0x138
lea eax, [ebp - 0x184]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x184]
call fcn.004b2580
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.00475c20
test al, al
je 0x56552e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.typeOtpAuth
call fcn.00475c20
test al, al
je 0x56552e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push 0x6dcd74
call fcn.00475c20
test al, al
je 0x56552e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.userPWD
call fcn.00475c20
test al, al
je 0x56552e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.certID
call fcn.00475c20
test al, al
je 0x56552e
push 0x74
lea eax, [ebp - 0x554]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x554]
call fcn.00494a40
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.004765b0
lea ecx, [ebp - 0x554]
call fcn.0049d520
push 0x74
lea eax, [ebp - 0x3f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3f8]
call fcn.00494a40
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.004765b0
lea ecx, [ebp - 0x3f8]
call fcn.0049d520
push 0x74
lea eax, [ebp - 0x384]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x384]
call fcn.00494a40
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x384]
mov ecx, esi
push eax
push 0x6dcd74
call fcn.004765b0
lea ecx, [ebp - 0x384]
call fcn.0049d520
push 0x74
lea eax, [ebp - 0x310]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.00494a40
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.004765b0
lea ecx, [ebp - 0x310]
call fcn.0049d520
push 0x74
lea eax, [ebp - 0x4e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4e0]
call fcn.00494a40
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.004765b0
lea ecx, [ebp - 0x4e0]
call fcn.0049d520
call fcn.004d47e0
mov ebx, eax
test ebx, ebx
jne 0x564d15
xor bl, bl
jmp 0x5650c2
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.0046daa0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00470840
push str.s:Envelope
mov ecx, ebx
call fcn.004d76b0
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.004d3ce0
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.004d80d0
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.004d80d0
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.004d80d0
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x6dcd69
push str.xmlns
push 1
push str.s:BodyopensessionIdentity
call fcn.004d80d0
lea ecx, [ebp - 0x554]
call fcn.00499300
push eax
push str.s:BodyopensessionIdentityotpPwd
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x3f8]
call fcn.00499300
push eax
push str.s:BodyopensessionIdentitytypeOtpAuth
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x384]
call fcn.00499300
push eax
push str.s:BodyopensessionIdentityuser
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x310]
call fcn.00499300
push eax
push str.s:BodyopensessionIdentityuserPWD
mov ecx, ebx
call fcn.004d8580
call fcn.0048ac40
mov esi, eax
mov dword [ebp - 0x76c], esi
test esi, esi
jne 0x564e4a
xor bl, bl
jmp 0x5650ba
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.0046daa0
lea eax, [esi + 0x8dc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call fcn.00470840
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_opensessionRequest
push str.SOAPAction
call fcn.00490ab0
push 1
mov ecx, ebx
call fcn.004d7560
push 0x118
lea eax, [ebp - 0x754]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x754]
call fcn.00468d60
lea eax, [ebp - 0x754]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.004d3620
push 0x74
lea eax, [ebp - 0x63c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x63c]
call fcn.00494a40
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.0048d600
mov esi, eax
mov dword [ebp - 0x764], esi
test esi, esi
je 0x56509a
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.0046daa0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00470840
call fcn.004d47e0
mov esi, eax
mov dword [ebp - 0x758], esi
test esi, esi
je 0x565092
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.0046daa0
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00470840
mov ecx, dword [ebp - 0x764]
push esi
call fcn.004728a0
mov ecx, dword [ebp - 0x764]
call fcn.00472f50
mov esi, eax
mov ecx, edi
push esi
push str.opensession_status_code
call fcn.004b2d90
cmp esi, 0xc8
je 0x564ffe
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00468d60
mov ecx, dword [ebp - 0x758]
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 0xd
call fcn.004d3620
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.004b3300
jmp 0x565073
mov esi, dword [ebp - 0x758]
lea eax, [ebp - 0x63c]
push 0
push eax
push str.S:Bodyns2:opensessionResponsereturn
mov ecx, esi
call fcn.004d5220
test al, al
jne 0x5650fe
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00468d60
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.004d3620
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.004b3300
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.00468df0
lea ecx, [ebp - 0x1c]
call fcn.0046db50
lea ecx, [ebp - 0x28]
call fcn.0046db50
xor bl, bl
lea ecx, [ebp - 0x63c]
call fcn.00494a90
lea ecx, [ebp - 0x754]
call fcn.00468df0
lea ecx, [ebp - 0x34]
call fcn.0046db50
lea ecx, [ebp - 0x40]
call fcn.0046db50
lea ecx, [ebp - 0x4e0]
call fcn.00494a90
lea ecx, [ebp - 0x310]
call fcn.00494a90
lea ecx, [ebp - 0x384]
call fcn.00494a90
lea ecx, [ebp - 0x3f8]
call fcn.00494a90
lea ecx, [ebp - 0x554]
call fcn.00494a90
jmp 0x56553c
lea ecx, [ebp - 0x1c]
call fcn.0046db50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0046db50
mov ecx, dword [ebp - 0x768]
call fcn.0046e290
push 0x74
lea eax, [ebp - 0x5c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5c8]
call fcn.00494a40
mov ecx, dword [ebp - 0x768]
lea eax, [ebp - 0x5c8]
push eax
push str.base64
mov byte [ebp - 4], 0xf
call fcn.004a26b0
mov ecx, ebx
call fcn.004d2e30
push str.s:Envelope
mov ecx, ebx
call fcn.004d76b0
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.004d3ce0
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.004d80d0
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.004d80d0
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.004d80d0
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x6dcd69
push str.xmlns
push 1
push str.s:BodysignhashSignHashRequest
call fcn.004d80d0
lea ecx, [ebp - 0x4e0]
call fcn.00499300
push eax
push str.s:BodysignhashSignHashRequestcertID
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x5c8]
call fcn.00499300
push eax
push str.s:BodysignhashSignHashRequesthash
mov ecx, ebx
call fcn.004d8580
push str.SHA256
push str.s:BodysignhashSignHashRequesthashtype
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x3f8]
call fcn.00499300
push eax
push str.s:BodysignhashSignHashRequestidentitytypeOtpAuth
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x384]
call fcn.00499300
push eax
push str.s:BodysignhashSignHashRequestidentityuser
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x310]
call fcn.00499300
push eax
push str.s:BodysignhashSignHashRequestidentityuserPWD
mov ecx, ebx
call fcn.004d8580
push str.false
push str.s:BodysignhashSignHashRequestrequirecert
mov ecx, ebx
call fcn.004d8580
lea ecx, [ebp - 0x63c]
call fcn.00499300
push eax
push str.s:BodysignhashSignHashRequestsession_id
mov ecx, ebx
call fcn.004d8580
mov ecx, dword [ebp - 0x76c]
lea eax, [ebp - 0x184]
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_signhashRequest
push str.SOAPAction
call fcn.00490ab0
push 1
mov ecx, ebx
call fcn.004d7560
lea ecx, [ebp - 0x754]
call fcn.00469e00
lea eax, [ebp - 0x754]
mov ecx, ebx
push eax
call fcn.004d3620
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.0048d600
mov esi, eax
test esi, esi
je 0x5654c3
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.0046daa0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.00470840
call fcn.004d47e0
mov ebx, eax
test ebx, ebx
je 0x5654bb
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.0046daa0
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00470840
push ebx
mov ecx, esi
call fcn.004728a0
mov ecx, esi
call fcn.00472f50
mov esi, eax
mov ecx, edi
push esi
push str.signhash_status_code
call fcn.004b2d90
cmp esi, 0xc8
je 0x565400
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00468d60
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.004d3620
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.004b3300
mov eax, dword [edi]
mov ecx, edi
push str.Failed.
call dword [eax + 0x14]
lea ecx, [ebp - 0x29c]
call fcn.00468df0
jmp 0x5654b3
push 0x74
lea eax, [ebp - 0x46c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x46c]
call fcn.00494a40
push 0
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0x13
push eax
push str.S:Bodyns2:signhashResponsereturnsignature
mov ecx, ebx
call fcn.004d5220
test al, al
jne 0x5654d5
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00468d60
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, ebx
call fcn.004d3620
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.004b3300
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.00468df0
lea ecx, [ebp - 0x46c]
call fcn.00494a90
lea ecx, [ebp - 0x1c]
call fcn.0046db50
lea ecx, [ebp - 0x28]
call fcn.0046db50
lea ecx, [ebp - 0x5c8]
xor bl, bl
call fcn.00494a90
jmp 0x56509c
push str.base64
lea ecx, [ebp - 0x46c]
call fcn.00499300
mov ecx, dword [ebp - 0x760]
push eax
call fcn.0049f7b0
lea ecx, [ebp - 0x46c]
call fcn.00494a90
lea ecx, [ebp - 0x1c]
call fcn.0046db50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.0046db50
mov eax, dword [edi]
mov ecx, edi
push str.Success.
call dword [eax + 0x18]
lea ecx, [ebp - 0x5c8]
mov bl, 1
call fcn.00494a90
jmp 0x56509c
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.004b26a0
lea ecx, [ebp - 0x4c]
call fcn.004b2630
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.00622073
mov esp, ebp
pop ebp
ret