Function at 0x50e920
Capabilities:
Check http status code
Parse pe header

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
mov eax, dword [edi + 0x132a914]
cmp eax, esi
je 0x50fdce
mov dword [edi + 0x132a918], eax
lea eax, [esi - 0x26]
mov byte [edi + 0x1334160], 0
cmp eax, 0xed
jbe 0x50e95a
cmp esi, 0xf
je 0x50e95a
mov byte [edi + 0x17bff3c], 1
jmp 0x50e961
mov byte [edi + 0x17bff3c], 0
cmp esi, 5
je 0x50e97a
cmp esi, 4
je 0x50e97a
cmp esi, 0xe
je 0x50e97a
cmp esi, 3
je 0x50e97a
cmp esi, 0x18
jne 0x50e985
lea ecx, [edi + 0x1554380]
call fcn.004baf70
cmp esi, 0xc
jne 0x50e99d
mov byte [edi + 0x188cc4c], 0
mov byte [edi + 0x132bc6c], 0
jmp 0x50fdbc
cmp esi, 9
jne 0x50e9ae
mov byte [edi + 0x132b82c], 0
jmp 0x50fdbc
cmp esi, 4
jne 0x50e9c9
cmp dword [edi + 0x132a914], 0x13
mov ecx, edi
setne dl
call fcn.004cdc40
jmp 0x50fdbc
cmp esi, 0xd
jne 0x50e9da
mov byte [edi + 0x1334318], 0
jmp 0x50fdbc
cmp esi, 0x115
jne 0x50ea04
push 1
lea ecx, [edi + 0x1554380]
mov dword [edi + 0x40bc], 0xc2c80000
or edx, 0xffffffff
call fcn.004bae50
add esp, 4
jmp 0x50fdbc
cmp esi, 3
jne 0x50ea81
mov ecx, edi
call fcn.004ce070
cmp byte [edi + 0x188cc4c], 0
mov eax, dword [edi + 0x40c8]
mov byte [edi + 0x132a9d5], 0
mov byte [edi + 0x132a9c8], 0
mov dword [edi + 0x132a9d8], eax
jne 0x50ea3c
cmp dword [edi + 0x188cad8], 0
je 0x50ea57
push ecx
push 0
lea edx, [edi + 0x1376394]
mov dword [edi + 0x13763c0], 0
call fcn.00405250
add esp, 8
mov dword [edi + 0x188cad8], 0
mov dword [edi + 0x188cadc], 0xffffffff
mov dword [edi + 0x188cae0], 0xffffffff
mov byte [edi + 0x188cc4c], 0
jmp 0x50fdbc
cmp esi, 6
jne 0x50eaa9
mov dword [edi + 0x188cad8], 0
mov dword [edi + 0x188cadc], 0xffffffff
mov dword [edi + 0x188cae0], 0xffffffff
jmp 0x50fdbc
cmp esi, 0x23
jne 0x50eaba
mov byte [edi + 0x132a9dc], 0
jmp 0x50fdbc
cmp esi, 1
jne 0x50eacf
lea ecx, [edi + 0x1554380]
call fcn.004baf70
jmp 0x50fdbc
cmp esi, 0x12
jne 0x50eae0
mov byte [edi + 0x137632c], 0
jmp 0x50fdbc
cmp esi, 0x13
jne 0x50eaf1
mov byte [edi + 0x1376334], 0
jmp 0x50fdbc
cmp esi, 0x14
jne 0x50eb02
mov byte [edi + 0x1376388], 0
jmp 0x50fdbc
cmp esi, 0x15
jne 0x50eb13
mov byte [edi + 0x13764bd], 0
jmp 0x50fdbc
cmp esi, 0x16
jne 0x50eb31
cmp dword [edi + 0x132a914], 0x17
je 0x50fdbc
mov byte [edi + 0x132aab8], 0
jmp 0x50fdbc
cmp esi, 0x19
je 0x50eb18
cmp esi, 0x1a
jne 0x50eb54
cmp dword [edi + 0x132a914], 0x17
je 0x50fdbc
mov byte [edi + 0x132aac8], 0
jmp 0x50fdbc
cmp esi, 0x17
jne 0x50eb65
mov byte [edi + 0x132aae0], 0
jmp 0x50fdbc
cmp esi, 0x18
jne 0x50eb76
mov byte [edi + 0x132ba40], 0
jmp 0x50fdbc
cmp esi, 8
jne 0x50eb8a
mov dword [edi + 0x188cadc], 0xffffffff
jmp 0x50fdbc
cmp esi, 0x20
jne 0x50eb9b
mov byte [edi + 0x132bc64], 0
jmp 0x50fdbc
cmp esi, 0x11
jne 0x50ebac
mov byte [edi + 0x132a9ec], 0
jmp 0x50fdbc
cmp esi, 0x22
je 0x50fcb1
cmp esi, 0x24
je 0x50fcb1
cmp esi, 0x25
je 0x50fcb1
cmp esi, 0x26
jne 0x50ebd8
mov ecx, edi
call fcn.005074a0
jmp 0x50fdbc
cmp esi, 0x27
jne 0x50ebe9
mov ecx, edi
call fcn.00507510
jmp 0x50fdbc
cmp esi, 0x28
jne 0x50ebfa
mov ecx, edi
call fcn.00507550
jmp 0x50fdbc
cmp esi, 0x29
jne 0x50ec0b
mov ecx, edi
call fcn.00507590
jmp 0x50fdbc
cmp esi, 0x2a
jne 0x50ec1c
mov ecx, edi
call fcn.005075d0
jmp 0x50fdbc
cmp esi, 0x2b
jne 0x50ec2d
mov ecx, edi
call fcn.00507610
jmp 0x50fdbc
cmp esi, 0x2c
jne 0x50ec3e
mov ecx, edi
call fcn.00507650
jmp 0x50fdbc
cmp esi, 0x2d
jne 0x50ec4f
mov ecx, edi
call fcn.00507690
jmp 0x50fdbc
cmp esi, 0x2e
jne 0x50ec60
mov ecx, edi
call fcn.005076d0
jmp 0x50fdbc
cmp esi, 0x2f
jne 0x50ec71
mov ecx, edi
call fcn.00507750
jmp 0x50fdbc
cmp esi, 0x30
jne 0x50ec82
mov ecx, edi
call fcn.005077d0
jmp 0x50fdbc
cmp esi, 0x31
jne 0x50ec93
mov ecx, edi
call fcn.00507850
jmp 0x50fdbc
cmp esi, 0x32
jne 0x50eca4
mov ecx, edi
call fcn.005078d0
jmp 0x50fdbc
cmp esi, 0x33
jne 0x50ecb5
mov ecx, edi
call fcn.00507950
jmp 0x50fdbc
cmp esi, 0x34
jne 0x50ecc6
mov ecx, edi
call fcn.005079d0
jmp 0x50fdbc
cmp esi, 0x35
jne 0x50ecd7
mov ecx, edi
call fcn.00507a50
jmp 0x50fdbc
cmp esi, 0x36
jne 0x50ece8
mov ecx, edi
call fcn.00507ad0
jmp 0x50fdbc
cmp esi, 0x37
jne 0x50ecf9
mov ecx, edi
call fcn.00507b50
jmp 0x50fdbc
cmp esi, 0x38
jne 0x50ed0a
mov ecx, edi
call fcn.00507bd0
jmp 0x50fdbc
cmp esi, 0x39
jne 0x50ed1b
mov ecx, edi
call fcn.00507c50
jmp 0x50fdbc
cmp esi, 0x3a
jne 0x50ed2c
mov ecx, edi
call fcn.00507cd0
jmp 0x50fdbc
cmp esi, 0x3b
jne 0x50ed3d
mov ecx, edi
call fcn.00507d70
jmp 0x50fdbc
cmp esi, 0x3c
jne 0x50ed4e
mov ecx, edi
call fcn.00507e10
jmp 0x50fdbc
cmp esi, 0x3d
jne 0x50ed5f
mov ecx, edi
call fcn.00507fc0
jmp 0x50fdbc
cmp esi, 0x3e
jne 0x50ed70
mov ecx, edi
call fcn.00508040
jmp 0x50fdbc
cmp esi, 0x3f
jne 0x50ed81
mov ecx, edi
call fcn.005080c0
jmp 0x50fdbc
cmp esi, 0x40
jne 0x50ed92
mov ecx, edi
call fcn.00508140
jmp 0x50fdbc
cmp esi, 0x41
jne 0x50eda3
mov ecx, edi
call fcn.005081c0
jmp 0x50fdbc
cmp esi, 0x42
jne 0x50edb4
mov ecx, edi
call fcn.00508240
jmp 0x50fdbc
cmp esi, 0x43
jne 0x50edc5
mov ecx, edi
call fcn.005082c0
jmp 0x50fdbc
cmp esi, 0x44
jne 0x50edd6
mov ecx, edi
call fcn.00508340
jmp 0x50fdbc
cmp esi, 0x45
jne 0x50ede7
mov ecx, edi
call fcn.005083c0
jmp 0x50fdbc
cmp esi, 0x46
jne 0x50edf8
mov ecx, edi
call fcn.00508440
jmp 0x50fdbc
cmp esi, 0x47
jne 0x50ee09
mov ecx, edi
call fcn.005084c0
jmp 0x50fdbc
cmp esi, 0x48
jne 0x50ee1a
mov ecx, edi
call fcn.00508570
jmp 0x50fdbc
cmp esi, 0x49
jne 0x50ee2b
mov ecx, edi
call fcn.005085b0
jmp 0x50fdbc
cmp esi, 0x4a
jne 0x50ee3c
mov ecx, edi
call fcn.00508630
jmp 0x50fdbc
cmp esi, 0x4b
jne 0x50ee4d
mov ecx, edi
call fcn.005086b0
jmp 0x50fdbc
cmp esi, 0x4c
jne 0x50ee5e
mov ecx, edi
call fcn.00508730
jmp 0x50fdbc
cmp esi, 0x4d
jne 0x50ee6f
mov ecx, edi
call fcn.005087b0
jmp 0x50fdbc
cmp esi, 0x4e
jne 0x50ee80
mov ecx, edi
call fcn.00508830
jmp 0x50fdbc
cmp esi, 0x4f
jne 0x50ee91
mov ecx, edi
call fcn.005088b0
jmp 0x50fdbc
cmp esi, 0x50
jne 0x50eea2
mov ecx, edi
call fcn.00508930
jmp 0x50fdbc
cmp esi, 0x51
jne 0x50eeb3
mov ecx, edi
call fcn.005089b0
jmp 0x50fdbc
cmp esi, 0x52
jne 0x50eec4
mov ecx, edi
call fcn.00508a30
jmp 0x50fdbc
cmp esi, 0x53
jne 0x50eed5
mov ecx, edi
call fcn.00508ab0
jmp 0x50fdbc
cmp esi, 0x54
jne 0x50eee6
mov ecx, edi
call fcn.00508b10
jmp 0x50fdbc
cmp esi, 0x55
jne 0x50eef7
mov ecx, edi
call fcn.00508b90
jmp 0x50fdbc
cmp esi, 0x56
jne 0x50ef08
mov ecx, edi
call fcn.00508c10
jmp 0x50fdbc
cmp esi, 0x57
jne 0x50ef19
mov ecx, edi
call fcn.00508c90
jmp 0x50fdbc
cmp esi, 0x58
jne 0x50ef2a
mov ecx, edi
call fcn.00508d10
jmp 0x50fdbc
cmp esi, 0x59
jne 0x50ef3b
mov ecx, edi
call fcn.00508d90
jmp 0x50fdbc
cmp esi, 0x5a
jne 0x50ef4c
mov ecx, edi
call fcn.00508e10
jmp 0x50fdbc
cmp esi, 0x5b
jne 0x50ef5d
mov ecx, edi
call fcn.00508e90
jmp 0x50fdbc
cmp esi, 0x5c
jne 0x50ef6e
mov ecx, edi
call fcn.00508f10
jmp 0x50fdbc
cmp esi, 0x5d
jne 0x50ef7f
mov ecx, edi
call fcn.00508f90
jmp 0x50fdbc
cmp esi, 0x5e
jne 0x50ef90
mov ecx, edi
call fcn.00509010
jmp 0x50fdbc
cmp esi, 0x5f
jne 0x50efa1
mov ecx, edi
call fcn.00509090
jmp 0x50fdbc
cmp esi, 0x60
jne 0x50efb2
mov ecx, edi
call fcn.00509110
jmp 0x50fdbc
cmp esi, 0x61
jne 0x50efc3
mov ecx, edi
call fcn.00509190
jmp 0x50fdbc
cmp esi, 0x62
jne 0x50efd4
mov ecx, edi
call fcn.00509210
jmp 0x50fdbc
cmp esi, 0x63
jne 0x50efe5
mov ecx, edi
call fcn.00509290
jmp 0x50fdbc
cmp esi, 0x64
jne 0x50eff6
mov ecx, edi
call fcn.00509310
jmp 0x50fdbc
cmp esi, 0x65
jne 0x50f007
mov ecx, edi
call fcn.00509390
jmp 0x50fdbc
cmp esi, 0x66
jne 0x50f018
mov ecx, edi
call fcn.00509410
jmp 0x50fdbc
cmp esi, 0x67
jne 0x50f029
mov ecx, edi
call fcn.00509490
jmp 0x50fdbc
cmp esi, 0x68
jne 0x50f03a
mov ecx, edi
call fcn.00509510
jmp 0x50fdbc
cmp esi, 0x69
jne 0x50f04b
mov ecx, edi
call fcn.00509590
jmp 0x50fdbc
cmp esi, 0x6a
jne 0x50f05c
mov ecx, edi
call fcn.00509610
jmp 0x50fdbc
cmp esi, 0x6b
jne 0x50f06d
mov ecx, edi
call fcn.00509690
jmp 0x50fdbc
cmp esi, 0x6c
jne 0x50f07e
mov ecx, edi
call fcn.00509740
jmp 0x50fdbc
cmp esi, 0x6d
jne 0x50f08f
mov ecx, edi
call fcn.005097e0
jmp 0x50fdbc
cmp esi, 0x6e
jne 0x50f0a0
mov ecx, edi
call fcn.00509880
jmp 0x50fdbc
cmp esi, 0x6f
jne 0x50f0b1
mov ecx, edi
call fcn.00509900
jmp 0x50fdbc
cmp esi, 0x70
jne 0x50f0c2
mov ecx, edi
call fcn.00509980
jmp 0x50fdbc
cmp esi, 0x71
jne 0x50f0d3
mov ecx, edi
call fcn.00509a00
jmp 0x50fdbc
cmp esi, 0x72
jne 0x50f0e4
mov ecx, edi
call fcn.00509a80
jmp 0x50fdbc
cmp esi, 0x73
jne 0x50f0f5
mov ecx, edi
call fcn.00509b00
jmp 0x50fdbc
cmp esi, 0x74
jne 0x50f106
mov ecx, edi
call fcn.00509b80
jmp 0x50fdbc
cmp esi, 0x75
jne 0x50f117
mov ecx, edi
call fcn.00509c00
jmp 0x50fdbc
cmp esi, 0x76
jne 0x50f128
mov ecx, edi
call fcn.00509c80
jmp 0x50fdbc
cmp esi, 0x77
jne 0x50f139
mov ecx, edi
call fcn.00509d00
jmp 0x50fdbc
cmp esi, 0x78
jne 0x50f14a
mov ecx, edi
call fcn.00509d80
jmp 0x50fdbc
cmp esi, 0x79
jne 0x50f15b
mov ecx, edi
call fcn.00509e00
jmp 0x50fdbc
cmp esi, 0x7a
jne 0x50f16c
mov ecx, edi
call fcn.00509e80
jmp 0x50fdbc
cmp esi, 0x7b
jne 0x50f17d
mov ecx, edi
call fcn.00509f00
jmp 0x50fdbc
cmp esi, 0x7c
jne 0x50f18e
mov ecx, edi
call fcn.00509f80
jmp 0x50fdbc
cmp esi, 0x7d
jne 0x50f19f
mov ecx, edi
call fcn.0050a000
jmp 0x50fdbc
cmp esi, 0x7e
jne 0x50f1b0
mov ecx, edi
call fcn.0050a080
jmp 0x50fdbc
cmp esi, 0x7f
jne 0x50f1c1
mov ecx, edi
call fcn.0050a100
jmp 0x50fdbc
cmp esi, 0x80
jne 0x50f1d5
mov ecx, edi
call fcn.0050a180
jmp 0x50fdbc
cmp esi, 0x81
jne 0x50f1e9
mov ecx, edi
call fcn.0050a200
jmp 0x50fdbc
cmp esi, 0x82
jne 0x50f1fd
mov ecx, edi
call fcn.0050a280
jmp 0x50fdbc
cmp esi, 0x83
jne 0x50f211
mov ecx, edi
call fcn.0050a300
jmp 0x50fdbc
cmp esi, 0x84
jne 0x50f225
mov ecx, edi
call fcn.0050a380
jmp 0x50fdbc
cmp esi, 0x85
jne 0x50f239
mov ecx, edi
call fcn.0050a400
jmp 0x50fdbc
cmp esi, 0x86
jne 0x50f24d
mov ecx, edi
call fcn.0050a4b0
jmp 0x50fdbc
cmp esi, 0x87
jne 0x50f261
mov ecx, edi
call fcn.0050a550
jmp 0x50fdbc
cmp esi, 0x88
jne 0x50f275
mov ecx, edi
call fcn.0050a5e0
jmp 0x50fdbc
cmp esi, 0x89
jne 0x50f289
mov ecx, edi
call fcn.0050a660
jmp 0x50fdbc
cmp esi, 0x8a
jne 0x50f29d
mov ecx, edi
call fcn.0050a6e0
jmp 0x50fdbc
cmp esi, 0x8b
jne 0x50f2b1
lea ecx, [edi + 0x1554380]
call fcn.004baf70
cmp dword [edi + 0x15542f0], 0
mov byte [edi + 0x132bc74], 0
jge 0x50fcd6
mov dword [edi + 0x15542f0], 0
cmp esi, 0x24
jne 0x50fcf1
mov ecx, edi
mov dword [edi + 0x132bc78], 0
call fcn.00507ec0
jmp 0x50fdbc
cmp esi, 0x25
jne 0x50fd02
mov ecx, edi
call fcn.00507f40
jmp 0x50fdbc
cmp esi, 0x10c
jne 0x50fd47
sub esp, 8
lea edx, [esi + 1]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 0x2e6
push ecx
push 2
push ecx
push 0x48
mov ecx, edi
call fcn.00507290
add esp, 0x1c
mov dword [eax + 0x20], 0xc25c0000
mov dword [eax + 0xb4], 0
jmp 0x50fdbc
cmp esi, 0x10d
jne 0x50fd58
mov ecx, edi
call fcn.0050e670
jmp 0x50fdbc
cmp esi, 0x10e
jne 0x50fd69
mov ecx, edi
call fcn.0050e6b0
jmp 0x50fdbc
cmp esi, 0x10f
jne 0x50fd7a
mov ecx, edi
call fcn.0050e6f0
jmp 0x50fdbc
cmp esi, 0x110
jne 0x50fd8b
mov ecx, edi
call fcn.0050e780
jmp 0x50fdbc
cmp esi, 0x111
jne 0x50fd9c
mov ecx, edi
call fcn.0050e820
jmp 0x50fdbc
cmp esi, 0x112
jne 0x50fdad
mov ecx, edi
call fcn.0050e8a0
jmp 0x50fdbc
cmp esi, 0x113
jne 0x50fdbc
mov ecx, edi
call fcn.0050e8e0
mov eax, dword [edi + 0x40c8]
mov dword [edi + 0x13341cc], eax
mov dword [edi + 0x132a914], esi
pop edi
pop esi
pop ecx
ret