Function at 0x4d18a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x594
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call fcn.00528eb0
mov ecx, eax
mov dword [ebp - 0x24], ecx
xor edx, edx
mov dword [ebp - 0x14], edx
cmp edx, 0xc8
jge 0x4d1f46
lea esi, [edx + edx*2]
shl esi, 5
add esi, 0x619900
mov dword [ebp - 0x2c], esi
cmp dword [esi], 3
jne 0x4d1f40
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4d1948
mov eax, dword [esi + 0x3c]
test eax, eax
jle 0x4d1926
mov edi, dword [esi + 0x44]
sub edi, ecx
imul edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x50]
imul ebx, eax
cmp ebx, edi
jle 0x4d1926
dec eax
mov dword [esi + 0x3c], eax
jmp 0x4d1906
mov eax, dword [esi + 0x3c]
test eax, eax
jge 0x4d1948
mov edi, dword [esi + 0x44]
sub edi, ecx
imul edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x50]
imul ebx, eax
neg ebx
cmp ebx, edi
jle 0x4d1948
inc eax
mov dword [esi + 0x3c], eax
jmp 0x4d1926
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4d1992
nop
mov eax, dword [esi + 0x40]
test eax, eax
jle 0x4d1970
mov edi, dword [esi + 0x44]
sub edi, ecx
imul edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x50]
imul ebx, eax
cmp ebx, edi
jle 0x4d1970
dec eax
mov dword [esi + 0x40], eax
jmp 0x4d1950
mov eax, dword [esi + 0x40]
test eax, eax
jge 0x4d1992
mov edi, dword [esi + 0x44]
sub edi, ecx
imul edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x50]
imul ebx, eax
neg ebx
cmp ebx, edi
jle 0x4d1992
inc eax
mov dword [esi + 0x40], eax
jmp 0x4d1970
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x4d1a7b
mov edi, dword [esi + 0x40]
test edi, edi
jne 0x4d1a7b
cmp dword [esi + 0x44], ecx
jge 0x4d1a7b
cmp dword [esi], 0
jne 0x4d1a66
push str.Effect.Status_0
lea ecx, [ebp - 0x354]
call fcn.00403cb0
mov byte [ebp - 4], 1
push 0x5955cf
lea ecx, [ebp - 0x2ac]
call fcn.00403cb0
mov byte [ebp - 4], 2
push 0x5955cf
lea ecx, [ebp - 0xb4]
call fcn.00403cb0
mov byte [ebp - 4], 3
push str.assertion_failed
lea ecx, [ebp - 0x370]
call fcn.00403cb0
mov byte [ebp - 4], 4
push str..Map.cpp
lea ecx, [ebp - 0xec]
call fcn.00403cb0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x354]
push eax
push 0
lea ecx, [ebp - 0x2ac]
push ecx
push 0
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0x370]
push eax
push 0x3a8
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00535de0
push 0x5b7828
lea edx, [ebp - 0x438]
push edx
call fcn.0053fb12
push edx
call fcn.004d10a0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
jmp 0x4d18d8
mov edx, dword [esi + 0x28]
shl edx, 5
lea eax, [edx + eax + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov edi, eax
sar edi, 5
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 0x2c]
shl eax, 5
mov edx, dword [esi + 0x40]
lea eax, [eax + edx + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov ebx, eax
sar ebx, 5
mov dword [ebp - 0x18], ebx
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x1c], eax
cmp edi, dword [esi + 0x34]
jne 0x4d1ac2
cmp ebx, dword [esi + 0x38]
je 0x4d1f3d
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, 0x61e400
call fcn.004ca170
mov ecx, eax
call fcn.004c5460
cmp eax, dword [ebp - 0x14]
jne 0x4d1bc2
mov ebx, dword [esi + 0x5c]
push 0xc7
push 0xffffffffffffffff
push ebx
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4d1ba9
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x2e4]
call fcn.00403cb0
mov byte [ebp - 4], 6
push 0x5955cf
lea ecx, [ebp - 0x124]
call fcn.00403cb0
mov byte [ebp - 4], 7
push str.Effect.Next
lea ecx, [ebp - 0x38c]
call fcn.00403cb0
mov byte [ebp - 4], 8
push str.assertion_failed
lea ecx, [ebp - 0x15c]
call fcn.00403cb0
mov byte [ebp - 4], 9
push str..Map.cpp
lea ecx, [ebp - 0x31c]
call fcn.00403cb0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2e4]
push edx
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [esi + 0x5c]
push ecx
lea edx, [ebp - 0x38c]
push edx
lea eax, [ebp - 0x15c]
push eax
push 0x3b1
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x564]
call fcn.00535de0
push 0x5b7828
lea edx, [ebp - 0x564]
push edx
call fcn.0053fb12
push ebx
mov eax, dword [esi + 0x54]
push eax
mov ecx, 0x61e400
call fcn.004ca170
mov ecx, eax
call fcn.004c5300
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x4d1ca3
mov eax, dword [esi + 0x5c]
push 0xc7
push 0xffffffffffffffff
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4d1c91
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x194]
call fcn.00403cb0
mov byte [ebp - 4], 0xb
push 0x5955cf
lea ecx, [ebp - 0x3c4]
call fcn.00403cb0
mov byte [ebp - 4], 0xc
push str.Effect.Next
lea ecx, [ebp - 0x1cc]
call fcn.00403cb0
mov byte [ebp - 4], 0xd
push str.assertion_failed
lea ecx, [ebp - 0x60]
call fcn.00403cb0
mov byte [ebp - 4], 0xe
push str..Map.cpp
lea ecx, [ebp - 0x204]
call fcn.00403cb0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x194]
push ecx
push 0
lea edx, [ebp - 0x3c4]
push edx
mov eax, dword [esi + 0x5c]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0x3b5
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.00535de0
push 0x5b7828
lea ecx, [ebp - 0x4ec]
push ecx
call fcn.0053fb12
mov eax, dword [esi + 0x58]
lea edx, [eax + eax*2]
shl edx, 5
mov eax, dword [esi + 0x5c]
mov dword [edx + 0x61995c], eax
cmp dword [esi + 0x5c], 0xffffffff
je 0x4d1d88
mov eax, dword [esi + 0x58]
push 0xc7
push 0xffffffffffffffff
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4d1d76
push str.In_Effect.Previous__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x3fc]
call fcn.00403cb0
mov byte [ebp - 4], 0x10
push 0x5955cf
lea ecx, [ebp - 0x23c]
call fcn.00403cb0
mov byte [ebp - 4], 0x11
push str.Effect.Previous
lea ecx, [ebp - 0x3e0]
call fcn.00403cb0
mov byte [ebp - 4], 0x12
push str.assertion_failed
lea ecx, [ebp - 0x274]
call fcn.00403cb0
mov byte [ebp - 4], 0x13
push str..Map.cpp
lea ecx, [ebp - 0x3a8]
call fcn.00403cb0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x3fc]
push eax
push 0
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [esi + 0x58]
push edx
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x274]
push ecx
push 0x3b9
lea edx, [ebp - 0x3a8]
push edx
lea ecx, [ebp - 0x474]
call fcn.00535de0
push 0x5b7828
lea eax, [ebp - 0x474]
push eax
call fcn.0053fb12
mov eax, dword [esi + 0x5c]
lea ecx, [eax + eax*2]
shl ecx, 5
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x619958], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004c4380
push 0x11
push 0
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00401000
add esp, 0x18
test al, al
je 0x4d1ddb
push 0xd
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401000
add esp, 0xc
test al, al
je 0x4d1ddb
push 7
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4d1de6
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.004ca9b0
add esp, 0x10
mov ecx, eax
call fcn.004c5a60
push eax
mov ecx, 0x61e400
call fcn.004ca170
mov edi, eax
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.004ca9b0
add esp, 0x10
mov ecx, eax
call fcn.004c5a60
mov dword [esi + 0x54], eax
push 0xc7
push 0xffffffffffffffff
mov ecx, edi
call fcn.004c5460
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4d1efc
push str.In_Point.getEffectNumber____1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x7c]
call fcn.00403cb0
mov byte [ebp - 4], 0x15
push 0x5955cf
lea ecx, [ebp - 0x98]
call fcn.00403cb0
mov byte [ebp - 4], 0x16
push str.Point.getEffectNumber__
lea ecx, [ebp - 0xd0]
call fcn.00403cb0
mov byte [ebp - 4], 0x17
push str.assertion_failed
lea ecx, [ebp - 0x108]
call fcn.00403cb0
mov byte [ebp - 4], 0x18
push str..Map.cpp
lea ecx, [ebp - 0x140]
call fcn.00403cb0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x7c]
push ecx
push 0
lea edx, [ebp - 0x98]
push edx
mov ecx, edi
call fcn.004c5460
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x3c2
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x4b0]
call fcn.00535de0
push 0x5b7828
lea eax, [ebp - 0x4b0]
push eax
call fcn.0053fb12
mov ecx, edi
call fcn.004c5460
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], 0xffffffff
mov ecx, edi
call fcn.004c5460
cmp eax, 0xffffffff
je 0x4d1f2f
mov ecx, edi
call fcn.004c5460
lea ecx, [eax + eax*2]
shl ecx, 5
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x619958], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004c5300
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
jmp 0x4d18d8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret