Function at 0x554a80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc117
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x692c00]
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.004481f0
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 4], 0
call fcn.00436dd0
mov ecx, ebx
call fcn.00402fb0
cmp eax, 0x20
je 0x554b28
mov eax, dword [edi]
mov ecx, edi
push str.ARSS_only_supports_SHA256_for_now...
call dword [eax + 0x14]
mov ecx, ebx
call fcn.00402fb0
push eax
push str.hashSize
mov ecx, edi
call fcn.00448f10
xor bl, bl
jmp 0x555587
push 0x138
lea eax, [ebp - 0x184]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x184]
call fcn.00449bd0
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.00482d00
test al, al
je 0x55556e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.typeOtpAuth
call fcn.00482d00
test al, al
je 0x55556e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push 0x6136e4
call fcn.00482d00
test al, al
je 0x55556e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.userPWD
call fcn.00482d00
test al, al
je 0x55556e
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.certID
call fcn.00482d00
test al, al
je 0x55556e
push 0x74
lea eax, [ebp - 0x554]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x554]
call fcn.0042aaf0
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.004835c0
lea ecx, [ebp - 0x554]
call fcn.00433740
push 0x74
lea eax, [ebp - 0x3f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3f8]
call fcn.0042aaf0
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.004835c0
lea ecx, [ebp - 0x3f8]
call fcn.00433740
push 0x74
lea eax, [ebp - 0x384]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x384]
call fcn.0042aaf0
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x384]
mov ecx, esi
push eax
push 0x6136e4
call fcn.004835c0
lea ecx, [ebp - 0x384]
call fcn.00433740
push 0x74
lea eax, [ebp - 0x310]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.0042aaf0
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.004835c0
lea ecx, [ebp - 0x310]
call fcn.00433740
push 0x74
lea eax, [ebp - 0x4e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4e0]
call fcn.0042aaf0
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.004835c0
lea ecx, [ebp - 0x4e0]
call fcn.00433740
call fcn.0046a420
mov ebx, eax
test ebx, ebx
jne 0x554d55
xor bl, bl
jmp 0x555102
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.004085a0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0040a2c0
push str.s:Envelope
mov ecx, ebx
call fcn.0046d300
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.00469920
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.0046dd20
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.0046dd20
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.0046dd20
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x5d2528
push str.xmlns
push 1
push str.s:BodyopensessionIdentity
call fcn.0046dd20
lea ecx, [ebp - 0x554]
call fcn.0042f610
push eax
push str.s:BodyopensessionIdentityotpPwd
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x3f8]
call fcn.0042f610
push eax
push str.s:BodyopensessionIdentitytypeOtpAuth
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x384]
call fcn.0042f610
push eax
push str.s:BodyopensessionIdentityuser
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x310]
call fcn.0042f610
push eax
push str.s:BodyopensessionIdentityuserPWD
mov ecx, ebx
call fcn.0046e1d0
call fcn.0041d260
mov esi, eax
mov dword [ebp - 0x76c], esi
test esi, esi
jne 0x554e8a
xor bl, bl
jmp 0x5550fa
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.004085a0
lea eax, [esi + 0x8dc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a2c0
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_opensessionRequest
push str.SOAPAction
call fcn.004262a0
push 1
mov ecx, ebx
call fcn.0046d1b0
push 0x118
lea eax, [ebp - 0x754]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x754]
call fcn.00403910
lea eax, [ebp - 0x754]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.00469260
push 0x74
lea eax, [ebp - 0x63c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x63c]
call fcn.0042aaf0
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.0041fc40
mov esi, eax
mov dword [ebp - 0x764], esi
test esi, esi
je 0x5550da
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004085a0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.0040a2c0
call fcn.0046a420
mov esi, eax
mov dword [ebp - 0x758], esi
test esi, esi
je 0x5550d2
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004085a0
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0040a2c0
mov ecx, dword [ebp - 0x764]
push esi
call fcn.0040c880
mov ecx, dword [ebp - 0x764]
call fcn.0040cf00
mov esi, eax
mov ecx, edi
push esi
push str.opensession_status_code
call fcn.00448a10
cmp esi, 0xc8
je 0x55503e
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403910
mov ecx, dword [ebp - 0x758]
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00469260
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.00448f80
jmp 0x5550b3
mov esi, dword [ebp - 0x758]
lea eax, [ebp - 0x63c]
push 0
push eax
push str.S:Bodyns2:opensessionResponsereturn
mov ecx, esi
call fcn.0046ae60
test al, al
jne 0x55513e
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403910
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.00469260
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.00448f80
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.004039a0
lea ecx, [ebp - 0x1c]
call fcn.00408650
lea ecx, [ebp - 0x28]
call fcn.00408650
xor bl, bl
lea ecx, [ebp - 0x63c]
call fcn.0042ab40
lea ecx, [ebp - 0x754]
call fcn.004039a0
lea ecx, [ebp - 0x34]
call fcn.00408650
lea ecx, [ebp - 0x40]
call fcn.00408650
lea ecx, [ebp - 0x4e0]
call fcn.0042ab40
lea ecx, [ebp - 0x310]
call fcn.0042ab40
lea ecx, [ebp - 0x384]
call fcn.0042ab40
lea ecx, [ebp - 0x3f8]
call fcn.0042ab40
lea ecx, [ebp - 0x554]
call fcn.0042ab40
jmp 0x55557c
lea ecx, [ebp - 0x1c]
call fcn.00408650
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00408650
mov ecx, dword [ebp - 0x768]
call fcn.00402fb0
push 0x74
lea eax, [ebp - 0x5c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5c8]
call fcn.0042aaf0
mov ecx, dword [ebp - 0x768]
lea eax, [ebp - 0x5c8]
push eax
push str.base64
mov byte [ebp - 4], 0xf
call fcn.00438910
mov ecx, ebx
call fcn.00468a70
push str.s:Envelope
mov ecx, ebx
call fcn.0046d300
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.00469920
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.0046dd20
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.0046dd20
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.0046dd20
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x5d2528
push str.xmlns
push 1
push str.s:BodysignhashSignHashRequest
call fcn.0046dd20
lea ecx, [ebp - 0x4e0]
call fcn.0042f610
push eax
push str.s:BodysignhashSignHashRequestcertID
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x5c8]
call fcn.0042f610
push eax
push str.s:BodysignhashSignHashRequesthash
mov ecx, ebx
call fcn.0046e1d0
push str.SHA256
push str.s:BodysignhashSignHashRequesthashtype
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x3f8]
call fcn.0042f610
push eax
push str.s:BodysignhashSignHashRequestidentitytypeOtpAuth
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x384]
call fcn.0042f610
push eax
push str.s:BodysignhashSignHashRequestidentityuser
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x310]
call fcn.0042f610
push eax
push str.s:BodysignhashSignHashRequestidentityuserPWD
mov ecx, ebx
call fcn.0046e1d0
push str.false
push str.s:BodysignhashSignHashRequestrequirecert
mov ecx, ebx
call fcn.0046e1d0
lea ecx, [ebp - 0x63c]
call fcn.0042f610
push eax
push str.s:BodysignhashSignHashRequestsession_id
mov ecx, ebx
call fcn.0046e1d0
mov ecx, dword [ebp - 0x76c]
lea eax, [ebp - 0x184]
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_signhashRequest
push str.SOAPAction
call fcn.004262a0
push 1
mov ecx, ebx
call fcn.0046d1b0
lea ecx, [ebp - 0x754]
call fcn.004049b0
lea eax, [ebp - 0x754]
mov ecx, ebx
push eax
call fcn.00469260
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.0041fc40
mov esi, eax
test esi, esi
je 0x555503
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004085a0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.0040a2c0
call fcn.0046a420
mov ebx, eax
test ebx, ebx
je 0x5554fb
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004085a0
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.0040a2c0
push ebx
mov ecx, esi
call fcn.0040c880
mov ecx, esi
call fcn.0040cf00
mov esi, eax
mov ecx, edi
push esi
push str.signhash_status_code
call fcn.00448a10
cmp esi, 0xc8
je 0x555440
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403910
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.00469260
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.00448f80
mov eax, dword [edi]
mov ecx, edi
push str.Failed.
call dword [eax + 0x14]
lea ecx, [ebp - 0x29c]
call fcn.004039a0
jmp 0x5554f3
push 0x74
lea eax, [ebp - 0x46c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x46c]
call fcn.0042aaf0
push 0
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0x13
push eax
push str.S:Bodyns2:signhashResponsereturnsignature
mov ecx, ebx
call fcn.0046ae60
test al, al
jne 0x555515
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.00403910
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, ebx
call fcn.00469260
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.00448f80
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.004039a0
lea ecx, [ebp - 0x46c]
call fcn.0042ab40
lea ecx, [ebp - 0x1c]
call fcn.00408650
lea ecx, [ebp - 0x28]
call fcn.00408650
lea ecx, [ebp - 0x5c8]
xor bl, bl
call fcn.0042ab40
jmp 0x5550dc
push str.base64
lea ecx, [ebp - 0x46c]
call fcn.0042f610
mov ecx, dword [ebp - 0x760]
push eax
call fcn.00435a90
lea ecx, [ebp - 0x46c]
call fcn.0042ab40
lea ecx, [ebp - 0x1c]
call fcn.00408650
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00408650
mov eax, dword [edi]
mov ecx, edi
push str.Success.
call dword [eax + 0x18]
lea ecx, [ebp - 0x5c8]
mov bl, 1
call fcn.0042ab40
jmp 0x5550dc
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.00449bf0
lea ecx, [ebp - 0x4c]
call fcn.004482f0
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.005b34c8
mov esp, ebp
pop ebp
ret