Function at 0x41c3d3
Capabilities:
Check http status code

Disassembly:
push 0x68
mov eax, 0x438728
call fcn.00422682
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x38]
xor ebx, ebx
push ebx
push 3
push dword [ebp + 0x24]
mov dword [eax], ebx
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [eax]
push dword [ebp + 8]
call fcn.0041cb04
test eax, eax
jne 0x41cafc
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
mov dword [esi + 8], eax
mov dword [ebp - 0x64], 0x4475f0
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x1c]
movzx edi, byte [ebp + 0x30]
shl edi, 0x17
add edi, 0x8440c000
mov dword [ebp - 0x5c], 0x4474d4
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x58], ebx
call fcn.00404f5e
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], ebx
je 0x41c46f
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404e09
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
push edi
lea ecx, [ebp - 0x5c]
push ecx
push ecx
push ecx
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [esi + 8]
call fcn.0041cb66
mov ebx, eax
test ebx, ebx
je 0x41c492
mov esi, dword [ebp + 8]
jmp 0x41cade
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 4]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], 0x44764c
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 2
cmp byte [ebp + 0x30], 0
mov eax, dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], ebx
je 0x41c4f8
cmp byte [esi + 0x94], 0
je 0x41c4f8
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 4
push ecx
lea ecx, [ebp + 0x30]
push ecx
push 0x1f
push edx
call eax
push dword [ebp + 0x18]
or dword [ebp + 0x30], 0x3380
lea eax, [ebp + 0x30]
push eax
push 0x1f
push dword [esi + 4]
call ebx
call fcn.0040219e
push eax
lea ecx, [ebp + 0x18]
call fcn.00401fe1
mov ebx, dword [ebp + 0x34]
xor ecx, ecx
mov byte [ebp - 4], 3
cmp dword [ebx], ecx
jbe 0x41c556
call fcn.0040219e
push eax
lea ecx, [ebp + 0x30]
call fcn.00401fe1
mov byte [ebp - 4], 4
lea eax, [ebp + 0x30]
push dword [ebx]
push str.Range:_bytes_u__r_n
push eax
call fcn.00408430
mov esi, dword [ebp + 0x30]
lea ecx, [ebp + 0x18]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00404e09
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402471
mov esi, dword [ebp - 0x10]
lea edx, [esi + 0x42]
xor ebx, ebx
cmp word [edx], bx
jbe 0x41c5bb
lea ecx, [ebp + 0x24]
call fcn.00411fe0
mov byte [ebp - 4], 5
call fcn.0040219e
push eax
lea ecx, [ebp + 0x30]
call fcn.00401fe1
mov byte [ebp - 4], 6
lea eax, [ebp + 0x30]
push dword [ebp + 0x24]
push str.If_Modified_Since:__s_r_n
push eax
call fcn.00408430
mov esi, dword [ebp + 0x30]
lea ecx, [ebp + 0x18]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00404e09
lea ecx, [esi - 0x10]
call fcn.00402471
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.00402471
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040219e
push eax
lea ecx, [ebp + 0x24]
call fcn.00401fe1
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x8c]
cmp dword [eax - 0xc], 0
je 0x41c627
mov edi, str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_r_n
push edi
call fcn.00425b9b
pop ecx
push eax
push edi
lea ecx, [ebp + 0x18]
call fcn.00404e09
push ecx
mov ecx, dword [esi + 0x8c]
lea edx, [ebp + 0x24]
call fcn.00411d15
mov edi, dword [ebp + 0x24]
pop ecx
cmp dword [edi - 4], 1
jle 0x41c61c
push dword [edi - 0xc]
lea ecx, [ebp + 0x24]
call fcn.0040494a
mov edi, dword [ebp + 0x24]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
jmp 0x41c62a
mov edi, dword [ebp + 0x24]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41c635
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edx, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp + 0x14], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x40], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [eax - 0xc]
mov ebx, eax
mov esi, dword [esi + 4]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0x20], ecx
cmove ebx, eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push dword [eax + 0x68]
mov dword [eax + 0x34], 7
mov byte [eax + 0x38], cl
call edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp + 0x20]
push ebx
push esi
call dword [ebp - 0x40]
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x41c6b0
mov ecx, esi
call fcn.0041cc2d
mov ebx, eax
test ebx, ebx
je 0x41c6b6
xor ecx, ecx
jmp 0x41c6c2
push dword [esi + 0x68]
call dword [ebp - 0x44]
xor ecx, ecx
mov ebx, ecx
cmp dword [esi + 0x30], ecx
jne 0x41c6c2
mov ebx, dword [esi + 0x2c]
push ecx
lea eax, [esi + 0x98]
mov dword [ebp - 0x34], 4
mov dword [eax], ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x20000013
push dword [esi + 4]
call dword [ebp + 0x14]
test eax, eax
je 0x41cabb
xor eax, eax
push eax
mov dword [ebp + 0x30], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x30]
push eax
push 0x20000005
push dword [esi + 4]
call dword [ebp + 0x14]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0x30]
cmp byte [esi + 0x62], 0
mov dword [ebp + 0x30], ecx
je 0x41c754
cmp dword [esi + 0x98], 0x130
je 0x41c754
xor ecx, ecx
mov dword [ebp + 0x20], 0x10
push ecx
lea ecx, [ebp + 0x20]
push ecx
lea eax, [esi + 0x52]
push eax
push 0x4000000b
push dword [esi + 4]
call dword [ebp + 0x14]
test eax, eax
jne 0x41c751
push 0x10
push eax
lea eax, [esi + 0x52]
push eax
call fcn.00423750
add esp, 0xc
mov ecx, dword [ebp + 0x30]
mov eax, dword [esi + 0x8c]
cmp dword [eax - 0xc], 0
je 0x41c813
cmp dword [esi + 0x98], 0xc8
jne 0x41c813
xor eax, eax
mov dword [ebp + 0x20], eax
mov esi, 0x410
mov byte [ebp - 4], 8
push esi
lea ecx, [ebp + 0x20]
call fcn.0040b63b
xor eax, eax
mov dword [ebp + 0x1c], esi
mov esi, dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push esi
push 1
push dword [eax + 4]
call dword [ebp + 0x14]
test eax, eax
jne 0x41c7e9
call dword [ebp - 0x20]
cmp eax, 0x7a
jne 0x41ca61
push esi
call fcn.004221b9
pop ecx
push dword [ebp + 0x1c]
xor eax, eax
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x20], eax
call fcn.0040b63b
mov esi, dword [ebp + 0x20]
xor eax, eax
push eax
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push esi
push 1
push dword [eax + 4]
call dword [ebp + 0x14]
test eax, eax
je 0x41ca5e
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x41c802
mov ecx, dword [ebp - 0x10]
shr eax, 1
push eax
push esi
lea ecx, [ecx + 0x90]
call fcn.00404e09
push esi
mov byte [ebp - 4], 7
call fcn.004221b9
mov esi, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebp + 0x30]
mov eax, dword [esi + 0x98]
mov edx, 0x193
cmp eax, edx
ja 0x41c9ae
je 0x41ca7a
sub eax, 0xc8
je 0x41c991
sub eax, 6
je 0x41c976
sub eax, 0x62
je 0x41ca6c
sub eax, 0x61
jne 0x41c9cb
mov ebx, 0xe0000012
xor edx, edx
cmp ebx, 0x2f0d
je 0x41c9e4
cmp ebx, 0x2f0c
je 0x41c9e4
cmp ebx, 0x2f06
je 0x41c9e4
cmp ebx, 0x2f05
je 0x41c9e4
cmp ebx, 0xe0000012
jne 0x41caa9
call fcn.0040219e
push eax
lea ecx, [ebp + 0x10]
call fcn.00401fe1
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 9
push eax
push dword [esi + 0x98]
push dword [esi + 4]
call fcn.0041d287
mov esi, dword [esi + 0x98]
cmp esi, 0x197
sete byte [ebp - 0x48]
call fcn.0040219e
push eax
lea ecx, [ebp + 0x28]
call fcn.00401fe1
cmp esi, 0x197
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x10]
jne 0x41c8f2
lea eax, [ebp + 0x28]
push eax
push dword [esi + 4]
call fcn.0041d3d6
call fcn.0040219e
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401fe1
mov byte [ebp - 4], 0xb
call fcn.0040219e
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fe1
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp - 0x48]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [esi + 4]
call fcn.0041d338
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
test al, al
je 0x41ca81
call fcn.00402471
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402471
mov ecx, dword [ebp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402471
mov byte [ebp - 4], 7
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402471
mov eax, dword [ebp - 0x24]
jmp 0x41ca56
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x41c983
mov dword [eax], ecx
mov eax, ecx
jmp 0x41c987
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x41c857
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x41c9a5
cmp dword [eax], ecx
jae 0x41ca73
xor edx, edx
mov dword [eax], edx
jmp 0x41c859
sub eax, 0x194
je 0x41cab4
sub eax, 3
je 0x41c852
sub eax, 3
je 0x41cab4
xor edx, edx
test ebx, ebx
jne 0x41c859
mov eax, dword [ebp + 0x34]
mov dword [eax], edx
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
jmp 0x41caad
cmp byte [esi + 0x81], 0
je 0x41ca2f
mov eax, dword [esi + 4]
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x50], eax
push ecx
push 0x1f
push eax
mov dword [ebp + 0x20], 4
call dword [ebp - 0x4c]
test eax, eax
je 0x41cac0
or dword [ebp - 0x14], 0x3f05
lea eax, [ebp - 0x14]
push 4
push eax
push 0x1f
push dword [ebp - 0x50]
call dword [ebp - 0x54]
test eax, eax
je 0x41cac0
jmp 0x41ca48
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41ca42
push dword [esi + 4]
mov eax, dword [ecx]
push ebx
push edx
call dword [eax + 0x24]
jmp 0x41ca44
mov eax, ebx
test eax, eax
jne 0x41cac0
lea ecx, [ebp + 0x18]
call fcn.0040243c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x38]
jmp 0x41c664
call dword [ebp - 0x20]
push esi
mov ebx, eax
call fcn.004221b9
pop ecx
jmp 0x41cac0
mov ebx, 0xe0000013
jmp 0x41cac0
mov ebx, 0xe0000010
jmp 0x41cac0
mov ebx, 0xe0000016
jmp 0x41cac0
call fcn.00402471
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402471
mov ecx, dword [ebp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402471
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402471
jmp 0x41cac0
test ebx, ebx
jne 0x41cac0
mov dword [ebp - 0x70], edx
mov esi, edx
jmp 0x41cac3
mov ebx, 0xe0000018
jmp 0x41cac0
call dword [ebp - 0x20]
mov ebx, eax
mov esi, dword [ebp + 8]
lea ecx, [edi - 0x10]
call fcn.00402471
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402471
lea ecx, [ebp - 0x74]
call fcn.0041a61f
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402471
xor eax, eax
push eax
push esi
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
call fcn.0042265c
ret 0x34