Function at 0x4e65f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6030
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.005414e0
mov ecx, eax
mov dword [ebp - 0x24], ecx
xor edx, edx
mov dword [ebp - 0x14], edx
cmp edx, 0xc8
jge 0x4e6c96
lea esi, [edx + edx*2]
shl esi, 5
add esi, 0x64f610
mov dword [ebp - 0x2c], esi
cmp dword [esi], 3
jne 0x4e6c90
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4e6698
mov eax, dword [esi + 0x3c]
test eax, eax
jle 0x4e6676
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 0x4e6676
dec eax
mov dword [esi + 0x3c], eax
jmp 0x4e6656
mov eax, dword [esi + 0x3c]
test eax, eax
jge 0x4e6698
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 0x4e6698
inc eax
mov dword [esi + 0x3c], eax
jmp 0x4e6676
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4e66e2
nop
mov eax, dword [esi + 0x40]
test eax, eax
jle 0x4e66c0
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 0x4e66c0
dec eax
mov dword [esi + 0x40], eax
jmp 0x4e66a0
mov eax, dword [esi + 0x40]
test eax, eax
jge 0x4e66e2
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 0x4e66e2
inc eax
mov dword [esi + 0x40], eax
jmp 0x4e66c0
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x4e67cb
mov edi, dword [esi + 0x40]
test edi, edi
jne 0x4e67cb
cmp dword [esi + 0x44], ecx
jge 0x4e67cb
cmp dword [esi], 0
jne 0x4e67b6
push str.Effect.Status_0
lea ecx, [ebp - 0x354]
call fcn.00403e20
mov byte [ebp - 4], 1
push 0x5ba7cb
lea ecx, [ebp - 0x2ac]
call fcn.00403e20
mov byte [ebp - 4], 2
push 0x5ba7cb
lea ecx, [ebp - 0xb4]
call fcn.00403e20
mov byte [ebp - 4], 3
push str.assertion_failed
lea ecx, [ebp - 0x370]
call fcn.00403e20
mov byte [ebp - 4], 4
push str..Map.cpp
lea ecx, [ebp - 0xec]
call fcn.00403e20
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 0x408
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0054fb40
push 0x5e02c8
lea edx, [ebp - 0x438]
push edx
call fcn.00560081
push edx
call fcn.004e5db0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
jmp 0x4e6628
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 0x4e6812
cmp ebx, dword [esi + 0x38]
je 0x4e6c8d
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, 0x654110
call fcn.004ded10
mov ecx, eax
call fcn.004d8f30
cmp eax, dword [ebp - 0x14]
jne 0x4e6912
mov ebx, dword [esi + 0x5c]
push 0xc7
push 0xffffffffffffffff
push ebx
call fcn.00401100
add esp, 0xc
test al, al
jne 0x4e68f9
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x2e4]
call fcn.00403e20
mov byte [ebp - 4], 6
push 0x5ba7cb
lea ecx, [ebp - 0x124]
call fcn.00403e20
mov byte [ebp - 4], 7
push str.Effect.Next
lea ecx, [ebp - 0x38c]
call fcn.00403e20
mov byte [ebp - 4], 8
push str.assertion_failed
lea ecx, [ebp - 0x15c]
call fcn.00403e20
mov byte [ebp - 4], 9
push str..Map.cpp
lea ecx, [ebp - 0x31c]
call fcn.00403e20
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 0x411
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x564]
call fcn.0054fb40
push 0x5e02c8
lea edx, [ebp - 0x564]
push edx
call fcn.00560081
push ebx
mov eax, dword [esi + 0x54]
push eax
mov ecx, 0x654110
call fcn.004ded10
mov ecx, eax
call fcn.004d8dd0
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x4e69f3
mov eax, dword [esi + 0x5c]
push 0xc7
push 0xffffffffffffffff
push eax
call fcn.00401100
add esp, 0xc
test al, al
jne 0x4e69e1
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x194]
call fcn.00403e20
mov byte [ebp - 4], 0xb
push 0x5ba7cb
lea ecx, [ebp - 0x3c4]
call fcn.00403e20
mov byte [ebp - 4], 0xc
push str.Effect.Next
lea ecx, [ebp - 0x1cc]
call fcn.00403e20
mov byte [ebp - 4], 0xd
push str.assertion_failed
lea ecx, [ebp - 0x60]
call fcn.00403e20
mov byte [ebp - 4], 0xe
push str..Map.cpp
lea ecx, [ebp - 0x204]
call fcn.00403e20
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 0x415
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.0054fb40
push 0x5e02c8
lea ecx, [ebp - 0x4ec]
push ecx
call fcn.00560081
mov eax, dword [esi + 0x58]
lea edx, [eax + eax*2]
shl edx, 5
mov eax, dword [esi + 0x5c]
mov dword [edx + 0x64f66c], eax
cmp dword [esi + 0x5c], 0xffffffff
je 0x4e6ad8
mov eax, dword [esi + 0x58]
push 0xc7
push 0xffffffffffffffff
push eax
call fcn.00401100
add esp, 0xc
test al, al
jne 0x4e6ac6
push str.In_Effect.Previous__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x3fc]
call fcn.00403e20
mov byte [ebp - 4], 0x10
push 0x5ba7cb
lea ecx, [ebp - 0x23c]
call fcn.00403e20
mov byte [ebp - 4], 0x11
push str.Effect.Previous
lea ecx, [ebp - 0x3e0]
call fcn.00403e20
mov byte [ebp - 4], 0x12
push str.assertion_failed
lea ecx, [ebp - 0x274]
call fcn.00403e20
mov byte [ebp - 4], 0x13
push str..Map.cpp
lea ecx, [ebp - 0x3a8]
call fcn.00403e20
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 0x419
lea edx, [ebp - 0x3a8]
push edx
lea ecx, [ebp - 0x474]
call fcn.0054fb40
push 0x5e02c8
lea eax, [ebp - 0x474]
push eax
call fcn.00560081
mov eax, dword [esi + 0x5c]
lea ecx, [eax + eax*2]
shl ecx, 5
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x64f668], 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.004d7670
push 0x11
push 0
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00401100
add esp, 0x18
test al, al
je 0x4e6b2b
push 0xd
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401100
add esp, 0xc
test al, al
je 0x4e6b2b
push 7
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401100
add esp, 0xc
test al, al
jne 0x4e6b36
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.004df440
add esp, 0x10
mov ecx, eax
call fcn.004d9770
push eax
mov ecx, 0x654110
call fcn.004ded10
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.004df440
add esp, 0x10
mov ecx, eax
call fcn.004d9770
mov dword [esi + 0x54], eax
push 0xc7
push 0xffffffffffffffff
mov ecx, edi
call fcn.004d8f30
push eax
call fcn.00401100
add esp, 0xc
test al, al
jne 0x4e6c4c
push str.In_Point.getEffectNumber____1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x7c]
call fcn.00403e20
mov byte [ebp - 4], 0x15
push 0x5ba7cb
lea ecx, [ebp - 0x98]
call fcn.00403e20
mov byte [ebp - 4], 0x16
push str.Point.getEffectNumber__
lea ecx, [ebp - 0xd0]
call fcn.00403e20
mov byte [ebp - 4], 0x17
push str.assertion_failed
lea ecx, [ebp - 0x108]
call fcn.00403e20
mov byte [ebp - 4], 0x18
push str..Map.cpp
lea ecx, [ebp - 0x140]
call fcn.00403e20
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x7c]
push ecx
push 0
lea edx, [ebp - 0x98]
push edx
mov ecx, edi
call fcn.004d8f30
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x422
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x4b0]
call fcn.0054fb40
push 0x5e02c8
lea eax, [ebp - 0x4b0]
push eax
call fcn.00560081
mov ecx, edi
call fcn.004d8f30
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], 0xffffffff
mov ecx, edi
call fcn.004d8f30
cmp eax, 0xffffffff
je 0x4e6c7f
mov ecx, edi
call fcn.004d8f30
lea ecx, [eax + eax*2]
shl ecx, 5
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x64f668], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004d8dd0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
jmp 0x4e6628
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