Function at 0x4d5343
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e4
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
push 0x120
lea eax, [ebp - 0x1c8]
push esi
push eax
mov byte [edi + 0x295], 0
mov byte [edi + 0x296], 0
mov byte [edi + 0x297], 0
mov byte [edi + 0x298], 1
mov byte [edi + 0x299], 0
mov byte [edi + 0x29e], 0
mov byte [edi + 0x29c], 0
mov byte [edi + 0x29d], 0
mov byte [edi + 0x29a], 0
mov byte [edi + 0x29b], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0xd], 0
mov word [edi + 0x307], si
mov byte [ebp - 0xe], 0
mov dword [edi + 0x309], esi
mov byte [ebp + 0x13], 1
call fcn.005fc0d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
mov dword [ebp - 0x18], 0xc8
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
xor edx, edx
mov ecx, eax
jmp 0x4d5404
mov ecx, dword [ecx]
inc edx
cmp ecx, esi
jne 0x4d5401
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
jmp 0x4d544f
mov eax, dword [eax + 4]
cmp eax, 0x87
je 0x4d5440
cmp eax, 0x86
je 0x4d5426
cmp eax, 0x50
jne 0x4d542c
add dword [ebp - 0x14], 0xe
jmp 0x4d5444
cmp eax, 0x32
je 0x4d5440
cmp eax, 0x33
je 0x4d5440
cmp eax, 0x36
je 0x4d5440
cmp eax, 0x35
jne 0x4d5444
add dword [ebp - 0x14], 2
lea ecx, [ebp - 0x24]
call fcn.004ab9b1
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x4d5410
and dword [ebp - 0x2c], esi
lea esi, [ebp - 0x2c]
call fcn.0059f2e3
inc dword [ebp - 0x14]
mov eax, esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebx]
test eax, eax
je 0x4d5471
call fcn.0059d7a9
mov esi, dword [ebp - 0x14]
call fcn.0059ebfa
test eax, eax
mov dword [ebx], eax
je 0x4d67a6
mov ecx, esi
mov dword [ebx + 4], ecx
mov word [eax + 4], 0x2461
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 6], eax
mov ecx, dword [ebx]
mov dword [ecx + 0x12], eax
mov ecx, dword [ebx]
mov dword [ecx + 0x16], eax
cmp dword [edi + 0x355], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
je 0x4d67a6
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
cmp ecx, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp + 0xc], ecx
je 0x4d5a92
mov ecx, dword [edi + 0x355]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4d5a90
cmp dword [ebp - 0x18], 2
je 0x4d54f8
cmp dword [ebp - 0x18], 0x2c1
jne 0x4d5549
cmp byte [edi + 0x2aa], 0
jne 0x4d5549
cmp byte [edi + 0x2ac], 0
jne 0x4d5549
cmp byte [edi + 0x2ad], 0
jne 0x4d5549
mov esi, dword [ebp - 8]
lea ecx, [esi - 1]
cmp ecx, dword [ebp - 0xc]
jle 0x4d5541
mov eax, ecx
imul eax, eax, 0x1a
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx]
lea ecx, [ecx + eax + 0x16]
cmp dword [ecx], 0
jge 0x4d5539
mov edx, dword [ebp - 4]
mov dword [ecx], edx
sub eax, 0x1a
dec dword [ebp - 0x18]
jne 0x4d5529
lea eax, [esi - 1]
mov dword [ebp - 0xc], eax
jmp 0x4d554c
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
cmp eax, 0x50
ja 0x4d5fa1
je 0x4d5e48
cmp eax, 0x23
ja 0x4d594e
je 0x4d5917
cmp eax, 0xd
ja 0x4d5718
je 0x4d56ef
sub eax, 0
je 0x4d60d2
dec eax
je 0x4d601a
dec eax
je 0x4d56b4
dec eax
je 0x4d60d2
sub eax, 7
je 0x4d5659
dec eax
je 0x4d561a
dec eax
jne 0x4d5a6c
cmp byte [edi + 0x296], al
je 0x4d55e3
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebx]
imul eax, eax, 0x1a
add eax, ecx
cmp word [eax + 4], 0x836
jne 0x4d55e3
cmp dword [eax + 0x16], 0
jge 0x4d55e3
mov ecx, edx
mov dword [eax + 0x16], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
imul eax, eax, 0x1a
mov byte [edi + 0x296], 1
mov ecx, dword [ebx]
mov word [ecx + eax + 4], 0x836
mov ecx, dword [ebx]
mov dword [ecx + eax + 6], 1
mov ecx, dword [ebx]
mov dword [ecx + eax + 0x12], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x60], eax
inc dword [ebp - 8]
jmp 0x4d5a6c
cmp byte [edi + 0x295], 0
je 0x4d5a6c
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x1a
mov byte [edi + 0x295], 0
mov ecx, dword [ebx]
add eax, ecx
cmp word [eax + 4], 0x835
jne 0x4d5a6c
cmp dword [eax + 0x16], 0
jge 0x4d5a6c
mov ecx, dword [ebp - 4]
mov dword [eax + 0x16], ecx
jmp 0x4d5a6c
cmp byte [edi + 0x295], 0
je 0x4d5680
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebx]
imul eax, eax, 0x1a
add eax, ecx
cmp word [eax + 4], 0x835
jne 0x4d5680
cmp dword [eax + 0x16], 0
jge 0x4d5680
mov ecx, dword [ebp - 4]
mov dword [eax + 0x16], ecx
mov eax, esi
imul eax, eax, 0x1a
mov byte [edi + 0x295], 1
mov ecx, dword [ebx]
mov word [ecx + eax + 4], 0x835
mov ecx, dword [ebx]
mov dword [ecx + eax + 6], 1
mov dword [ebp - 0x58], esi
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov dword [ecx + eax + 0x12], edx
inc esi
mov dword [ebp - 8], esi
jmp 0x4d5a6c
cmp byte [edi + 0x2aa], 0
jne 0x4d56dc
cmp byte [edi + 0x2ac], 0
jne 0x4d56dc
cmp byte [edi + 0x2ad], 0
jne 0x4d56dc
push 0xd
lea eax, [ebp - 0x48]
call fcn.00496b7a
inc dword [ebp - 4]
cmp byte [ebp - 0xd], 0
je 0x4d66ce
mov byte [ebp + 0x13], 1
jmp 0x4d66ce
cmp byte [edi + 0x296], 0
je 0x4d5a6c
mov eax, dword [ebp - 0x60]
imul eax, eax, 0x1a
mov byte [edi + 0x296], 0
mov ecx, dword [ebx]
add eax, ecx
cmp word [eax + 4], 0x836
jmp 0x4d563e
sub eax, 0xe
je 0x4d58cc
dec eax
je 0x4d58a3
dec eax
je 0x4d5824
sub eax, 0xf
je 0x4d656f
dec eax
je 0x4d5c4e
dec eax
je 0x4d57d7
dec eax
jne 0x4d5a6c
mov eax, dword [ebp - 8]
dec eax
cmp eax, dword [ebp - 0xc]
jle 0x4d5784
mov ecx, dword [ebx]
mov edx, eax
imul edx, edx, 0x1a
lea edx, [edx + ecx + 4]
cmp word [edx], 0x6870
je 0x4d5773
dec eax
sub edx, 0x1a
cmp eax, dword [ebp - 0xc]
jg 0x4d5761
jmp 0x4d5784
imul eax, eax, 0x1a
lea eax, [eax + ecx + 0x16]
cmp dword [eax], 0
jge 0x4d5784
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x299], 1
mov eax, dword [eax + 8]
add eax, 4
push 0x66644c
push eax
call fcn.005fa805
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebx]
bswap eax
shr eax, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
add esp, 0xc
imul eax, eax, 0x1a
mov word [ecx + eax + 4], 0x6870
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + eax + 6], edx
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
mov dword [ecx + eax + 0x12], edx
jmp 0x4d5612
lea eax, [esi - 1]
cmp eax, dword [ebp - 0xc]
mov byte [edi + 0x29a], 0
jle 0x4d5a6c
mov ecx, dword [ebx]
mov edx, eax
imul edx, edx, 0x1a
lea edx, [edx + ecx + 4]
cmp word [edx], 0xca71
je 0x4d580a
dec eax
sub edx, 0x1a
cmp eax, dword [ebp - 0xc]
jg 0x4d57f5
jmp 0x4d5a6c
imul eax, eax, 0x1a
lea eax, [eax + ecx + 0x16]
cmp dword [eax], 0
jge 0x4d5a6c
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x4d5a6c
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
lea eax, [esi - 1]
cmp eax, dword [ebp - 0xc]
jle 0x4d5880
mov ecx, dword [ebx]
mov edx, eax
imul edx, edx, 0x1a
lea edx, [edx + ecx + 4]
cmp word [edx], 0x2a48
je 0x4d5852
dec eax
sub edx, 0x1a
cmp eax, dword [ebp - 0xc]
jg 0x4d5840
jmp 0x4d5880
mov edx, eax
imul edx, edx, 0x1a
add ecx, edx
cmp dword [ecx + 0x16], 0
jge 0x4d5880
test eax, eax
jl 0x4d5874
mov edx, dword [ecx + 6]
cmp edx, dword [ebp - 0x18]
je 0x4d5874
mov eax, dword [ebp - 4]
mov dword [ecx + 0x16], eax
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x4d5a6c
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, esi
imul eax, eax, 0x1a
mov byte [edi + 0x2ae], 1
mov ecx, dword [ebx]
mov word [ecx + eax + 4], 0x2a48
mov ecx, dword [ebx]
mov dword [ecx + eax + 6], edx
jmp 0x4d56a2
cmp byte [edi + 0x297], 0
je 0x4d5a6c
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x1a
mov byte [edi + 0x297], 0
mov ecx, dword [ebx]
add eax, ecx
cmp word [eax + 4], 0x2a3e
jmp 0x4d563e
cmp byte [edi + 0x297], 0
je 0x4d58f0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebx]
imul eax, eax, 0x1a
add eax, ecx
cmp word [eax + 4], 0x2a3e
jne 0x4d58f0
cmp dword [eax + 0x16], 0
jge 0x4d58f0
mov dword [eax + 0x16], edx
mov eax, esi
imul eax, eax, 0x1a
mov byte [edi + 0x297], 1
mov ecx, dword [ebx]
mov word [ecx + eax + 4], 0x2a3e
mov ecx, dword [ebx]
mov dword [ecx + eax + 6], 1
mov dword [ebp - 0x50], esi
jmp 0x4d56a5
lea eax, [esi - 1]
cmp eax, dword [ebp - 0xc]
mov byte [edi + 0x299], 0
jle 0x4d5a6c
mov ecx, dword [ebx]
mov edx, eax
imul edx, edx, 0x1a
lea edx, [edx + ecx + 4]
cmp word [edx], 0x6870
je 0x4d580a
dec eax
sub edx, 0x1a
cmp eax, dword [ebp - 0xc]
jg 0x4d5935
jmp 0x4d5a6c
cmp eax, 0x36
ja 0x4d5d71
je 0x4d59b0
sub eax, 0x24
je 0x4d5c4e
dec eax
je 0x4d5c24
dec eax
je 0x4d5b86
sub eax, 0xc
je 0x4d5b44
dec eax
je 0x4d5a3a
dec eax
je 0x4d59cb
dec eax
jne 0x4d5a6c
mov ecx, dword [edi + 0x284]
test ecx, ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
je 0x4d671c
add eax, 0x20c
push eax
push ecx
call fcn.004db722
mov dword [edi + 0x349], eax
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edi, ebx
call fcn.004d697e
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x349]
jmp 0x4d5a57
lea eax, [esi - 1]
cmp eax, dword [ebp - 0xc]
jle 0x4d5a04
mov ecx, dword [ebx]
mov edx, eax
imul edx, edx, 0x1a
lea edx, [edx + ecx + 4]
cmp word [edx], 0x4a43
je 0x4d59f0
dec eax
sub edx, 0x1a
cmp eax, dword [ebp - 0xc]
jg 0x4d59de
jmp 0x4d5a01
imul eax, eax, 0x1a
lea eax, [eax + ecx + 0x16]
cmp dword [eax], 0
jge 0x4d5a01
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov byte [edi + 0x29c], 1
mov eax, dword [ecx + 8]
add eax, 4
push eax
call fcn.005f9ab3
mov edx, dword [ebx]
pop ecx
mov ecx, esi
imul ecx, ecx, 0x1a
mov word [edx + ecx + 4], 0x4a43
mov edx, dword [ebx]
mov dword [edx + ecx + 6], eax
mov eax, dword [ebx]
mov edx, dword [ebp - 4]
mov dword [eax + ecx + 0x12], edx
jmp 0x4d56ab
mov esi, dword [ebp + 8]
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edi, ebx
mov byte [esi + 0x29d], 0
call fcn.004d697e
mov esi, dword [esi + 0x349]
test esi, esi
jl 0x4d5a69
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
invalid