Function at 0x409bec
Capabilities:
Check http status code

Disassembly:
push 0x98
mov eax, 0x43369c
call fcn.004327ed
mov esi, edx
mov edi, ecx
mov dword [ebp - 0xa4], edi
xor ebx, ebx
mov dword [ebp - 0x34], 7
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], ebx
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1613]
pop ecx
pop ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00409b5e
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x4391f4
push eax
push ecx
push ecx
mov ecx, 0x115d7d0
mov dword [ebp - 0x78], str.Information
mov dword [ebp - 0x74], str.Result_of_attempt_to_create_the_Http_request
call fcn.0040aacd
lea ecx, [ebp - 0x28]
call fcn.004057fa
cmp dword [ebp - 0x8c], ebx
je 0x409ca0
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x40a2ff
mov dword [ebp - 0x6c], ebx
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40a2ff
mov dword [ebp - 0x70], ebx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_1_1]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x8c]
push eax
call fcn.00409b5e
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x4391f4
push eax
push ecx
push ecx
mov ecx, 0x115d7d1
mov dword [ebp - 0x78], str.Information
mov dword [ebp - 0x74], str.Result_of_attempt_to_create_the_Http_request_settings
call fcn.0040aacd
lea ecx, [ebp - 0x28]
call fcn.004057fa
cmp dword [ebp - 0x8c], 0
je 0x409d3c
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x409d33
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
jmp 0x40a2f0
cmp dword [esi + 0x14], 8
jb 0x409d44
mov esi, dword [esi]
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
push ebx
push dword [ebp - 0x70]
mov eax, dword [ecx]
push ebx
push esi
push 0x439b84
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00409b5e
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x78], str.Information
push eax
push ecx
push ecx
mov esi, 0x4391f4
mov dword [ebp - 0x74], str.Result_of_attempt_to_open_Http_Request
mov ecx, 0x115d7d2
mov dword [ebp - 0x7c], esi
call fcn.0040aacd
lea ecx, [ebp - 0x28]
call fcn.004057fa
cmp dword [ebp - 0x8c], 0
je 0x409de1
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x409dd8
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
jmp 0x40a2f0
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
push str.application_json
push str.Content_Type
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00409b5e
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], esi
push eax
push ecx
push ecx
mov ecx, 0x115d7d3
mov dword [ebp - 0x78], str.Information
mov dword [ebp - 0x74], str.Result_of_attempt_to_set_Http_Request_Header
call fcn.0040aacd
lea ecx, [ebp - 0x28]
call fcn.004057fa
cmp dword [ebp - 0x8c], 0
je 0x409e78
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x409e6f
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
jmp 0x40a2f0
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
push ebx
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00409b5e
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], esi
push eax
push ecx
push ecx
mov ecx, 0x115d7d4
mov dword [ebp - 0x78], str.Information
mov dword [ebp - 0x74], str.Result_of_attempt_to_send_blob_for_the_Http_request
call fcn.0040aacd
lea ecx, [ebp - 0x28]
call fcn.004057fa
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x1f4
push edx
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00409b5e
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], esi
push eax
push ecx
push ecx
mov ecx, 0x115d7d5
mov dword [ebp - 0x78], str.Information
mov dword [ebp - 0x74], str.Result_of_attempt_to_get_the_status_of_Http_request
call fcn.0040aacd
lea ecx, [ebp - 0x28]
call fcn.004057fa
cmp dword [ebp - 0x8c], 0
je 0x409f75
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x409f6c
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
jmp 0x40a2f0
cmp dword [ebp - 0x94], 0xc8
je 0x409ff7
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00409b5e
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x7c], 0x439760
push eax
push ecx
push ecx
mov dword [ebp - 0x78], str.Status
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str.Information
mov dword [ebp - 0x14], str.Could_not_get_the_status_of_Http_request
call fcn.0040ab2a
lea ecx, [ebp - 0x60]
call fcn.004057fa
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x409fee
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
jmp 0x40a2f0
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x90]
mov ecx, dword [ebp - 0x6c]
push edx
mov dword [ebp - 0x90], ebx
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00409b5e
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push ecx
push ecx
mov ecx, 0x115d7d7
mov dword [ebp - 0x18], str.Information
mov dword [ebp - 0x14], str.Result_of_attempt_to_response_blob_for_the_Http_request_to_get_response_size
call fcn.0040aacd
lea ecx, [ebp - 0x60]
call fcn.004057fa
cmp dword [ebp - 0x8c], 2
mov esi, dword [ebp - 0x90]
jne 0x40a271
test esi, esi
je 0x40a271
lea eax, [ebp - 0xa0]
push eax
push esi
mov ecx, eax
call fcn.0040acae
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x90]
push edx
push dword [ebp - 0xa0]
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0xa4], ebx
call fcn.00409b5e
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4391f4
push eax
push ecx
push ecx
mov ecx, 0x115d7d8
mov dword [ebp - 0x18], str.Information
mov dword [ebp - 0x14], str.Result_of_attempt_to_response_blob_for_the_Http_request_to_get_response
call fcn.0040aacd
lea ecx, [ebp - 0x60]
call fcn.004057fa
cmp dword [ebp - 0x8c], 0
je 0x40a1c3
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00409b5e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x439200
push ecx
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], str.BlobSize
push eax
push ecx
push ecx
mov ecx, 0x115d7d9
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x7c], 0x4391f4
mov dword [ebp - 0x78], str.Information
mov dword [ebp - 0x74], str.Failed_to_retrieve_Config_Data
call fcn.0040ab90
lea ecx, [ebp - 0x60]
call fcn.004057fa
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
lea ecx, [ebp - 0xa0]
call fcn.0040a6d7
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x40a1ab
and dword [ebp - 0x70], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x40a2ff
and dword [ebp - 0x6c], 0
jmp 0x40a2fa
xor eax, eax
push eax
push eax
push dword [ebp - 0x90]
push ebx
mov ebx, dword [sym.imp.Mso20Win32Client.dll_Ordinal_1606]
push eax
push 0xfde9
call ebx
mov esi, eax
test esi, esi
jle 0x40a20f
push 0
push esi
lea ecx, [ebp - 0x48]
call fcn.004051cc
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
push esi
cmovae ecx, dword [ebp - 0x48]
push ecx
push dword [ebp - 0x90]
push dword [ebp - 0xa4]
push 0
push 0xfde9
call ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4391f4
push eax
push str.RedemptionService::Config::Details::GetConfigData
push 0x32
mov edx, 0x61d
mov dword [ebp - 0x18], str.Information
mov ecx, 0x115d7da
mov dword [ebp - 0x14], str.Config_Data_retrieved_successfully
call fcn.0040a95e
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
lea ecx, [ebp - 0xa0]
call fcn.0040a6d7
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x40a268
and dword [ebp - 0x70], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
jmp 0x40a1af
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00409b5e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x439200
push ecx
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x18], str.BlobSize
push eax
push ecx
push ecx
mov ecx, 0x115d7db
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x7c], 0x4391f4
mov dword [ebp - 0x78], str.Warning
mov dword [ebp - 0x74], str.Empty_http_response_or_getting_the_response_failed
call fcn.0040ab90
lea ecx, [ebp - 0x60]
call fcn.004057fa
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0040540f
lea ecx, [ebp - 0xa0]
call fcn.0040a6d7
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x40a2ec
mov dword [ebp - 0x70], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x40a2ff
mov dword [ebp - 0x6c], ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x48]
call fcn.004057fa
mov eax, edi
call fcn.004327a2
ret