Function at 0x490c40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50df70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.004ca370
mov ebx, eax
mov dword [ebp - 0xa8], ebx
xor esi, esi
cmp esi, 0xc8
mov dword [ebp - 0x14], esi
jge 0x491552
imul esi, esi, 0x44
add esi, 0x5776f0
cmp dword [esi], 3
jne 0x4914af
cmp dword [esi + 0x20], edi
je 0x490ce3
mov eax, dword [esi + 0x20]
cmp eax, edi
jle 0x490cc1
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x34]
sub ecx, ebx
imul edx, eax
imul ecx, dword [esi + 0x2c]
cmp edx, ecx
jle 0x490cc1
dec eax
mov dword [esi + 0x20], eax
jmp 0x490ca1
mov eax, dword [esi + 0x20]
cmp eax, edi
jge 0x490ce3
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x34]
sub ecx, ebx
imul edx, eax
imul ecx, dword [esi + 0x2c]
neg edx
cmp edx, ecx
jle 0x490ce3
inc eax
mov dword [esi + 0x20], eax
jmp 0x490cc1
cmp dword [esi + 0x24], edi
je 0x490d2a
mov eax, dword [esi + 0x24]
cmp eax, edi
jle 0x490d08
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x34]
sub ecx, ebx
imul edx, eax
imul ecx, dword [esi + 0x30]
cmp edx, ecx
jle 0x490d08
dec eax
mov dword [esi + 0x24], eax
jmp 0x490ce8
mov eax, dword [esi + 0x24]
cmp eax, edi
jge 0x490d2a
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x34]
sub ecx, ebx
imul edx, eax
imul ecx, dword [esi + 0x30]
neg edx
cmp edx, ecx
jle 0x490d2a
inc eax
mov dword [esi + 0x24], eax
jmp 0x490d08
mov eax, dword [esi + 0x20]
cmp eax, edi
jne 0x490e47
cmp dword [esi + 0x24], edi
jne 0x490e47
cmp dword [esi + 0x28], ebx
jge 0x490e47
cmp dword [esi], edi
jne 0x490e32
push 0x10
mov ebx, 0xf
push str.Effect.Status_0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
call fcn.00402e30
push edi
push 0x5183ad
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
call fcn.00402e30
push edi
push 0x5183ad
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov byte [ebp - 0xa0], 0
call fcn.00402e30
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x84], 0
call fcn.00402e30
push 9
push str..Map.cpp
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00402e30
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x6c]
push ecx
push edi
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x88]
push eax
push 0x34a
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 5
call fcn.004d2ca0
push 0x5360d8
lea edx, [ebp - 0x288]
push edx
call fcn.004dc59b
mov eax, dword [ebp - 0x14]
push eax
call fcn.004904d0
mov esi, dword [ebp - 0x14]
add esp, 4
inc esi
jmp 0x490c7b
mov ecx, dword [esi + 0xc]
shl ecx, 5
lea eax, [ecx + eax + 0x1f]
mov ecx, dword [esi + 0x14]
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esi + 0x10]
mov edi, eax
mov eax, dword [esi + 0x24]
shl edx, 5
lea eax, [edx + eax + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [esi + 0x18]
sar edi, 5
sar ebx, 5
cmp edi, eax
mov dword [ebp - 0x18], ecx
jne 0x490e8a
cmp ebx, dword [esi + 0x1c]
je 0x4914a7
mov edx, dword [esi + 0x38]
push edx
mov ecx, 0x57ac10
call fcn.00489980
mov ecx, dword [ebp - 0x14]
cmp dword [eax + 0xa4], ecx
jne 0x490fba
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
jl 0x490eba
cmp eax, 0xc7
jle 0x490fa3
push 0x29
mov ebx, 0xf
xor edi, edi
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00402e30
push edi
push 0x5183ad
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x84], 0
call fcn.00402e30
push 0xb
push str.Effect.Next
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov byte [ebp - 0xa0], 0
call fcn.00402e30
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
call fcn.00402e30
push 9
push str..Map.cpp
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
call fcn.00402e30
mov ecx, dword [esi + 0x40]
lea edx, [ebp - 0x34]
push edx
push edi
lea eax, [ebp - 0x88]
push eax
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0x353
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xa
call fcn.004d2ca0
push 0x5360d8
lea edx, [ebp - 0x15c]
push edx
call fcn.004dc59b
mov eax, dword [esi + 0x38]
push eax
mov ecx, 0x57ac10
call fcn.00489980
mov ecx, dword [esi + 0x40]
mov dword [eax + 0xa4], ecx
mov ecx, dword [esi + 0x3c]
cmp ecx, 0xffffffff
je 0x4910ca
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
jl 0x490fd9
cmp eax, 0xc7
jle 0x4910c1
push 0x29
mov ebx, 0xf
xor edi, edi
push str.In_Effect.Next__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00402e30
push edi
push 0x5183ad
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x84], 0
call fcn.00402e30
push 0xb
push str.Effect.Next
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov byte [ebp - 0xa0], 0
call fcn.00402e30
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
call fcn.00402e30
push 9
push str..Map.cpp
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
call fcn.00402e30
mov ecx, dword [esi + 0x40]
lea edx, [ebp - 0x34]
push edx
push edi
lea eax, [ebp - 0x88]
push eax
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0x357
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], bl
call fcn.004d2ca0
push 0x5360d8
lea edx, [ebp - 0x210]
push edx
call fcn.004dc59b
imul ecx, ecx, 0x44
mov dword [ecx + 0x577730], eax
mov ecx, dword [esi + 0x40]
cmp ecx, 0xffffffff
je 0x4911da
mov eax, dword [esi + 0x3c]
cmp eax, 0xffffffff
jl 0x4910e9
cmp eax, 0xc7
jle 0x4911d1
push 0x2d
mov ebx, 0xf
xor edi, edi
push str.In_Effect.Previous__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00402e30
push edi
push 0x5183ad
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x84], 0
call fcn.00402e30
push ebx
push str.Effect.Previous
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov byte [ebp - 0xa0], 0
call fcn.00402e30
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
call fcn.00402e30
push 9
push str..Map.cpp
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
call fcn.00402e30
mov edx, dword [esi + 0x3c]
lea eax, [ebp - 0x34]
push eax
push edi
lea ecx, [ebp - 0x88]
push ecx
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0x35b
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x14
call fcn.004d2ca0
push 0x5360d8
lea eax, [ebp - 0x198]
push eax
call fcn.004dc59b
imul ecx, ecx, 0x44
mov dword [ecx + 0x57772c], eax
mov ecx, dword [0x5776e0]
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov edx, 8
sub edx, eax
sub edx, dword [0x5776e8]
mov dword [esi + 0x18], edi
add edi, edx
mov edx, 6
sub edx, eax
sub edx, dword [0x5776e4]
mov dword [esi + 0x1c], ebx
add ebx, edx
cmp ecx, 7
jg 0x491219
mov edx, 7
sub edx, ecx
jmp 0x49121e
mov edx, 2
add eax, edx
test edi, edi
mov dword [ebp - 0x18], eax
jl 0x49123e
cmp edi, 0x11
jg 0x49123e
test ebx, ebx
jl 0x49123e
cmp ebx, 0xd
jg 0x49123e
test eax, eax
jl 0x49123e
cmp eax, 7
jle 0x491245
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
push eax
push ebx
push edi
mov ecx, 0x57ac1c
call fcn.00489e80
mov ecx, dword [eax]
push ecx
mov ecx, 0x57ac10
call fcn.00489980
mov edx, dword [ebp - 0x18]
push edx
push ebx
push edi
mov ecx, 0x57ac1c
mov dword [ebp - 0xac], eax
call fcn.00489e80
mov eax, dword [eax]
mov edi, dword [ebp - 0xac]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0xa4]
cmp eax, 0xffffffff
jl 0x491299
cmp eax, 0xc7
jle 0x491385
push 0x30
mov ebx, 0xf
xor esi, esi
push str.In_Point.EffectNumber__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
call fcn.00402e30
push esi
push 0x5183ad
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], esi
mov byte [ebp - 0x84], 0
call fcn.00402e30
push 0x12
push str.Point.EffectNumber
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], esi
mov byte [ebp - 0xa0], 0
call fcn.00402e30
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x68], 0
call fcn.00402e30
push 9
push str..Map.cpp
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x4c], 0
call fcn.00402e30
mov eax, dword [edi + 0xa4]
lea ecx, [ebp - 0x34]
push ecx
push esi
lea edx, [ebp - 0x88]
push edx
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0x364
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.004d2ca0
push 0x5360d8
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.004dc59b
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 0xffffffff
mov eax, dword [edi + 0xa4]
cmp eax, 0xffffffff
mov esi, dword [ebp - 0x14]
je 0x4914a1
cmp esi, 0xffffffff
jl 0x4913b2
cmp esi, 0xc7
jle 0x491498
push 0x1f
mov ebx, 0xf
xor edi, edi
push str.In_i__1_EFFECTS_1___bug0000913_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00402e30
push edi
push 0x5183ad
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x84], 0
call fcn.00402e30
push 1
push 0x5188d8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov byte [ebp - 0xa0], 0
call fcn.00402e30
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
call fcn.00402e30
push 9
push str..Map.cpp
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
call fcn.00402e30
lea edx, [ebp - 0x34]
push edx
push edi
lea eax, [ebp - 0x88]
push eax
push esi
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 0x368
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x1e
call fcn.004d2ca0
push 0x5360d8
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004dc59b
imul eax, eax, 0x44
mov dword [eax + 0x57772c], esi
mov dword [edi + 0xa4], esi
mov ebx, dword [ebp - 0xa8]
xor edi, edi
mov esi, dword [ebp - 0x14]
inc esi
jmp 0x490c7b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret