Function at 0x551700
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8057
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.00447f50
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 4], 0
call fcn.00436b40
mov ecx, ebx
call fcn.00402f80
cmp eax, 0x20
je 0x5517a8
mov eax, dword [edi]
mov ecx, edi
push str.ARSS_only_supports_SHA256_for_now...
call dword [eax + 0x14]
mov ecx, ebx
call fcn.00402f80
push eax
push str.hashSize
mov ecx, edi
call fcn.00448c70
xor bl, bl
jmp 0x552207
push 0x138
lea eax, [ebp - 0x184]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x184]
call fcn.00449930
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.004827b0
test al, al
je 0x5521ee
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.typeOtpAuth
call fcn.004827b0
test al, al
je 0x5521ee
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push 0x60e2b4
call fcn.004827b0
test al, al
je 0x5521ee
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.userPWD
call fcn.004827b0
test al, al
je 0x5521ee
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.certID
call fcn.004827b0
test al, al
je 0x5521ee
push 0x74
lea eax, [ebp - 0x554]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x554]
call fcn.0042a910
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.00483070
lea ecx, [ebp - 0x554]
call fcn.004334b0
push 0x74
lea eax, [ebp - 0x3f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3f8]
call fcn.0042a910
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.00483070
lea ecx, [ebp - 0x3f8]
call fcn.004334b0
push 0x74
lea eax, [ebp - 0x384]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x384]
call fcn.0042a910
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x384]
mov ecx, esi
push eax
push 0x60e2b4
call fcn.00483070
lea ecx, [ebp - 0x384]
call fcn.004334b0
push 0x74
lea eax, [ebp - 0x310]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.0042a910
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.00483070
lea ecx, [ebp - 0x310]
call fcn.004334b0
push 0x74
lea eax, [ebp - 0x4e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4e0]
call fcn.0042a910
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.00483070
lea ecx, [ebp - 0x4e0]
call fcn.004334b0
call fcn.00468bc0
mov ebx, eax
test ebx, ebx
jne 0x5519d5
xor bl, bl
jmp 0x551d82
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x40], xmm0
call fcn.00408470
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0040a190
push str.s:Envelope
mov ecx, ebx
call fcn.0046baa0
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.004680c0
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.0046c4c0
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.0046c4c0
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.0046c4c0
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x5cd528
push str.xmlns
push 1
push str.s:BodyopensessionIdentity
call fcn.0046c4c0
lea ecx, [ebp - 0x554]
call fcn.0042f430
push eax
push str.s:BodyopensessionIdentityotpPwd
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x3f8]
call fcn.0042f430
push eax
push str.s:BodyopensessionIdentitytypeOtpAuth
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x384]
call fcn.0042f430
push eax
push str.s:BodyopensessionIdentityuser
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x310]
call fcn.0042f430
push eax
push str.s:BodyopensessionIdentityuserPWD
mov ecx, ebx
call fcn.0046c970
call fcn.0041d060
mov esi, eax
mov dword [ebp - 0x76c], esi
test esi, esi
jne 0x551b0a
xor bl, bl
jmp 0x551d7a
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.00408470
lea eax, [esi + 0x8dc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a190
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_opensessionRequest
push str.SOAPAction
call fcn.004260c0
push 1
mov ecx, ebx
call fcn.0046b950
push 0x118
lea eax, [ebp - 0x754]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x754]
call fcn.004038e0
lea eax, [ebp - 0x754]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.00467a00
push 0x74
lea eax, [ebp - 0x63c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x63c]
call fcn.0042a910
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.0041fa40
mov esi, eax
mov dword [ebp - 0x764], esi
test esi, esi
je 0x551d5a
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00408470
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.0040a190
call fcn.00468bc0
mov esi, eax
mov dword [ebp - 0x758], esi
test esi, esi
je 0x551d52
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00408470
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0040a190
mov ecx, dword [ebp - 0x764]
push esi
call fcn.0040c750
mov ecx, dword [ebp - 0x764]
call fcn.0040cdd0
mov esi, eax
mov ecx, edi
push esi
push str.opensession_status_code
call fcn.00448770
cmp esi, 0xc8
je 0x551cbe
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.004038e0
mov ecx, dword [ebp - 0x758]
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00467a00
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.00448ce0
jmp 0x551d33
mov esi, dword [ebp - 0x758]
lea eax, [ebp - 0x63c]
push 0
push eax
push str.S:Bodyns2:opensessionResponsereturn
mov ecx, esi
call fcn.00469600
test al, al
jne 0x551dbe
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.004038e0
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.00467a00
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.opensession_response
call fcn.00448ce0
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.00403970
lea ecx, [ebp - 0x1c]
call fcn.00408520
lea ecx, [ebp - 0x28]
call fcn.00408520
xor bl, bl
lea ecx, [ebp - 0x63c]
call fcn.0042a960
lea ecx, [ebp - 0x754]
call fcn.00403970
lea ecx, [ebp - 0x34]
call fcn.00408520
lea ecx, [ebp - 0x40]
call fcn.00408520
lea ecx, [ebp - 0x4e0]
call fcn.0042a960
lea ecx, [ebp - 0x310]
call fcn.0042a960
lea ecx, [ebp - 0x384]
call fcn.0042a960
lea ecx, [ebp - 0x3f8]
call fcn.0042a960
lea ecx, [ebp - 0x554]
call fcn.0042a960
jmp 0x5521fc
lea ecx, [ebp - 0x1c]
call fcn.00408520
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00408520
mov ecx, dword [ebp - 0x768]
call fcn.00402f80
push 0x74
lea eax, [ebp - 0x5c8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5c8]
call fcn.0042a910
mov ecx, dword [ebp - 0x768]
lea eax, [ebp - 0x5c8]
push eax
push str.base64
mov byte [ebp - 4], 0xf
call fcn.00438670
mov ecx, ebx
call fcn.00467210
push str.s:Envelope
mov ecx, ebx
call fcn.0046baa0
push str.http:__schemas.xmlsoap.org_soap_envelope_
push str.xmlns:s
mov ecx, ebx
call fcn.004680c0
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.0046c4c0
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.0046c4c0
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.0046c4c0
lea eax, [ebp - 0x184]
mov ecx, ebx
push eax
push 0x5cd528
push str.xmlns
push 1
push str.s:BodysignhashSignHashRequest
call fcn.0046c4c0
lea ecx, [ebp - 0x4e0]
call fcn.0042f430
push eax
push str.s:BodysignhashSignHashRequestcertID
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x5c8]
call fcn.0042f430
push eax
push str.s:BodysignhashSignHashRequesthash
mov ecx, ebx
call fcn.0046c970
push str.SHA256
push str.s:BodysignhashSignHashRequesthashtype
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x3f8]
call fcn.0042f430
push eax
push str.s:BodysignhashSignHashRequestidentitytypeOtpAuth
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x384]
call fcn.0042f430
push eax
push str.s:BodysignhashSignHashRequestidentityuser
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x310]
call fcn.0042f430
push eax
push str.s:BodysignhashSignHashRequestidentityuserPWD
mov ecx, ebx
call fcn.0046c970
push str.false
push str.s:BodysignhashSignHashRequestrequirecert
mov ecx, ebx
call fcn.0046c970
lea ecx, [ebp - 0x63c]
call fcn.0042f430
push eax
push str.s:BodysignhashSignHashRequestsession_id
mov ecx, ebx
call fcn.0046c970
mov ecx, dword [ebp - 0x76c]
lea eax, [ebp - 0x184]
push eax
push str.http:__arubasignservice.arubapec.it_ArubaSignService_signhashRequest
push str.SOAPAction
call fcn.004260c0
push 1
mov ecx, ebx
call fcn.0046b950
lea ecx, [ebp - 0x754]
call fcn.00404980
lea eax, [ebp - 0x754]
mov ecx, ebx
push eax
call fcn.00467a00
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.0041fa40
mov esi, eax
test esi, esi
je 0x552183
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.00408470
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.0040a190
call fcn.00468bc0
mov ebx, eax
test ebx, ebx
je 0x55217b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00408470
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.0040a190
push ebx
mov ecx, esi
call fcn.0040c750
mov ecx, esi
call fcn.0040cdd0
mov esi, eax
mov ecx, edi
push esi
push str.signhash_status_code
call fcn.00448770
cmp esi, 0xc8
je 0x5520c0
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.004038e0
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.00467a00
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.00448ce0
mov eax, dword [edi]
mov ecx, edi
push str.Failed.
call dword [eax + 0x14]
lea ecx, [ebp - 0x29c]
call fcn.00403970
jmp 0x552173
push 0x74
lea eax, [ebp - 0x46c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x46c]
call fcn.0042a910
push 0
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0x13
push eax
push str.S:Bodyns2:signhashResponsereturnsignature
mov ecx, ebx
call fcn.00469600
test al, al
jne 0x552195
push 0x118
lea eax, [ebp - 0x29c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x29c]
call fcn.004038e0
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x14
push eax
mov ecx, ebx
call fcn.00467a00
lea eax, [ebp - 0x29c]
mov ecx, edi
push eax
push str.signhash_response
call fcn.00448ce0
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.00403970
lea ecx, [ebp - 0x46c]
call fcn.0042a960
lea ecx, [ebp - 0x1c]
call fcn.00408520
lea ecx, [ebp - 0x28]
call fcn.00408520
lea ecx, [ebp - 0x5c8]
xor bl, bl
call fcn.0042a960
jmp 0x551d5c
push str.base64
lea ecx, [ebp - 0x46c]
call fcn.0042f430
mov ecx, dword [ebp - 0x760]
push eax
call fcn.00435800
lea ecx, [ebp - 0x46c]
call fcn.0042a960
lea ecx, [ebp - 0x1c]
call fcn.00408520
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00408520
mov eax, dword [edi]
mov ecx, edi
push str.Success.
call dword [eax + 0x18]
lea ecx, [ebp - 0x5c8]
mov bl, 1
call fcn.0042a960
jmp 0x551d5c
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.00449950
lea ecx, [ebp - 0x4c]
call fcn.00448050
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.005af618
mov esp, ebp
pop ebp
ret