Function at 0x4d6584
Capabilities:
Check http status code
Inspect section memory permissions

Disassembly:
push 0x78
mov eax, 0x61559b
call fcn.005cb937
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x5c], esi
mov edi, edx
mov dword [ebp - 0x68], ebx
call fcn.0040560d
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x68], ecx
cmp eax, ebx
jne 0x4d66f9
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], ebx
call fcn.0049fcff
mov dword [ebp - 4], 1
push dword [eax]
lea ecx, [ebp - 0x48]
call fcn.0040518c
lea eax, [ebp - 0x64]
push eax
mov eax, edi
mov byte [ebp - 4], 2
call fcn.00416f8e
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.0040518c
push ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.0040ca47
push eax
call fcn.0045561e
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
call fcn.004055c2
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00405172
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004055c2
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.00405172
cmp dword [ebp - 0x54], ebx
je 0x4d6646
mov dword [ebp - 0x4c], 0x80000000
cmp dword [edi + 0x34], ebx
jg 0x4d6652
or dword [ebp - 0x4c], 0x10000000
push 1
lea eax, [ebp - 0x54]
push eax
call fcn.0049fcff
mov dword [ebp - 4], 5
push dword [eax]
call fcn.004010df
mov ebx, eax
call fcn.00438a6e
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.00405172
test ebx, ebx
je 0x4d6699
mov ecx, ebx
call fcn.00416fc4
test eax, eax
je 0x4d6699
or dword [ebp - 0x4c], 0x20000000
mov edi, dword [edi + 0x60]
xor eax, eax
test edi, edi
sete al
test eax, eax
je 0x4d66ae
or dword [ebp - 0x4c], 0x40000000
xor eax, eax
cmp edi, 2
sete al
test eax, eax
je 0x4d66c1
or dword [ebp - 0x4c], 0x8000000
push dword [ebp - 0x4c]
mov ecx, 0x400
push str._010u
lea edx, [ebp - 0x48]
call fcn.0054aa9f
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [ebp - 4], 6
call fcn.0040529a
mov byte [ebp - 4], 0
push 0
lea ecx, [ebp - 0x48]
jmp 0x4d6a16
cmp eax, 0xc8
je 0x4d6a72
cmp eax, 2
je 0x4d6a72
cmp eax, ecx
jne 0x4d675f
movzx ecx, byte [edi + 0x64]
mov eax, dword [0x6c1834]
mov eax, dword [eax + 0x364]
push ecx
call fcn.0053a0dd
cmp eax, 0xffffffff
jne 0x4d6730
mov eax, 0x7fffffff
push eax
push str._010u
mov ecx, 0x400
lea edx, [ebp - 0x48]
call fcn.0054aa9f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.0040529a
lea ecx, [ebp - 0x48]
jmp 0x4d6a12
cmp eax, 3
jne 0x4d67a2
mov esi, edi
call fcn.004a0e7a
movzx eax, al
push eax
push str._010u
mov ecx, 0x400
lea edx, [ebp - 0x48]
call fcn.0054aa9f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.0040529a
mov byte [ebp - 4], bl
push ebx
lea ecx, [ebp - 0x48]
jmp 0x4d699d
cmp eax, 0xa
jne 0x4d6883
lea eax, [ebp - 0x54]
push eax
mov eax, edi
call fcn.00416f8e
mov dword [ebp - 4], 0xa
push dword [eax]
mov ecx, esi
call fcn.0040556d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.00405172
cmp dword [esi + 0x18], 0x10
jb 0x4d67df
mov esi, dword [esi + 4]
jmp 0x4d67e2
add esi, 4
mov eax, dword [0x6c1834]
push esi
add eax, 0x388
call fcn.00430290
mov edi, eax
cmp edi, 0xffffffff
jne 0x4d67fb
xor edi, edi
mov eax, dword [0x6c1834]
add eax, 0x388
call fcn.00436446
push eax
lea esi, [ebp - 0x48]
call fcn.0054982d
pop ecx
mov dword [ebp - 4], 0xb
push dword [ebp - 0x34]
mov esi, 0x200
push str.__0_dd
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.0054aa9f
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4d6844
lea eax, [ebp - 0x28]
push edi
push eax
mov ecx, esi
lea edx, [ebp - 0x84]
call fcn.0054aa9f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.0040529a
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.004055c2
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004055c2
jmp 0x4d6796
cmp eax, 0x14
jne 0x4d68c6
mov eax, dword [0x6c1834]
add eax, 0xf0
call fcn.004cea08
push eax
lea eax, [ebp - 0x54]
mov esi, edi
call fcn.0049fde4
mov dword [ebp - 4], 0xe
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.0040556d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.00405172
jmp 0x4d69a4
cmp eax, 0x1e
jne 0x4d69ac
lea eax, [ebp - 0x54]
push eax
mov eax, edi
call fcn.00438aa9
mov dword [ebp - 4], 0xf
push dword [eax]
mov ecx, esi
call fcn.0040556d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.00405172
mov edi, dword [ebp - 0x5c]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x54], esp
push 3
push ebx
push edi
call fcn.00406cc7
lea ebx, [ebp - 0x2c]
call fcn.0054a744
add esp, 0x1c
mov dword [ebp - 4], 0x10
push 0x6558d8
lea ecx, [ebp - 0x2c]
call fcn.00404ae8
test eax, eax
je 0x4d6940
push 0x6558dc
lea ecx, [ebp - 0x2c]
call fcn.00404ae8
test eax, eax
jne 0x4d6994
push 3
push 0
mov ecx, edi
call fcn.0040522b
mov ecx, edi
call fcn.0054a847
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x54], esp
push 3
push 0
push edi
call fcn.00406cc7
lea ebx, [ebp - 0x84]
call fcn.0054a744
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.0040529a
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.004055c2
jmp 0x4d691e
mov byte [ebp - 4], 0
push 0
lea ecx, [ebp - 0x2c]
push 1
call fcn.004055c2
mov esi, dword [ebp - 0x5c]
jmp 0x4d6b0c
cmp eax, 0x28
jne 0x4d69c8
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.004a0279
mov dword [ebp - 4], 0x12
jmp 0x4d6a56
cmp eax, 0x32
jne 0x4d6a22
mov eax, dword [edi + 0x80]
cmp eax, 0xffffffff
jne 0x4d69e0
mov edi, dword [edi + 0x84]
jmp 0x4d69e2
mov edi, eax
push edi
push str._08d
mov ecx, 0x400
lea edx, [ebp - 0x84]
call fcn.0054aa9f
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], 0x13
call fcn.0040529a
lea ecx, [ebp - 0x84]
push ebx
mov byte [ebp - 4], bl
push 1
call fcn.004055c2
jmp 0x4d6b0c
cmp eax, 0x3c
jne 0x4d6a3b
lea eax, [ebp - 0x54]
push eax
mov eax, edi
call fcn.00470931
mov dword [ebp - 4], 0x14
jmp 0x4d6a56
cmp eax, 0x46
jne 0x4d6b0c
lea eax, [ebp - 0x54]
push eax
mov eax, edi
call fcn.0047094c
mov dword [ebp - 4], 0x15
push dword [eax]
mov ecx, esi
call fcn.0040556d
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.00405172
jmp 0x4d6b0c
push edi
call fcn.00565ee7
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
push ecx
fstp qword [esp]
push str._010f
mov ecx, 0x400
lea edx, [ebp - 0x84]
call fcn.0054aa9f
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.0040529a
push ebx
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.004055c2
fldz
fcomp qword [ebp - 0x58]
fnstsw ax
test ah, 0x41
jne 0x4d6b0c
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x4d6b0c
push edi
mov ecx, esi
call fcn.0040b85d
cmp byte [eax], 0x30
jl 0x4d6b06
push edi
mov ecx, esi
call fcn.0040b85d
cmp byte [eax], 0x39
jg 0x4d6b06
push edi
mov ecx, esi
call fcn.0040b85d
movsx eax, byte [eax]
sub eax, 0x39
mov bl, 0x64
push edi
mov ecx, esi
sub bl, al
call fcn.0040b85d
mov byte [eax], bl
inc edi
cmp edi, dword [esi + 0x14]
jl 0x4d6ad0
push esi
call fcn.004b60fb
pop ecx
mov eax, esi
call fcn.005cb9ba
ret