Function at 0x416c00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480a54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov eax, dword [0x49f598]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], eax
push 0x400
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.00478cb0
mov eax, dword [0x49f598]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], 0xa0200000
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x416cd8
push ecx
cmp eax, 4
mov ecx, esp
je 0x416ca8
lea edx, [ebp + 0xc]
mov dword [ebp - 0x18], esp
push edx
call fcn.0047125b
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.00416920
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0047161f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
jmp 0x416d9a
lea edx, [ebp + 0xc]
mov dword [ebp - 0x18], esp
push edx
call fcn.0047125b
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00416920
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0047161f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
jmp 0x416d9a
mov ecx, dword [ebp + 8]
cmp dword [ecx - 8], esi
jne 0x416d2f
push 0x499b90
push ecx
lea edx, [edi + 0x18]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.0047125b
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00416920
lea ecx, [ebp - 0x3c]
mov bl, 6
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.0047177b
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0047161f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.004714e6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
jmp 0x416d9a
lea edx, [ebp + 8]
lea eax, [edi + 0x18]
push edx
push 0x499b90
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0047125b
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.00416920
lea edx, [ebp - 0x48]
push eax
push edx
mov byte [ebp - 4], 8
call fcn.0047177b
push eax
lea eax, [ebp - 0x60]
mov bl, 9
push eax
mov byte [ebp - 4], bl
call fcn.00471715
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.0047161f
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004714e6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.004714e6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.004714e6
mov ecx, dword [edi + 0x18]
lea edx, [ebp - 0x4c]
mov eax, dword [ecx - 8]
lea ecx, [ebp + 0xc]
push eax
push edx
call fcn.0046ef50
mov esi, dword [edi + 0x18]
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xd
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x416de4
test cl, cl
je 0x416de0
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x416de4
add eax, 2
add esi, 2
test cl, cl
jne 0x416dbc
xor eax, eax
jmp 0x416de9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, 1
je 0x416df5
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.00416860
add esp, 4
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0047161f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.004714e6
mov al, byte [edi + 4]
test al, al
je 0x416e49
test esi, esi
je 0x416e49
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call fcn.004169e0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.004718fe
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.004714e6
mov eax, dword [0x49f598]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], eax
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str._nDownload_proc___start
mov byte [ebp - 4], 0x11
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x74]
push ecx
push edx
push eax
call fcn.00479709
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Download_proc___prosao_parsiranje_URLa
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
push 1
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.0047125b
mov ecx, 0x4a37ec
call fcn.0042a8c0
mov eax, dword [edi + 0x10]
sub eax, 0
je 0x416f15
dec eax
je 0x416ef5
dec eax
jne 0x416f38
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Use_ISSB_proxy_settings
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
mov ebx, 3
jmp 0x416f3b
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Use_IE_proxy_settings
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
xor ebx, ebx
jmp 0x416f3b
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.No_proxy_selected
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
mov ebx, 1
jmp 0x416f3b
mov ebx, dword [ebp + 0x10]
mov al, byte [edi + 0x2c]
test al, al
je 0x416f49
mov dword [ebp - 0x20], 0xa0e00000
push 0x14
mov byte [ebp - 4], 0x12
call fcn.004704db
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 0x13
je 0x416f94
mov esi, dword [edi + 0x14]
push 0x84f7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 1
call fcn.00471554
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
push 0
push 0
push esi
push ebx
push 1
push eax
mov byte [ebp - 4], 0x14
call fcn.0047983a
mov esi, eax
jmp 0x416f96
xor esi, esi
mov al, byte [ebp - 0x24]
mov dword [ebp - 0x38], esi
test al, 1
mov dword [ebp - 4], 0x12
je 0x416faf
lea ecx, [ebp - 0x18]
call fcn.004714e6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x44]
push 0
push 0
push eax
push ecx
mov ecx, esi
call fcn.00479935
mov edx, dword [ebp - 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
push edx
push 0
push 0
push 1
push 0
push eax
push 1
mov ecx, ebx
mov dword [ebp - 0x30], ebx
call fcn.0047a326
lea ecx, [ebp - 0x40]
mov esi, eax
push 0x10000000
push ecx
mov ecx, esi
mov dword [ebp - 0x34], esi
call fcn.0047a4e3
jmp 0x417086
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0047a4f9
lea edx, [ebp - 0x28]
mov ecx, esi
push edx
call fcn.0047a56f
cmp dword [ebp - 0x28], 0xc8
jne 0x417177
mov al, byte [edi + 0x24]
test al, al
je 0x4170ec
mov eax, dword [0x49f598]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
push 0
push ecx
push 5
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0047a5ae
mov edx, dword [ebp - 0x20]
push edx
call fcn.0045bac6
add esp, 4
lea ecx, [ebp - 0x20]
mov dword [0x4a3764], eax
mov byte [ebp - 4], 0x12
call fcn.004714e6
mov eax, dword [0x49f598]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push str.Status_Code_is__d
push edx
mov byte [ebp - 4], 0x17
call fcn.0046f370
add esp, 0xc
lea eax, [ebp - 0x24]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0047125b
mov ecx, 0x4a37ec
call fcn.0042a8c0
lea ecx, [ebp - 0x84]
push 0
push ecx
push 0x4000000b
mov ecx, esi
call fcn.0047a548
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x84]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0xac]
mov ecx, edi
push eax
push esi
call fcn.00417570
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.004714e6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
test esi, esi
je 0x417192
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
je 0x41719f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0xc]
test esi, esi
je 0x4171b6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0x11
cmp eax, 0xc8
je 0x41720a
mov al, byte [ebp + 0x10]
test al, al
je 0x41720a
push ecx
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp + 0x10], esp
push edx
call fcn.0047125b
mov eax, dword [ebp - 0x28]
mov ecx, 0x4a36f8
push eax
call fcn.00405320
mov ecx, dword [ebp - 0x28]
push ecx
push 2
call fcn.00410dc0
add esp, 8
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], eax
push 0x4912f0
push edx
call fcn.0045c7bc
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xac]
push eax
push ecx
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp + 0x10], esp
push edx
call fcn.0047125b
mov ecx, edi
call fcn.00417370
test al, al
je 0x417240
mov al, byte [edi + 0x24]
test al, al
je 0x417240
mov dword [0x4a3760], 0
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.Download_proc_finished_ok_n
call fcn.00471554
mov ecx, 0x4a37ec
call fcn.0042a8c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.004714e6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.004714e6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.004714e6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004714e6
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.00478d75
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004714e6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004714e6
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.004714e6
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004714e6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc