Function at 0x402490
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa008
call fcn.00426240
mov eax, dword [0x44b518]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x43d3ac]
push esi
push edi
push 0
mov edi, ecx
mov eax, dword [edi + 0xa0]
lea ecx, [ebp - 0xa008]
push ecx
lea esi, [edi + 0x70]
push esi
push 0
push 0x20000013
push eax
mov dword [ebp - 0xa008], 4
call ebx
test eax, eax
jne 0x40252d
call dword [0x43d1f0]
lea ecx, [edi + 0x40]
mov dword [edi + 0x6c], eax
cmp dword [ecx + 0x14], 8
jb 0x4024f1
mov ecx, dword [ecx]
push ecx
push eax
push str.RRGMzM7ne5OLrUgbhCYxs61N5nMR8MCg
push 0x14a8
push 0xda6
call fcn.00420350
add esp, 0xc
push eax
call fcn.0041e450
add esp, 0xc
mov dword [edi + 0x68], 3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004260de
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov dword [ebp - 0xa008], 0x9fff
cmp ecx, 0xc8
je 0x40266a
cmp dword [edi + 0x54], 8
jb 0x402550
mov eax, dword [edi + 0x40]
jmp 0x402553
lea eax, [edi + 0x40]
push eax
push ecx
push 0x65a3
push str.Uxef18m0fpTEvV9_JQfe0dmzK4XFvF5_ZhGRzpziDf0
push 0x38f8
push 0x6bb1
call fcn.00420350
add esp, 0x10
push eax
call fcn.0041e450
mov eax, dword [esi]
add esp, 0xc
cmp eax, 0x12d
je 0x40258e
cmp eax, 0x12e
jne 0x40264b
mov eax, dword [edi + 0xa0]
push 0
lea edx, [ebp - 0xa008]
push edx
lea ecx, [ebp - 0xa004]
push ecx
push 0
push 0x21
push eax
call dword [0x43d3ac]
test eax, eax
je 0x40264b
cmp dword [edi + 0x54], 8
jb 0x4025c2
mov eax, dword [edi + 0x40]
jmp 0x4025c5
lea eax, [edi + 0x40]
lea edx, [ebp - 0xa004]
push edx
push eax
push 0x2ee8
push 0x4ef7
push str.VBGHytKgfoPEUg6ZAqMxtzfpHZtld_JTDe19Pne6Sh
push 0x1d9b
push 0x2d18
call fcn.00420350
add esp, 0x14
push eax
call fcn.0041e450
lea eax, [ebp - 0xa004]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402600
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xa004]
push eax
lea ecx, [edi + 0x40]
call fcn.00401ff0
push 0
lea ecx, [edi + 0xa0]
call fcn.00401130
mov ecx, edi
call fcn.00401400
movzx eax, al
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004260de
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov dword [edi + 0x68], 3
mov dword [edi + 0x6c], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004260de
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xa0]
push 0
lea edx, [ebp - 0xa008]
push edx
lea esi, [edi + 0xac]
push esi
push 0
push 0x20000005
push eax
call ebx
cmp byte [edi + 0x94], 0
je 0x40269b
mov ecx, dword [esi]
add dword [0x44c960], ecx
mov eax, dword [edi + 0xa0]
push 0
lea edx, [ebp - 0xa008]
push edx
lea ecx, [ebp - 0xa004]
push ecx
push 0
push 0x2f
push eax
mov dword [edi + 0x68], 2
mov dword [ebp - 0xa008], 0x9fff
call ebx
test eax, eax
je 0x40275c
mov eax, dword [ebp - 0xa008]
push str.filename
lea ecx, [ebp - 0xa004]
xor edx, edx
push ecx
mov word [ebp + eax*2 - 0xa004], dx
call dword [0x43d274]
mov esi, eax
test esi, esi
je 0x402762
add esi, 0x12
cmp word [esi], 0x22
jne 0x402705
add esi, 2
push 0x22
push esi
call fcn.00425298
add esp, 8
test eax, eax
jne 0x402737
push 0x20
push esi
call fcn.00425298
add esp, 8
test eax, eax
je 0x402728
xor ecx, ecx
mov word [eax], cx
push 0x3b
push esi
call fcn.00425298
add esp, 8
test eax, eax
je 0x40273c
xor edx, edx
mov word [eax], dx
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402741
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [edi + 8]
call fcn.00401ff0
jmp 0x402762
call dword [0x43d1f0]
cmp dword [edi + 0x18], 0
mov dword [ebp - 0xa008], 0x9fff
jne 0x40282e
mov eax, dword [edi + 0xa0]
push 0
lea ecx, [ebp - 0xa008]
push ecx
lea edx, [ebp - 0xa004]
push edx
push 0
push 0x80000015
push eax
call ebx
test eax, eax
je 0x40282e
mov ecx, dword [ebp - 0xa008]
lea edx, [ebp - 0xa004]
xor eax, eax
push 0x20
push edx
mov word [ebp + ecx*2 - 0xa004], ax
call fcn.00425298
mov esi, eax
add esp, 8
test esi, esi
jne 0x4027cd
lea esi, [ebp - 0xa004]
jmp 0x4027d0
add esi, 2
push 0x20
push esi
call fcn.00425298
add esp, 8
test eax, eax
je 0x4027e4
xor ecx, ecx
mov word [eax], cx
push 0x3f
push esi
call fcn.00425298
add esp, 8
test eax, eax
je 0x4027f8
xor edx, edx
mov word [eax], dx
push 0x2f
push esi
call fcn.004252bf
add esp, 8
test eax, eax
jne 0x40280b
mov eax, esi
jmp 0x40280e
add eax, 2
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x402813
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 8]
call fcn.00401ff0
jmp 0x402834
call dword [0x43d1f0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004260de
mov esp, ebp
pop ebp
ret