Function at 0x415870
Capabilities:
Check http status code

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
and edx, 0xffff
mov eax, 1
cmp edx, 0xce02
jg 0x415a40
cmp edx, 0xce01
jge 0x415a2c
cmp edx, 0xbc01
jg 0x415960
je 0x415986
cmp edx, 0xae42
jg 0x415913
cmp edx, 0xae41
jge 0x415909
cmp edx, 0xab43
jg 0x4158f3
cmp edx, 0xab42
jge 0x4158ff
cmp edx, 0xab41
jne 0x415bc6
lea eax, [esp + 0xc]
push 0x4d8340
push eax
mov byte [ecx + 0x24], 0x80
mov dword [esp + 0x14], 0x20200
call sub.MSVCRT.dll__CxxThrowException
cmp edx, 0xac43
jne 0x415bc6
mov byte [ecx + 0x24], 0x81
add esp, 8
ret 4
mov byte [ecx + 0x24], 0x82
add esp, 8
ret 4
cmp edx, 0xbb07
jg 0x41594a
cmp edx, 0xbb06
jge 0x415956
cmp edx, 0xba01
jne 0x415bc6
mov byte [ecx + 0x24], 0x83
lea ecx, [esp]
push 0x4d8340
push ecx
mov dword [esp + 8], 0x20200
call sub.MSVCRT.dll__CxxThrowException
cmp edx, 0xbb09
jne 0x415bc6
mov byte [ecx + 0x24], 0x84
add esp, 8
ret 4
cmp edx, 0xca09
jg 0x4159c2
je 0x4159ae
cmp edx, 0xbd06
jg 0x415996
cmp edx, 0xbd01
jge 0x415986
cmp edx, 0xbc07
jne 0x415bc6
mov byte [ecx + 0x24], 0x86
mov dword [ecx + 0x110], eax
add esp, 8
ret 4
cmp edx, 0xca01
jl 0x415bc6
cmp edx, 0xca07
jg 0x415bc6
mov byte [ecx + 0x24], 0x90
mov dword [ecx + 0x110], 6
add esp, 8
ret 4
cmp edx, 0xcc01
jg 0x415a0c
je 0x4159f8
cmp edx, 0xcb04
jl 0x415bc6
cmp edx, 0xcb06
jg 0x415bc6
mov byte [ecx + 0x24], 0x10
mov dword [ecx + 0x110], 0x1e
add esp, 8
ret 4
mov byte [ecx + 0x24], 0x10
mov dword [ecx + 0x110], 0x2e
add esp, 8
ret 4
cmp edx, 0xcd03
jne 0x415bc6
mov byte [ecx + 0x24], 0x10
mov dword [ecx + 0x110], 0x44e
add esp, 8
ret 4
mov byte [ecx + 0x24], 0x10
mov dword [ecx + 0x110], 0x8e
add esp, 8
ret 4
cmp edx, 0xe302
jg 0x415ba3
je 0x415b77
cmp edx, 0xd403
jg 0x415af3
je 0x415adf
cmp edx, 0xd005
jg 0x415ad3
cmp edx, 0xd002
jge 0x415ac3
cmp edx, 0xcf02
jne 0x415bc6
mov dl, byte [ecx + 0x114]
mov byte [ecx + 0x24], 0x10
test dl, dl
je 0x415a8e
mov byte [ecx + 0x24], 0x13
mov dl, byte [ecx + 0x28]
cmp dl, 0x80
je 0x415a9b
cmp dl, 0xc0
jne 0x415aa5
mov dword [ecx + 0x110], 0x50e
cmp dl, 0x81
je 0x415ab3
cmp dl, 0xc1
jne 0x415990
mov dword [ecx + 0x110], 0x20e
add esp, 8
ret 4
mov byte [ecx + 0x24], 0x92
mov dword [ecx + 0x110], eax
add esp, 8
ret 4
cmp edx, 0xd203
jne 0x415bc6
mov byte [ecx + 0x24], 0x96
mov dword [ecx + 0x110], 5
add esp, 8
ret 4
cmp edx, 0xe103
jg 0x415b37
cmp edx, 0xe101
jge 0x415b23
cmp edx, 0xe001
jne 0x415bc6
mov byte [ecx + 0x24], 0x10
mov dword [ecx + 0x110], 0x44e
add esp, 8
ret 4
mov byte [ecx + 0x24], 0x10
mov dword [ecx + 0x110], 0x50e
add esp, 8
ret 4
cmp edx, 0xe203
jl 0x415bc6
cmp edx, 0xe204
jg 0x415bc6
mov dl, byte [ecx + 0x115]
mov byte [ecx + 0x24], 0x10
test dl, dl
mov dword [ecx + 0x110], 0x44e
je 0x415990
mov dword [ecx + 0x110], 0xc4e
add esp, 8
ret 4
mov dl, byte [ecx + 0x115]
mov byte [ecx + 0x24], 0x10
test dl, dl
mov dword [ecx + 0x110], 0x50e
je 0x415990
mov dword [ecx + 0x110], 0xd0e
add esp, 8
ret 4
cmp edx, 0xe50e
jg 0x415c5b
je 0x415c09
sub edx, 0xe304
je 0x415bdd
sub edx, 0x205
je 0x415c09
sub edx, 2
je 0x415c09
lea edx, [esp + 4]
push 0x4d8340
push edx
mov dword [esp + 0xc], 0x20100
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [ecx + 0x115]
mov byte [ecx + 0x24], 0x10
test dl, dl
mov dword [ecx + 0x110], 0x150e
je 0x415990
mov dword [ecx + 0x110], 0x1d0e
add esp, 8
ret 4
mov dl, byte [ecx + 0x28]
mov byte [ecx + 0x24], 0x10
cmp dl, 0x80
je 0x415c1a
cmp dl, 0xc0
jne 0x415c24
mov dword [ecx + 0x110], 0x340e
cmp dl, 0x88
je 0x415c2e
cmp dl, 0xc8
jne 0x415c38
mov dword [ecx + 0x110], 0x500e
mov dl, byte [ecx + 0x115]
test dl, dl
je 0x415990
mov edx, dword [ecx + 0x110]
or dh, 8
mov dword [ecx + 0x110], edx
add esp, 8
ret 4
cmp edx, 0xe602
jl 0x415bc6
cmp edx, 0xe603
jle 0x415ca7
cmp edx, 0xe802
jne 0x415bc6
mov dl, byte [ecx + 0x115]
mov byte [ecx + 0x24], 0x10
test dl, dl
mov dword [ecx + 0x110], 0x340e
je 0x415990
mov dword [ecx + 0x110], 0x3c0e
add esp, 8
ret 4
mov dl, byte [ecx + 0x115]
mov byte [ecx + 0x24], 0x10
test dl, dl
mov dword [ecx + 0x110], 0x144e
je 0x415990
mov dword [ecx + 0x110], 0x1c4e
add esp, 8
ret 4