Function at 0x5098c0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x340
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xaf0]
test ecx, ecx
je 0x5099da
call fcn.004b97c0
mov ecx, dword [esi + 0xaf0]
mov edi, eax
call fcn.004b9800
mov ecx, dword [esi + 0xaf0]
push 0
push 0x25b5
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push 1
push 0x2619
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push 2
push 0x2617
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push 3
push 0x34e4
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push 4
push 0x2622
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push 5
push 0x2621
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push 6
push 0x2623
call fcn.004b9670
mov ecx, dword [esi + 0xaf0]
push edi
call fcn.004b9460
mov ecx, dword [0x6833d0]
call fcn.005d1340
and eax, 0xff
cmp eax, 7
ja case.0x509989.4
jmp dword [eax*4 + 0x50a6a0]
push 3
jmp 0x5099b7
push 1
jmp 0x5099b7
push 2
jmp 0x5099b7
push 4
jmp 0x5099b7
push 5
jmp 0x5099b7
push 6
jmp 0x5099b7
mov ecx, dword [0x6833d0]
push 0
call fcn.005d13d0
push 0
mov ecx, dword [esi + 0xaf0]
call fcn.004b95e0
mov ecx, dword [esi + 0xaf0]
call fcn.004b97c0
mov ecx, esi
mov dword [esi + 0xba4], eax
call fcn.0050d070
mov eax, dword [esi + 0xa18]
test eax, eax
je 0x509a00
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
push 0
call fcn.00424280
mov ecx, dword [esi + 0xa18]
push eax
call dword [edi + pe_nt_image_headers32]
mov ecx, dword [esi + 0xac4]
test ecx, ecx
je 0x509a64
call fcn.004b9800
mov edi, 2
lea eax, [edi - 1]
lea ecx, [esp + 0x18]
push eax
push 0x66ad04
push ecx
call fcn.00613634
mov ecx, dword [esi + 0xac4]
add esp, 0xc
lea edx, [esp + 0x18]
push edi
push edx
call fcn.004b9640
inc edi
cmp edi, 8
jle 0x509a14
mov ecx, dword [0x6833d0]
call fcn.004244f0
mov ecx, dword [esi + 0xac4]
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xac4]
push eax
call fcn.004b9540
mov ecx, dword [0x6833d0]
call fcn.005d1340
mov ecx, dword [esi + 0xb48]
cmp al, 3
mov eax, dword [ecx]
jne 0x509a8c
push 0
call dword [eax + 0x14]
mov ecx, dword [esi + 0xb5c]
push 0
mov edx, dword [ecx]
jmp 0x509a9b
push 1
call dword [eax + 0x14]
mov ecx, dword [esi + 0xb5c]
push 1
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [0x6833d0]
call fcn.005d0f00
add eax, 0xffffffde
cmp eax, 0xd
ja case.0x509abd.36
xor ecx, ecx
mov cl, byte [eax + 0x50a6cc]
jmp dword [ecx*4 + 0x50a6c0]
mov ecx, dword [esi + 0xaf8]
push 1
call fcn.004b95e0
mov ecx, dword [esi + 0xb00]
call fcn.004b9800
mov ecx, dword [esi + 0xb00]
push 1
call fcn.004b9520
mov ecx, dword [esi + 0xb00]
push 0x22
push 0x34e8
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x23
push 0x34e9
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x24
push 0x34ea
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x25
push 0x34eb
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x26
push 0x34ec
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x27
push 0x34ed
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x28
push 0x34ee
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x29
push 0x34ef
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x2a
push 0x34f0
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x2b
push 0x34f1
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0
call fcn.004b9520
mov ecx, dword [esi + 0xb00]
push 0x2f
push 0x2a8a
push 0
call fcn.004b96d0
mov ecx, dword [0x6833d0]
call fcn.005d0f00
mov ecx, dword [esi + 0xb00]
push eax
call fcn.004b95e0
test eax, eax
jne 0x509f40
mov ecx, dword [esi + 0xb00]
push 0x22
call fcn.004b95e0
push 0x22
jmp 0x509f35
mov ecx, dword [esi + 0xaf8]
push ebp
push 2
call fcn.004b95e0
mov ecx, dword [esi + 0xb00]
call fcn.004b9800
mov ecx, dword [esi + 0xb00]
push 1
call fcn.004b9520
mov edx, dword [0x6833d0]
lea ecx, [esp + 0x248]
mov eax, dword [edx + 0x28]
add eax, 0x187b
push eax
push str._s.rms
push ecx
call fcn.00613634
lea edx, [esp + 0x38]
lea eax, [esp + 0x254]
push edx
push eax
call fcn.0061401c
mov ebp, eax
add esp, 0x14
cmp ebp, 0xffffffff
je 0x509cad
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x144]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x40]
sub edi, 4
push edi
push ecx
push edx
call fcn.00613360
mov ecx, dword [esi + 0xb00]
add esp, 0xc
lea eax, [esp + 0x144]
mov byte [esp + edi + 0x144], 0
push 0x2c
push eax
call fcn.004b9640
lea ecx, [esp + 0x2c]
push ecx
push ebp
call fcn.006140e6
add esp, 8
cmp eax, 0xffffffff
jne 0x509c54
mov ecx, dword [esi + 0xb00]
push 0
call fcn.004b9540
mov ecx, dword [0x6833d0]
call fcn.005d0f10
mov ecx, dword [esi + 0xb00]
push eax
call fcn.004b9590
pop ebp
jmp 0x509f40
mov ecx, dword [esi + 0xaf8]
push 0
call fcn.004b95e0
mov ecx, dword [esi + 0xb00]
call fcn.004b9800
mov ecx, dword [esi + 0xb00]
push 1
call fcn.004b9520
mov ecx, dword [esi + 0xb00]
push 9
push 0x2a7b
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x1d
push 0x2a8f
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0xa
push 0x2a7c
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0xb
push 0x2a7d
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0xc
push 0x2a7e
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0xd
push 0x2a7f
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0xe
push 0x2a80
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.004242a0
test eax, eax
je 0x509d9b
mov ecx, dword [esi + 0xb00]
push 0xf
push 0x2a81
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d1340
cmp al, 7
je 0x509dbc
mov ecx, dword [esi + 0xb00]
push 0x10
push 0x2a82
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x20
push 0x2a92
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x11
push 0x2a83
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x12
push 0x2a84
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x13
push 0x2a85
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x14
push 0x2a86
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.004242a0
test eax, eax
je 0x509e37
mov ecx, dword [esi + 0xb00]
push 0x15
push 0x2a87
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x1a
push 0x2a8c
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d1340
cmp al, 7
je 0x509e6a
mov ecx, dword [esi + 0xb00]
push 0x21
push 0x2a95
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x1f
push 0x2a91
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x16
push 0x2a88
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x1c
push 0x2a8d
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x19
push 0x2a8b
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x17
push 0x2a89
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0x1b
push 0x2a8e
call fcn.004b9670
mov ecx, dword [esi + 0xb00]
push 0
call fcn.004b9520
mov ecx, dword [esi + 0xb00]
push 0x18
push 0x2a8a
push 0
call fcn.004b96d0
mov ecx, dword [esi + 0xb00]
push 0x2d
push 0x2a93
push 1
call fcn.004b96d0
mov ecx, dword [0x6833d0]
call fcn.005d0f00
mov ecx, dword [esi + 0xb00]
push eax
call fcn.004b95e0
test eax, eax
jne 0x509f40
mov ecx, dword [esi + 0xb00]
push 0xd
call fcn.004b95e0
push 0xd
mov ecx, dword [0x6833d0]
call fcn.005d0f40
mov ecx, esi
call fcn.0050ce30
mov ecx, dword [esi + 0xb08]
test ecx, ecx
je 0x509fe9
call fcn.004b9800
mov ecx, dword [esi + 0xb08]
push 0
push 0x2973
call fcn.004b9670
mov ecx, dword [esi + 0xb08]
push 1
push 0x2974
call fcn.004b9670
mov ecx, dword [esi + 0xb08]
push 2
push 0x2975
call fcn.004b9670
mov ecx, dword [esi + 0xb08]
push 3
push 0x2976
call fcn.004b9670
mov ecx, dword [esi + 0xb08]
push 4
push 0x2977
call fcn.004b9670
mov ecx, dword [esi + 0xb08]
push 5
push 0x2978
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d0dd0
mov ecx, dword [esi + 0xb08]
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xb08]
push eax
call fcn.004b9540
mov ecx, dword [esi + 0xb10]
call fcn.004b9800
mov ecx, dword [esi + 0xb10]
push 4
push 0x2bd4
call fcn.004b9670
mov ecx, dword [esi + 0xb10]
push 3
push 0x2bd3
call fcn.004b9670
mov ecx, dword [esi + 0xb10]
push 2
push 0x2bd2
call fcn.004b9670
mov ecx, dword [esi + 0xb10]
push 1
push 0x2bd1
call fcn.004b9670
mov ecx, dword [esi + 0xb10]
push 0
push 0x2bd0
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.004244e0
mov ecx, dword [esi + 0xb10]
push eax
call fcn.004b95e0
mov ecx, dword [esi + 0xb18]
call fcn.004b9800
mov ecx, dword [esi + 0xb18]
push 0
push 0x10e7
call fcn.004b9670
mov ecx, dword [esi + 0xb18]
push 1
push 0x2608
call fcn.004b9670
mov ecx, dword [esi + 0xb18]
push 2
push 0x2609
call fcn.004b9670
mov ecx, dword [esi + 0xb18]
push 3
push 0x260a
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d12f0
mov ecx, dword [esi + 0xb18]
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xb18]
push eax
call fcn.004b9540
mov ecx, dword [esi + 0xb20]
call fcn.004b9800
mov ecx, dword [esi + 0xb20]
push 0
push 0x10e7
call fcn.004b9670
mov ecx, dword [esi + 0xb20]
push 2
push 0x1069
call fcn.004b9670
mov ecx, dword [esi + 0xb20]
push 3
push 0x106a
call fcn.004b9670
mov ecx, dword [esi + 0xb20]
push 4
push 0x106b
call fcn.004b9670
mov ecx, dword [esi + 0xb20]
push 5
push 0x106c
call fcn.004b9670
mov ecx, dword [esi + 0xb20]
push 6
push 0x106d
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d1300
mov ecx, dword [esi + 0xb20]
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xb20]
push eax
call fcn.004b9540
mov ecx, dword [esi + 0xb78]
call fcn.004b9800
mov ecx, dword [esi + 0xb78]
push 0
push 0x261b
call fcn.004b9670
mov ecx, dword [esi + 0xb78]
push 1
push 0x261c
call fcn.004b9670
mov ecx, dword [esi + 0xb78]
push 2
push 0x261d
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d0db0
mov ecx, dword [esi + 0xb78]
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xb78]
push eax
call fcn.004b9540
mov ecx, dword [esi + 0xb28]
call fcn.004b9800
mov edi, 0x19
push edi
lea edx, [esp + 0xc]
push 0x66ad04
push edx
call fcn.00613634
mov ecx, dword [esi + 0xb28]
add esp, 0xc
lea eax, [esp + 8]
push edi
push eax
call fcn.004b9640
add edi, 0x19
cmp edi, 0xc8
jle 0x50a1e9
mov ecx, dword [0x6833d0]
call fcn.005d1350
mov ecx, dword [esi + 0xb28]
and eax, 0xff
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xb28]
push eax
call fcn.004b9540
mov ecx, dword [esi + 0xb70]
test ecx, ecx
je 0x50a2db
call fcn.004b9800
mov ecx, dword [esi + 0xb70]
push 0
push 0x332d
call fcn.004b9670
mov ecx, dword [esi + 0xb70]
push 1
push 0x332e
call fcn.004b9670
mov ecx, dword [esi + 0xb70]
push 2
push 0x332f
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.00424290
mov ecx, dword [0x6833d0]
test eax, eax
je 0x50a2a5
call fcn.004247f0
jmp 0x50a2aa
call fcn.00424800
fcom qword [0x634960]
fnstsw ax
test ah, 0x40
je 0x50a2bd
fstp st(0)
push 0
jmp 0x50a2d0
fcomp qword [0x640b18]
fnstsw ax
test ah, 0x40
je 0x50a2ce
push 1
jmp 0x50a2d0
push 2
mov ecx, dword [esi + 0xb70]
call fcn.004b9540
mov ecx, dword [esi + 0xb30]
call fcn.004b9800
mov ecx, dword [0x6833d0]
mov edx, dword [ecx]
call dword [edx + 0x58]
test eax, eax
push 0
je 0x50a309
mov ecx, dword [esi + 0xb30]
push 0x10e7
call fcn.004b9670
push 9
mov ecx, dword [esi + 0xb30]
push 0x10ec
call fcn.004b9670
mov ecx, dword [esi + 0xb30]
push 1
push 0x10e1
call fcn.004b9670
mov ecx, dword [esi + 0xb30]
push 7
push 0x10e9
call fcn.004b9670
mov ecx, dword [esi + 0xb30]
push 8
push 0x10ea
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.004242a0
test eax, eax
je 0x50a370
mov ecx, dword [esi + 0xb30]
push 0xb
push 0x10ed
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d1130
mov ecx, dword [esi + 0xb30]
push eax
call fcn.004b9740
mov ecx, dword [esi + 0xb30]
push eax
call fcn.004b9540
mov ecx, esi
call fcn.0050d110
mov ecx, dword [esi + 0xb40]
call fcn.004b9800
mov ecx, dword [esi + 0xb40]
push 0x3a98
push 0x2634
call fcn.004b9670
mov ecx, dword [esi + 0xb40]
push 0x32c8
push 0x2635
call fcn.004b9670
mov ecx, dword [esi + 0xb40]
push 0x2af8
push 0x2636
call fcn.004b9670
mov ecx, dword [esi + 0xb40]
push 0x2328
push 0x2637
call fcn.004b9670
mov ecx, dword [esi + 0xb40]
push 0x1b58
push 0x2638
call fcn.004b9670
mov ecx, dword [esi + 0xb40]
push 0x1388
push 0x2639
call fcn.004b9670
mov ecx, dword [esi + 0xb40]
push 0xbb8
push 0x263a
call fcn.004b9670
mov ecx, dword [0x6833d0]
call fcn.005d1130
cmp eax, 7
jne 0x50a456
mov ecx, dword [0x6833d0]
call fcn.005d1140
push eax
jmp 0x50a45b
push 0x2af8
mov ecx, dword [esi + 0xb40]
call fcn.004b9740
mov ecx, dword [esi + 0xb40]
push eax
call fcn.004b9540
mov ecx, dword [esi + 0xb38]
call fcn.004b9800
mov ecx, dword [esi + 0xb38]
push 0x36b0
push str.14000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x32c8
push str.13000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x2ee0
push str.12000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x2af8
push str.11000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x2710
push str.10000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x2328
push str.9000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x1f40
push str.8000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x1b58
push str.7000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x1770
push str.6000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x1388
push str.5000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0xfa0
push str.4000
call fcn.004b9640
mov ecx, dword [esi + 0xb38]
push 0x1f40
call fcn.004b95e0
mov ecx, dword [0x6833d0]
call fcn.005d1130
cmp eax, 8
jne 0x50a59b
mov ecx, dword [0x6833d0]
call fcn.005d1140
mov ecx, dword [esi + 0xb38]
push eax
call fcn.004b95e0
mov eax, dword [esi + 0xb48]
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
call fcn.005d12d0
mov ecx, dword [esi + 0xb48]
neg eax
sbb eax, eax
inc eax
push eax
call dword [edi + 0xf8]
mov eax, dword [esi + 0xb88]
test eax, eax
je 0x50a5e9
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
call fcn.00424840
xor cx, cx
mov cl, al
push ecx
mov ecx, dword [esi + 0xb88]
call dword [edi + 0xf8]
mov ecx, dword [0x6833d0]
call fcn.00424290
test eax, eax
je 0x50a603
mov ecx, dword [0x6833d0]
call fcn.00424810
mov eax, dword [esi + 0xb80]
test eax, eax
je 0x50a62c
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
call fcn.00424830
mov ecx, dword [esi + 0xb80]
xor dx, dx
mov dl, al
push edx
call dword [edi + 0xf8]
mov eax, dword [esi + 0xb50]
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
call fcn.005d12e0
mov ecx, dword [esi + 0xb50]
push eax
call dword [edi + 0xf8]
mov eax, dword [esi + 0xb54]
test eax, eax
je 0x50a670
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
call fcn.004242e0
mov ecx, dword [esi + 0xb54]
push eax
call dword [edi + 0xf8]
mov eax, dword [esi + 0xb90]
test eax, eax
je 0x50a694
mov ecx, dword [0x6833d0]
mov edi, dword [eax]
call fcn.00424300
mov ecx, dword [esi + 0xb90]
push eax
call dword [edi + 0xf8]
pop edi
pop esi
add esp, 0x340
ret