Function at 0x497d50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x497d80
push 1
push eax
push edi
call sub.ifdig60.dll_Ordinal_162
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x497d87
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
cmp ax, 0x8b
je 0x497dc8
push 1
push 0x8b
push ebx
push edi
call sub.ifdig60.dll_Ordinal_189_2
add esp, 0x10
cmp al, 8
jne 0x497dc5
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
push esi
call fcn.00498570
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp ax, 0x8b
jne 0x4980ac
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x497f39
mov edx, ecx
push 4
push edx
push edi
call sub.ifdig60.dll_Ordinal_162
add esp, 0xc
cmp eax, 8
jne 0x497f36
xor eax, eax
push 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push 0x105
push eax
push edi
call sub.ifdig60.dll_Ordinal_190_2
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp + 0x10], ebx
je 0x497e7a
push ebx
push esi
call fcn.00493ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x497e67
push eax
push eax
push esi
call fcn.00491270
add esp, 8
push eax
push esi
call fcn.00488e30
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x497e64
lea ecx, [ebp + 8]
push ebx
push ecx
call sub.VGS60.dll_Ordinal_156
and ebx, 0xc0000000
add esp, 8
cmp ebx, 0xc0000000
je 0x498557
mov ebx, dword [ebp + 0x10]
push ebx
push edi
call sub.ifdig60.dll_Ordinal_125_2
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [ebp + 0x10], ebx
jne 0x497e19
mov edx, dword [ebp + 0xc]
push 1
push 0x22
push edx
push edi
call sub.ifdig60.dll_Ordinal_190_2
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x497ed5
push 1
push 0x2d
push ebx
push edi
call sub.ifdig60.dll_Ordinal_189_2
add esp, 0x10
cmp al, 4
jne 0x497ed5
mov eax, dword [ebp + 0xc]
push 1
push 0x1f2
push eax
push edi
call sub.ifdig60.dll_Ordinal_193_1
add esp, 0x10
push eax
push 1
push 0x1f0
push ebx
push edi
call sub.ifdig60.dll_Ordinal_190_2
add esp, 0x10
push eax
push edi
call sub.ifdig60.dll_Ordinal_121_2
add esp, 0xc
jmp 0x497ed7
mov eax, ebx
test eax, eax
je 0x498557
lea ecx, [ebp - 8]
lea edx, [ebp - 0xc]
push ecx
push edx
push eax
push esi
call fcn.0048c740
add esp, 0x10
test eax, eax
je 0x498557
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
push 0
push 1
push eax
push ebx
push edi
call fcn.004887a0
mov ecx, dword [ebp - 8]
add esp, 8
and eax, 0xff
push eax
push ebx
push ecx
push esi
call fcn.00488930
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x498557
lea edx, [ebp + 8]
push esi
push edx
jmp 0x498549
mov eax, dword [ebp - 8]
cmp ax, 0x8b
jne 0x4980ac
push 1
push 0x8b
push ebx
push edi
call sub.ifdig60.dll_Ordinal_189_2
add esp, 0x10
cmp al, 8
jne 0x4980a9
xor eax, eax
push ebx
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
call fcn.00493ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x497fb1
push eax
push eax
push esi
call fcn.00491270
add esp, 8
push eax
push esi
call fcn.00488e30
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x497fb1
lea ecx, [ebp + 8]
push eax
push ecx
call sub.VGS60.dll_Ordinal_156
mov eax, dword [ebp - 0xc]
add esp, 8
and eax, 0xc0000000
cmp eax, 0xc0000000
je 0x498557
push 1
push 0x22
push ebx
push edi
call sub.ifdig60.dll_Ordinal_190_2
add esp, 0x10
mov dword [ebp + 0x10], eax
test eax, eax
je 0x49800c
push 1
mov edx, eax
push 0x2d
push edx
push edi
call sub.ifdig60.dll_Ordinal_189_2
add esp, 0x10
cmp al, 4
jne 0x49800c
push 1
push 0x1f2
push ebx
push edi
call sub.ifdig60.dll_Ordinal_193_1
add esp, 0x10
push eax
mov eax, dword [ebp + 0x10]
push 1
push 0x1f0
push eax
push edi
call sub.ifdig60.dll_Ordinal_190_2
add esp, 0x10
push eax
push edi
call sub.ifdig60.dll_Ordinal_121_2
add esp, 0xc
jmp 0x49800f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x498557
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
push ecx
push edx
push eax
push esi
call fcn.0048c740
add esp, 0x10
test eax, eax
je 0x498557
mov eax, dword [ebp + 0xc]
push 1
push 0x105
push eax
push edi
call sub.ifdig60.dll_Ordinal_190_2
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x498557
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
push 0
push 1
push ecx
push 0x10
push ebx
push edx
push esi
call fcn.00488930
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x49808c
lea eax, [ebp + 8]
push edi
push eax
call sub.VGS60.dll_Ordinal_156
and edi, 0xc0000000
add esp, 8
cmp edi, 0xc0000000
je 0x498557
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
call sub.ifdig60.dll_Ordinal_125_2
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x49804f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp ax, 0x21
je 0x4984ed
cmp ax, 0x1f2
je 0x4984ed
cmp ax, 0x8b
je 0x4984ed
push ebx
push esi
call fcn.00493ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x498557
cmp word [ebp - 8], 0x18a
jne 0x49812b
lea edx, [ebp + 0xc]
push edx
push eax
push ebx
push esi
call fcn.00498c90
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
je 0x49811d
lea ecx, [ebp + 8]
push eax
push ecx
call sub.VGS60.dll_Ordinal_156
mov eax, dword [ebp - 0xc]
add esp, 8
and eax, 0xc0000000
cmp eax, 0xc0000000
je 0x498557
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x498557
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp cx, 0x1fe
je 0x49813c
cmp cx, 0x1ff
jne 0x498168
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x1c], 3
jne 0x498168
add eax, 0x90
push eax
push ebx
push edi
call fcn.004095d0
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
add esp, 0xc
push eax
push ecx
call fcn.004938b0
mov eax, dword [ebp - 4]
add esp, 8
push eax
push esi
call fcn.00491270
mov edi, dword [ebp - 8]
add esp, 8
cmp di, 0x18a
mov dword [ebp + 0xc], eax
je 0x498245
cmp di, 0x18b
je 0x498245
cmp di, 0x18c
je 0x498245
cmp di, 0x18e
je 0x498245
cmp di, 0x18f
je 0x498245
cmp di, 0x190
je 0x498245
cmp di, 0x191
je 0x498245
cmp di, 0x25f
je 0x498245
cmp di, 0x43
je 0x498245
cmp di, 0x9a
je 0x498245
cmp di, 0xd4
je 0x498245
cmp di, 0x120
je 0x498245
cmp di, 0x137
je 0x498245
cmp di, 0x14a
je 0x498245
cmp di, 0x14c
je 0x498245
cmp di, 0x14f
je 0x498245
cmp di, 0x148
je 0x498245
cmp di, 0x6c
je 0x498245
cmp di, 0x13
je 0x498245
cmp di, 0x5b
je 0x498245
cmp di, 0x67
je 0x498245
cmp di, 0x68
je 0x498245
cmp di, 0x69
je 0x498245
cmp di, 0x6b
je 0x498245
cmp di, 0x6a
je 0x498245
cmp di, 0x17e
jne 0x49835e
mov edx, dword [ebp - 4]
push 4
push edx
push esi
call fcn.0048e850
add esp, 0xc
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], edi
push 5
push eax
push esi
call fcn.0048e7f0
add esp, 0xc
mov ebx, eax
test edi, edi
mov dword [ebp - 0x14], ebx
je 0x49835b
test ebx, ebx
je 0x49835b
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x54]
push ecx
push edx
push esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ebx
call fcn.00493020
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4982bb
lea ecx, [ebp + 8]
push eax
push ecx
call sub.VGS60.dll_Ordinal_156
mov eax, dword [ebp - 0xc]
add esp, 8
and eax, 0xc0000000
cmp eax, 0xc0000000
je 0x498557
test ebx, ebx
mov dword [ebp - 0x10], 0
jbe 0x498314
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx]
push edx
push eax
push esi
call fcn.004ab190
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4982fe
lea ecx, [ebp + 8]
push edi
push ecx
call sub.VGS60.dll_Ordinal_156
and edi, 0xc0000000
add esp, 8
cmp edi, 0xc0000000
je 0x498557
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [ebp - 0x10], eax
jb 0x4982c9
mov edi, dword [ebp - 0x18]
mov ebx, ecx
mov edx, dword [ebp - 4]
push 0
push ebx
push edi
push edx
push esi
call fcn.00491890
mov ecx, dword [ebp + 0xc]
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
push ecx
push esi
call fcn.00493200
mov edi, eax
add esp, 0xc
test edi, edi
je 0x49835b
lea edx, [ebp + 8]
push edi
push edx
call sub.VGS60.dll_Ordinal_156
and edi, 0xc0000000
add esp, 8
cmp edi, 0xc0000000
je 0x498557
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 4]
push edx
push esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 1
call fcn.00493020
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4983a1
lea eax, [ebp + 8]
push ebx
push eax
call sub.VGS60.dll_Ordinal_156
and ebx, 0xc0000000
add esp, 8
cmp ebx, 0xc0000000
je 0x498557
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push ecx
push edx
push esi
call fcn.004ab190
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4983d7
lea eax, [ebp + 8]
push ebx
push eax
call sub.VGS60.dll_Ordinal_156
and ebx, 0xc0000000
add esp, 8
cmp ebx, 0xc0000000
je 0x498557
cmp di, 0x174
je 0x49840b
cmp di, 0x175
je 0x49840b
cmp di, 0x169
je 0x49840b
cmp di, 0x79
je 0x49840b
cmp di, 0x1e0
je 0x49840b
cmp di, 0x10e
je 0x49840b
cmp di, 0x159
jne 0x4984cf
mov ecx, dword [ebp - 4]
push ecx
push esi
call fcn.00491ee0
mov edi, eax
add esp, 8
test edi, edi
je 0x49843d
lea edx, [ebp + 8]
push edi
push edx
call sub.VGS60.dll_Ordinal_156
and edi, 0xc0000000
add esp, 8
cmp edi, 0xc0000000
je 0x498557
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
push 5
push ecx
push esi
call fcn.0048e7f0
mov edx, dword [ebp - 4]
add esp, 0xc
push eax
push 4
push edx
push esi
call fcn.0048e850
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.00491890
mov edi, eax
add esp, 0x14
test edi, edi
je 0x498493
lea ecx, [ebp + 8]
push edi
push ecx
call sub.VGS60.dll_Ordinal_156
and edi, 0xc0000000
add esp, 8
cmp edi, 0xc0000000
je 0x498557
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4984bb
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4984bb
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
jmp 0x4984cf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x4c]
push ecx
push edx
call sub.VGS60.dll_Ordinal_566
add esp, 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
push ecx
push esi
call fcn.00493200
mov esi, eax
add esp, 0xc
test esi, esi
je 0x498557
lea edx, [ebp + 8]
push esi
push edx
jmp 0x498549
push ebx
push esi
call fcn.00493ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x498534
push eax
push eax
push esi
call fcn.00491270
add esp, 8
push eax
push esi
call fcn.00488e30
mov edi, eax
add esp, 0xc
test edi, edi
je 0x498534
lea eax, [ebp + 8]
push edi
push eax
call sub.VGS60.dll_Ordinal_156
and edi, 0xc0000000
add esp, 8
cmp edi, 0xc0000000
je 0x498557
push ebx
push esi
call fcn.00497ab0
mov esi, eax
add esp, 8
test esi, esi
je 0x498557
lea ecx, [ebp + 8]
push esi
push ecx
call sub.VGS60.dll_Ordinal_156
add esp, 8
and esi, 0xc0000000
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret