Function at 0x4e1760
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ffb0
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.0053c0f0
mov ecx, eax
mov dword [ebp - 0x24], ecx
xor edx, edx
mov dword [ebp - 0x14], edx
cmp edx, 0xc8
jge 0x4e1e06
lea esi, [edx + edx*2]
shl esi, 5
add esi, 0x645540
mov dword [ebp - 0x2c], esi
cmp dword [esi], 3
jne 0x4e1e00
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4e1808
mov eax, dword [esi + 0x3c]
test eax, eax
jle 0x4e17e6
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 0x4e17e6
dec eax
mov dword [esi + 0x3c], eax
jmp 0x4e17c6
mov eax, dword [esi + 0x3c]
test eax, eax
jge 0x4e1808
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 0x4e1808
inc eax
mov dword [esi + 0x3c], eax
jmp 0x4e17e6
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4e1852
nop
mov eax, dword [esi + 0x40]
test eax, eax
jle 0x4e1830
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 0x4e1830
dec eax
mov dword [esi + 0x40], eax
jmp 0x4e1810
mov eax, dword [esi + 0x40]
test eax, eax
jge 0x4e1852
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 0x4e1852
inc eax
mov dword [esi + 0x40], eax
jmp 0x4e1830
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x4e193b
mov edi, dword [esi + 0x40]
test edi, edi
jne 0x4e193b
cmp dword [esi + 0x44], ecx
jge 0x4e193b
cmp dword [esi], 0
jne 0x4e1926
push str.Effect.Status_0
lea ecx, [ebp - 0x354]
call fcn.00403d40
mov byte [ebp - 4], 1
push 0x5b45eb
lea ecx, [ebp - 0x2ac]
call fcn.00403d40
mov byte [ebp - 4], 2
push 0x5b45eb
lea ecx, [ebp - 0xb4]
call fcn.00403d40
mov byte [ebp - 4], 3
push str.assertion_failed
lea ecx, [ebp - 0x370]
call fcn.00403d40
mov byte [ebp - 4], 4
push str..Map.cpp
lea ecx, [ebp - 0xec]
call fcn.00403d40
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.0054a580
push 0x5d7834
lea edx, [ebp - 0x438]
push edx
call fcn.0055a7d2
push edx
call fcn.004e0f20
add esp, 4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
jmp 0x4e1798
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 0x4e1982
cmp ebx, dword [esi + 0x38]
je 0x4e1dfd
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, 0x64a040
call fcn.004d9e80
mov ecx, eax
call fcn.004d40a0
cmp eax, dword [ebp - 0x14]
jne 0x4e1a82
mov ebx, dword [esi + 0x5c]
push 0xc7
push 0xffffffffffffffff
push ebx
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4e1a69
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x2e4]
call fcn.00403d40
mov byte [ebp - 4], 6
push 0x5b45eb
lea ecx, [ebp - 0x124]
call fcn.00403d40
mov byte [ebp - 4], 7
push str.Effect.Next
lea ecx, [ebp - 0x38c]
call fcn.00403d40
mov byte [ebp - 4], 8
push str.assertion_failed
lea ecx, [ebp - 0x15c]
call fcn.00403d40
mov byte [ebp - 4], 9
push str..Map.cpp
lea ecx, [ebp - 0x31c]
call fcn.00403d40
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.0054a580
push 0x5d7834
lea edx, [ebp - 0x564]
push edx
call fcn.0055a7d2
push ebx
mov eax, dword [esi + 0x54]
push eax
mov ecx, 0x64a040
call fcn.004d9e80
mov ecx, eax
call fcn.004d3f40
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x4e1b63
mov eax, dword [esi + 0x5c]
push 0xc7
push 0xffffffffffffffff
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4e1b51
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x194]
call fcn.00403d40
mov byte [ebp - 4], 0xb
push 0x5b45eb
lea ecx, [ebp - 0x3c4]
call fcn.00403d40
mov byte [ebp - 4], 0xc
push str.Effect.Next
lea ecx, [ebp - 0x1cc]
call fcn.00403d40
mov byte [ebp - 4], 0xd
push str.assertion_failed
lea ecx, [ebp - 0x60]
call fcn.00403d40
mov byte [ebp - 4], 0xe
push str..Map.cpp
lea ecx, [ebp - 0x204]
call fcn.00403d40
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.0054a580
push 0x5d7834
lea ecx, [ebp - 0x4ec]
push ecx
call fcn.0055a7d2
mov eax, dword [esi + 0x58]
lea edx, [eax + eax*2]
shl edx, 5
mov eax, dword [esi + 0x5c]
mov dword [edx + 0x64559c], eax
cmp dword [esi + 0x5c], 0xffffffff
je 0x4e1c48
mov eax, dword [esi + 0x58]
push 0xc7
push 0xffffffffffffffff
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4e1c36
push str.In_Effect.Previous__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x3fc]
call fcn.00403d40
mov byte [ebp - 4], 0x10
push 0x5b45eb
lea ecx, [ebp - 0x23c]
call fcn.00403d40
mov byte [ebp - 4], 0x11
push str.Effect.Previous
lea ecx, [ebp - 0x3e0]
call fcn.00403d40
mov byte [ebp - 4], 0x12
push str.assertion_failed
lea ecx, [ebp - 0x274]
call fcn.00403d40
mov byte [ebp - 4], 0x13
push str..Map.cpp
lea ecx, [ebp - 0x3a8]
call fcn.00403d40
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.0054a580
push 0x5d7834
lea eax, [ebp - 0x474]
push eax
call fcn.0055a7d2
mov eax, dword [esi + 0x5c]
lea ecx, [eax + eax*2]
shl ecx, 5
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x645598], 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.004d27e0
push 0x11
push 0
mov ebx, dword [ebp - 0x20]
push ebx
call fcn.00401000
add esp, 0x18
test al, al
je 0x4e1c9b
push 0xd
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401000
add esp, 0xc
test al, al
je 0x4e1c9b
push 7
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4e1ca6
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.004da5b0
add esp, 0x10
mov ecx, eax
call fcn.004d48e0
push eax
mov ecx, 0x64a040
call fcn.004d9e80
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.004da5b0
add esp, 0x10
mov ecx, eax
call fcn.004d48e0
mov dword [esi + 0x54], eax
push 0xc7
push 0xffffffffffffffff
mov ecx, edi
call fcn.004d40a0
push eax
call fcn.00401000
add esp, 0xc
test al, al
jne 0x4e1dbc
push str.In_Point.getEffectNumber____1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x7c]
call fcn.00403d40
mov byte [ebp - 4], 0x15
push 0x5b45eb
lea ecx, [ebp - 0x98]
call fcn.00403d40
mov byte [ebp - 4], 0x16
push str.Point.getEffectNumber__
lea ecx, [ebp - 0xd0]
call fcn.00403d40
mov byte [ebp - 4], 0x17
push str.assertion_failed
lea ecx, [ebp - 0x108]
call fcn.00403d40
mov byte [ebp - 4], 0x18
push str..Map.cpp
lea ecx, [ebp - 0x140]
call fcn.00403d40
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x7c]
push ecx
push 0
lea edx, [ebp - 0x98]
push edx
mov ecx, edi
call fcn.004d40a0
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.0054a580
push 0x5d7834
lea eax, [ebp - 0x4b0]
push eax
call fcn.0055a7d2
mov ecx, edi
call fcn.004d40a0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], 0xffffffff
mov ecx, edi
call fcn.004d40a0
cmp eax, 0xffffffff
je 0x4e1def
mov ecx, edi
call fcn.004d40a0
lea ecx, [eax + eax*2]
shl ecx, 5
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x645598], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004d3f40
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
jmp 0x4e1798
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