Function at 0x434ae3
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47126b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x29b8
call fcn.004491b0
mov eax, dword [0x49d3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2944], eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x2939], al
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x295c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x294c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2948], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2940], esi
mov dword [ebp - 0x296c], edi
mov dword [ebp - 0x2968], eax
mov edx, dword [0x4f0d38]
xor ebx, ebx
inc edx
mov dword [ebp - 4], ebx
mov dword [0x4f0d38], edx
cmp byte [0x49d07a], bl
je 0x434bff
cmp dword [edi + 0x14], 0x10
jb 0x434b8f
mov eax, dword [edi]
mov dword [ebp - 0x2954], eax
jmp 0x434b95
mov dword [ebp - 0x2954], edi
cmp dword [esi + 0x14], 0x10
jb 0x434ba5
mov eax, dword [esi]
mov dword [ebp - 0x2950], eax
jmp 0x434bab
mov dword [ebp - 0x2950], esi
xor eax, eax
mov ecx, str._passed_as_null_
cmp dword [ebp + 0x28], eax
setne al
cmp dword [ebp - 0x294c], ebx
push eax
mov eax, ecx
cmovne eax, dword [ebp - 0x294c]
push eax
push dword [ebp - 0x2954]
movzx eax, byte [ebp - 0x2939]
push dword [ebp - 0x2950]
push eax
mov eax, dword [ebp - 0x2944]
test eax, eax
cmovne ecx, eax
movzx eax, byte [0x49d07a]
push ecx
push edx
push str.httpWinInet_requestId_d_method_s_useHttps_d_host_s_path_s_contentType_s___progress_d
push eax
call fcn.004107df
add esp, 0x24
lea ecx, [ebp - 0x2938]
call fcn.0042b023
push 2
lea ecx, [ebp - 0x2938]
call fcn.0042b655
cmp byte [0x4f0cea], bl
jne 0x434c59
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.0040ea18
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x434c36
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x2938]
call fcn.0042af32
push ebx
push 1
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x2950], eax
call fcn.00408c0b
jmp 0x434c65
mov eax, dword [ebp - 0x2968]
mov dword [ebp - 0x2950], eax
push ebx
push ebx
push ebx
push ebx
push 0x47d960
call dword [0x473488]
mov ebx, eax
mov dword [ebp - 0x2970], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x434cea
cmp dword [edi + 0x14], 0x10
jb 0x434c8c
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x434c94
mov esi, dword [esi]
call dword [0x473100]
push eax
push edi
push esi
push dword [ebp - 0x2944]
lea eax, [ebp - 0x444]
push str.InternetOpen_failed_for__s_http:___s_s__Error_Code:__d
push eax
call fcn.0040ebe6
add esp, 0x18
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x434cc3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2980]
call fcn.00404389
mov dword [ebp - 0x2980], 0x473b10
lea eax, [ebp - 0x2980]
push 0x493744
push eax
call fcn.0044b604
cmp byte [0x4f0cea], 0
je 0x434d57
cmp byte [ebp - 0x2939], 0
mov ecx, 0x1bb
push 0x50
pop eax
cmovne eax, ecx
movzx eax, ax
mov dword [ebp - 0x2958], eax
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.0040ea18
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x434d25
mov eax, dword [eax]
xor edi, edi
push edi
push edi
push 3
push edi
push edi
push dword [ebp - 0x2958]
push eax
push ebx
call dword [0x473480]
push edi
push 1
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x2960], eax
call fcn.00408c0b
mov eax, dword [ebp - 0x2958]
jmp 0x434dcf
cmp dword [ebp - 0x2950], 0
je 0x434d87
xor edi, edi
lea eax, [ebp - 0x28f6]
push edi
push edi
push 3
push edi
push edi
push dword [ebp - 0x4ec]
push eax
push ebx
call dword [0x473480]
push 0x50
mov dword [ebp - 0x2960], eax
pop eax
jmp 0x434dc9
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.0040ea18
pop ecx
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x434da0
mov ecx, dword [ecx]
push 1
xor edi, edi
push edi
push 3
push edi
push edi
push 0x50
pop eax
push eax
push ecx
push ebx
call dword [0x473480]
push edi
push 1
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x2960], eax
call fcn.00408c0b
mov eax, dword [ebp - 0x2964]
mov ecx, dword [ebp - 0x2960]
mov dword [ebp - 0x2974], ecx
mov byte [ebp - 4], 3
test ecx, ecx
jne 0x434e75
cmp byte [0x4f0cea], cl
je 0x434df4
movzx eax, ax
jmp 0x434e09
cmp dword [ebp - 0x2950], 0
je 0x434e06
movzx eax, word [ebp - 0x4ec]
jmp 0x434e09
push 0x50
pop eax
mov ebx, dword [ebp - 0x296c]
cmp dword [ebx + 0x14], 0x10
jb 0x434e17
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 0x10
jb 0x434e1f
mov esi, dword [esi]
push eax
call dword [0x473100]
push eax
push ebx
push esi
push dword [ebp - 0x2944]
lea eax, [ebp - 0x444]
push str.InternetConnect_failed_for__s_http:___s_s__Error_Code:__d__Port_Number:__d
push eax
call fcn.0040ebe6
add esp, 0x1c
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x434e4f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x298c]
call fcn.00404389
mov dword [ebp - 0x298c], 0x473b10
lea eax, [ebp - 0x298c]
push 0x493744
jmp 0x434ce4
push dword [ebp - 0x2944]
lea ecx, [ebp - 0x49c]
call fcn.004038f7
push dword [ebp - 0x296c]
lea eax, [ebp - 0x4cc]
mov byte [ebp - 4], 5
push eax
call fcn.0040ea18
mov esi, eax
lea eax, [ebp - 0x49c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x4b4]
push eax
call fcn.0040ea18
add esp, 0x10
mov ecx, eax
cmp dword [esi + 0x14], 8
jb 0x434ec2
mov esi, dword [esi]
cmp dword [ecx + 0x14], 8
jb 0x434eca
mov ecx, dword [ecx]
xor eax, eax
mov edx, 0x20c00010
cmp byte [0x4f0cea], al
sete al
cmp byte [ebp - 0x2939], 0
push eax
mov eax, 0x20400010
cmovne eax, edx
push eax
push edi
push edi
push edi
push esi
push ecx
push dword [ebp - 0x2960]
call dword [0x473478]
mov esi, eax
mov dword [ebp - 0x2950], esi
push edi
push 1
lea ecx, [ebp - 0x4b4]
call fcn.00408c0b
push edi
push 1
lea ecx, [ebp - 0x4cc]
call fcn.00408c0b
push edi
push 1
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 9
call fcn.00408bb6
test esi, esi
jne 0x434fa7
mov ebx, dword [ebp - 0x296c]
cmp dword [ebx + 0x14], 0x10
jb 0x434f44
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x2940]
cmp dword [esi + 0x14], 0x10
jb 0x434f52
mov esi, dword [esi]
call dword [0x473100]
push eax
push ebx
push esi
push dword [ebp - 0x2944]
lea eax, [ebp - 0x444]
push str.HttpOpenRequest_failed_for__s_http:___s_s__Error_Code:__d
push eax
call fcn.0040ebe6
add esp, 0x18
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x434f81
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2998]
call fcn.00404389
mov dword [ebp - 0x2998], 0x473b10
lea eax, [ebp - 0x2998]
push 0x493744
jmp 0x434ce4
mov eax, dword [ebp - 0x294c]
test eax, eax
je 0x435053
push eax
lea eax, [ebp - 0x484]
push str.Content_Type:__s_r_n
push eax
call fcn.0040ebe6
add esp, 0xc
push str.HttpAddRequestHeaders_failed
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0xb
call fcn.004038f7
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0040ea18
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x435003
mov eax, dword [eax]
lea ecx, [ebp - 0x46c]
push ecx
push 0x20000000
push dword [ebp - 0x474]
push eax
push esi
call dword [0x473498]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x42c]
call fcn.00408c0b
push edi
push 1
lea ecx, [ebp - 0x46c]
call fcn.00408bb6
push edi
push 1
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 9
call fcn.00408bb6
cmp byte [0x4f0cee], 0
je 0x4351be
mov eax, dword [ebp - 0x2948]
cmp dword [eax + 0x10], edi
je 0x4351be
push dword [0x49d0e4]
lea eax, [ebp - 0x46c]
push str.Cache_Control:_max_age_d_r_n
push eax
call fcn.0040ebe6
add esp, 0xc
push str.HttpAddRequestHeaders_failed
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xe
call fcn.004038f7
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.0040ea18
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x10
jb 0x4350c2
mov eax, dword [eax]
lea ecx, [ebp - 0x42c]
push ecx
push 0x20000000
push dword [ebp - 0x45c]
push eax
push esi
call dword [0x473498]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x444]
call fcn.00408c0b
push edi
push 1
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xe
call fcn.00408bb6
mov eax, dword [ebp - 0x2948]
cmp dword [eax + 0x14], 0x10
jb 0x435112
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x484]
push str.If_None_Match:___s__r_n
push eax
call fcn.0040ebe6
add esp, 0xc
push str.HttpAddRequestHeaders_failed
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x11
call fcn.004038f7
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.0040ea18
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x13
jb 0x435160
mov eax, dword [eax]
lea ecx, [ebp - 0x42c]
push ecx
push 0x20000000
push dword [ebp - 0x474]
push eax
push esi
call dword [0x473498]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x444]
call fcn.00408c0b
push edi
push 1
lea ecx, [ebp - 0x42c]
call fcn.00408bb6
push edi
push 1
lea ecx, [ebp - 0x484]
call fcn.00408bb6
push edi
push 1
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 9
call fcn.00408bb6
mov ecx, dword [ebp - 0x295c]
lea eax, [ebp - 0x42c]
push eax
call fcn.00415441
mov ecx, dword [ebp - 0x295c]
push 2
push edi
push edi
call fcn.0041515f
mov ecx, dword [ebp - 0x295c]
lea eax, [ebp - 0x46c]
push eax
call fcn.00415441
mov eax, dword [ebp - 0x464]
sub eax, dword [ebp - 0x424]
sub eax, dword [ebp - 0x42c]
add eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x295c]
push edi
push edi
push edi
mov dword [ebp - 0x2944], eax
call fcn.0041515f
cmp byte [0x4f0cea], 0
je 0x43526c
cmp byte [ebp - 0x2939], 0
je 0x43526c
lea eax, [ebp - 0x2940]
mov dword [ebp - 0x2940], 4
push eax
lea eax, [ebp - 0x294c]
push eax
push 0x1f
push esi
call dword [0x473474]
or dword [ebp - 0x294c], 0x1000
lea eax, [ebp - 0x294c]
push 4
push eax
push 0x1f
push esi
call dword [0x47347c]
mov eax, dword [ebp - 0x2944]
test eax, eax
jne 0x4352bb
push str.HttpSendRequest_failed
lea ecx, [ebp - 0x42c]
call fcn.004038f7
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x14
push eax
push edi
push edi
push edi
push edi
push esi
call dword [0x473470]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 9
call fcn.00408bb6
jmp 0x43541e
push eax
call fcn.0044f1f7
mov ebx, eax
pop ecx
mov dword [ebp - 0x2958], ebx
mov ecx, dword [ebp - 0x295c]
push edi
push dword [ebp - 0x2944]
mov byte [ebp - 4], 0x15
push ebx
call fcn.00414f3b
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x454]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2944]
xor edi, edi
push edi
push edi
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x454]
push edi
push eax
push esi
mov dword [ebp - 0x454], 0x28
call dword [0x47348c]
test eax, eax
jne 0x435345
push str.HttpSendRequestEx_failed
lea ecx, [ebp - 0x29a4]
call fcn.00404389
mov dword [ebp - 0x29a4], 0x473b10
lea eax, [ebp - 0x29a4]
push 0x493744
jmp 0x434ce4
push str.InternetWriteFile_failed
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x16
call fcn.004038f7
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2940]
push eax
push dword [ebp - 0x2944]
push ebx
push esi
call dword [0x473468]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x16
call fcn.00408bb6
mov eax, dword [ebp - 0x2944]
cmp dword [ebp - 0x2940], eax
je 0x4353cb
push str.Failed_to_upload_content
lea ecx, [ebp - 0x29b0]
call fcn.00404389
mov dword [ebp - 0x29b0], 0x473b10
lea eax, [ebp - 0x29b0]
push 0x493744
jmp 0x434ce4
push str.HttpEndRequest_failed
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0x15
call fcn.004038f7
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x19
push eax
push edi
push edi
push edi
push esi
call dword [0x473490]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x42c]
call fcn.00408bb6
push ebx
mov byte [ebp - 4], 9
call fcn.0044f1f2
mov ebx, dword [ebp - 0x2970]
pop ecx
push str.HttpQueryInfo_HTTP_QUERY_STATUS_CODE_failed
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x2940], 4
call fcn.004038f7
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x1a
push eax
push edi
lea eax, [ebp - 0x2940]
push eax
lea eax, [ebp - 0x2954]
push eax
push 0x20000013
push esi
call dword [0x473494]
push eax
call fcn.004155a9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 9
call fcn.00408bb6
push edi
lea eax, [ebp - 0x2940]
mov dword [ebp - 0x2964], edi
push eax
lea eax, [ebp - 0x2964]
mov dword [ebp - 0x2940], 4
push eax
push 0x20000005
push esi
call dword [0x473494]
cmp byte [0x4f0cee], 0
lea eax, [ebp - 0x2940]
push edi
mov dword [ebp - 0x2940], 0x100
push eax
je 0x435551
lea eax, [ebp - 0x214]
push eax
push 0x36
push esi
call dword [0x473494]
test eax, eax
je 0x4355bc
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00403973
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.0040eaab
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2948]
push eax
call fcn.00404de8
push edi
push 1
lea ecx, [ebp - 0x444]
call fcn.00408bb6
push edi
push 1
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 9
call fcn.00408c0b
mov ecx, dword [ebp - 0x2948]
cmp dword [ecx + 0x10], 2
jae 0x43558b
and dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x435549
mov ecx, dword [ecx]
mov byte [ecx], 0
jmp 0x4355d1
lea eax, [ebp - 0x114]
push eax
push 0x36
push esi
call dword [0x473494]
test eax, eax
je 0x4355bc
lea eax, [ebp - 0x114]
push eax
call fcn.0040aec8
pop ecx
mov ecx, dword [ebp - 0x2948]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004090ed
mov ecx, dword [ebp - 0x2948]
mov eax, dword [ecx + 0x10]
add eax, 0xfffffffe
push eax
push 1
lea eax, [ebp - 0x444]
push eax
call fcn.0040ef78
mov ecx, dword [ebp - 0x2948]
push eax
call fcn.00404de8
push edi
push 1
lea ecx, [ebp - 0x444]
call fcn.00408bb6
jmp 0x4355d1
mov eax, dword [ebp - 0x2948]
and dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x4355ce
mov eax, dword [eax]
mov byte [eax], 0
mov edi, dword [ebp - 0x2968]
push 0
push 0
lea eax, [ebp - 0x2958]
push eax
push esi
call dword [0x473464]
test eax, eax
jne 0x435601
cmp byte [0x4f0ce9], al
jne 0x43568e
mov dword [ebp - 0x2958], eax
jmp 0x435607
mov eax, dword [ebp - 0x2958]
test eax, eax
je 0x435698
push str.InternetReadFile_failed
lea ecx, [ebp - 0x42c]
call fcn.004038f7
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x294c]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call dword [0x47346c]
push eax
call fcn.004155a9
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 9
call fcn.00408bb6
push 0
push dword [ebp - 0x294c]
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
call fcn.00415d58
push dword [ebp - 0x2964]
lea ecx, [ebp + 0x28]
push dword [ebp - 0x294c]
call fcn.0043c4e8
jmp 0x4355d7
push str.InternetQueryDataAvailable_failed
call fcn.004155c8
cmp byte [0x4f0cea], 0
mov edi, dword [ebp - 0x2954]
je 0x4356b2
push edi
call fcn.004370cf
add esp, 4
jmp 0x4356bb
cmp edi, 0xc8
setne al
test al, al
je 0x435793
push 0
lea eax, [ebp - 0x2968]
mov dword [ebp - 0x2968], 0x200
push eax
lea eax, [ebp - 0x414]
push eax
push 0x14
push esi
call dword [0x473494]
test eax, eax
je 0x435747
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x444]
call fcn.00403973
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0040eaab
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1e
jb 0x435721
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x29bc]
call fcn.00404389
mov dword [ebp - 0x29bc], 0x473b10
lea eax, [ebp - 0x29bc]
push 0x493744
jmp 0x434ce4
push dword [ebp - 0x2954]
lea eax, [ebp - 0x444]
push str.statusCode___d
push eax
call fcn.0040ebe6
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x1f
jb 0x43576d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x29c8]
call fcn.00404389
mov dword [ebp - 0x29c8], 0x473b10
lea eax, [ebp - 0x29c8]
push 0x493744
jmp 0x434ce4
push esi
mov esi, dword [0x473484]
call esi
push dword [ebp - 0x2960]
call esi
push ebx
call esi
lea ecx, [ebp + 0x28]
mov dword [ebp - 4], 0x20
call fcn.00420dac
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044903f
mov esp, ebp
pop ebp
ret