Function at 0x41254d
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov esi, ecx
call dword [0x490644]
mov cx, word [esi + 0x1551a]
mov ebx, eax
mov ax, word [0x46d40c]
cmp ax, cx
jle 0x4125c5
movsx ecx, word [esi + 0x1551c]
mov edi, dword [ebp + 8]
push 0
movsx eax, ax
push 0
push ecx
mov ecx, dword [edi + 0xa0c]
neg eax
push eax
call fcn.0041dbee
cmp ebx, dword [0x46d410]
jbe 0x4125d5
lea eax, [ebx + 0x1e]
mov dword [0x46d410], eax
movsx eax, word [esi + 0x1551c]
push 0x64
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4125bc
sub word [0x46d40c], ax
jmp 0x4125d5
dec word [0x46d40c]
jmp 0x4125d5
mov edi, dword [ebp + 8]
mov word [0x46d40c], cx
mov dword [0x46d410], ebx
movsx eax, word [esi + 0x1551c]
mov ecx, dword [edi + 0xa10]
push 0
push 0
push eax
movsx eax, word [esi + 0x1551a]
neg eax
push eax
call fcn.0041dbee
mov cx, word [esi + 0x15516]
mov ax, word [0x46d414]
cmp ax, cx
jle 0x412657
movsx ecx, word [esi + 0x15518]
push 0
push 0
movsx eax, ax
push ecx
mov ecx, dword [edi + 0xa14]
push eax
call fcn.0041dbee
cmp ebx, dword [0x46d418]
jbe 0x412664
add ebx, 0x1e
mov dword [0x46d418], ebx
movsx eax, word [esi + 0x15518]
push 0x64
cdq
pop ecx
idiv ecx
test eax, eax
je 0x41264e
sub word [0x46d414], ax
jmp 0x412664
dec word [0x46d414]
jmp 0x412664
mov word [0x46d414], cx
mov dword [0x46d418], ebx
movsx eax, word [esi + 0x15518]
mov ecx, dword [edi + 0xa18]
push 0
push 0
push eax
movsx eax, word [esi + 0x15516]
push eax
call fcn.0041dbee
movsx ebx, word [edi + 0x976]
movsx edi, word [edi + 0x978]
movsx edx, word [esi + 0x15516]
push 0
push 4
add edi, 0x190
lea eax, [edi + 8]
push edx
add ebx, 5
lea ecx, [ebx + 0x5a]
push eax
push ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], ecx
call fcn.0042f1c4
movsx ecx, word [esi + 0x15518]
push 0
push 4
push ecx
push dword [ebp - 0x20]
lea eax, [ebx + 0x8c]
push eax
mov dword [ebp - 0x14], eax
call fcn.0042f1c4
movsx ecx, word [esi + 0x1551a]
push 0
push 4
lea eax, [edi + 0x17]
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.0042f1c4
movsx eax, word [esi + 0x1551c]
push 0
push 4
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.0042f1c4
mov ecx, dword [0x5493d8]
add esp, 0x50
push 0
lea eax, [edi + 0x26]
push 3
mov dword [ebp - 0x10], eax
call fcn.0043a408
push 0xa
pop ecx
cdq
idiv ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.0042f1c4
mov ecx, dword [0x5493d8]
add esp, 0x14
push 0
push 3
call fcn.0043a410
push 0xa
pop ecx
cdq
idiv ecx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0042f1c4
movsx ecx, word [esi + 0x15514]
lea eax, [edi + 0x35]
push 0
mov dword [ebp - 0x20], eax
push 4
push ecx
push eax
push dword [ebp - 0xc]
call fcn.0042f1c4
fld dword [esi + 0x1556c]
add esp, 0x28
push dword [ebp - 8]
lea eax, [ebx + 0xbd]
push eax
mov dword [ebp - 0x14], eax
push 0x64
call fcn.00442af0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa1c]
call fcn.0041dbee
fld dword [esi + 0x15570]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x64
call fcn.00442af0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa1c]
call fcn.0041dbee
fld dword [esi + 0x15574]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x64
call fcn.00442af0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa1c]
call fcn.0041dbee
movsx eax, word [esi + 0x1552a]
push 0
push 4
push eax
lea eax, [edi + 0xa]
push eax
add ebx, 0xeb
push ebx
call fcn.0042f1c4
movsx eax, word [esi + 0x15534]
push 0
push 4
push eax
push dword [ebp - 8]
push ebx
call fcn.0042f1c4
movsx eax, word [esi + 0x15536]
push 0
push 4
push eax
push dword [ebp - 0x10]
push ebx
call fcn.0042f1c4
movsx eax, word [esi + 0x15538]
push 0
push 4
push eax
add edi, 0x36
push edi
push ebx
call fcn.0042f1c4
xor eax, eax
add esp, 0x50
xor edi, edi
cmp byte [esi + 0xadc], al
je case.default.0x4128c7
cmp byte [esi + 0xacc], al
je 0x41286c
mov ebx, dword [ebp + 8]
push edi
push edi
push 6
mov ecx, ebx
call fcn.0041e25a
push 1
pop eax
jmp 0x41286f
mov ebx, dword [ebp + 8]
cmp byte [esi + 0xacd], 0
je 0x412886
push edi
push edi
push 7
mov ecx, ebx
call fcn.0041e25a
push 1
pop eax
cmp byte [esi + 0xace], 0
je 0x41289d
push edi
push edi
push 8
mov ecx, ebx
call fcn.0041e25a
push 1
pop eax
cmp byte [esi + 0xacf], 0
je 0x4128b4
push edi
push edi
push 9
mov ecx, ebx
call fcn.0041e25a
push 1
pop eax
cmp eax, edi
je case.default.0x4128c7
mov ecx, ebx
call fcn.0041e6ed
add eax, 0xfffffffa
cmp eax, 7
ja case.default.0x4128c7
jmp dword [eax*4 + 0x412d70]
push edi
push edi
push 0xa
mov ecx, ebx
call fcn.0041e25a
push 0x4652b4
jmp 0x412914
push edi
push edi
push 0xb
mov ecx, ebx
call fcn.0041e25a
push 0x4652a0
jmp 0x412914
push edi
push edi
push 0xc
mov ecx, ebx
call fcn.0041e25a
push 0x46528c
jmp 0x412914
push edi
push edi
push 0xd
mov ecx, ebx
call fcn.0041e25a
push 0x465278
call fcn.00401ab9
pop ecx
push eax
push esi
call fcn.0042591c
pop ecx
pop ecx
cmp dword [esi + 0x1f14], edi
je 0x412a60
mov ecx, dword [0x54c740]
push 0x14
push edi
push 0x4b
mov ebx, 0xfa
push ebx
push 0x18e
push 5
call fcn.004537ac
push dword [0x4905e8]
push dword [0x54c740]
call fcn.0044eec1
push edi
push 0xfa9696
mov dword [ebp - 8], eax
call fcn.0044ef02
mov eax, dword [esi + 0x1f14]
mov cl, byte [eax + 0x175]
add esp, 0x10
cmp cl, bl
je 0x4129ba
cmp cl, 0xfb
je 0x4129ba
cmp cl, 0xfc
jne 0x412995
push 0xfc
push eax
push str._s__Perfect_Master_
jmp 0x41299f
movzx ecx, cl
push ecx
push eax
push str._s__
call fcn.00401ab9
pop ecx
push eax
push 0x19a
push 0xa
push dword [ebp - 8]
call fcn.0044effb
add esp, 0x18
jmp 0x412a27
mov cl, byte [eax + 0x175]
cmp cl, bl
jne 0x4129cd
push ebx
push eax
push str._s__Master_
jmp 0x4129d7
movzx ecx, cl
push ecx
push eax
push str._s__Grand_Master_
call fcn.00401ab9
pop ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00442a3e
mov eax, dword [esi + 0x1f14]
movzx eax, byte [eax + 0x17a]
add esp, 0x10
push eax
lea eax, [ebp - 0x60]
push str.___d__
push eax
call fcn.00441f60
pop ecx
lea eax, [ebp + eax - 0x60]
push eax
call fcn.00442a3e
lea eax, [ebp - 0x60]
push eax
push 0x19a
push 0xa
push dword [ebp - 8]
call fcn.0044efd9
add esp, 0x1c
push edi
push 0xc8c8c8
call fcn.0044ef02
mov eax, dword [esi + 0x1f14]
pop ecx
pop ecx
add eax, 0x41
push eax
push 0xf
push 0x1a9
push 0xa
push dword [ebp - 8]
call fcn.0042b078
push dword [ebp - 8]
push dword [0x54c740]
call fcn.0044eef0
add esp, 0x1c
push 0x1e
pop ebx
mov dword [ebp - 8], 0x28
call dword [0x490644]
xor edx, edx
mov ecx, 0x3e8
div ecx
lea eax, [esi + 0x15648]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], eax
cmp edx, 0x1f4
setb byte [ebp - 1]
mov eax, dword [ebp - 0xc]
mov cl, byte [esi + eax + 0x1557e]
test cl, cl
je 0x412b62
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, edi
je 0x412b62
cmp cl, 2
jne 0x412afe
cmp byte [ebp - 1], 0
je 0x412afe
mov ecx, dword [0x54c740]
push eax
push dword [ebp - 8]
push ebx
call fcn.004543f3
mov al, byte [0x54c734]
mov ecx, dword [0x54c740]
neg al
sbb eax, eax
and eax, 0x6f20
add eax, 0x6f39
movzx eax, ax
push eax
push 0xc
push 0xc
push dword [ebp - 8]
push ebx
call fcn.0045414b
jmp 0x412b0e
mov ecx, dword [0x54c740]
push eax
push dword [ebp - 8]
push ebx
call fcn.004543f3
mov edx, dword [0x54a454]
lea ecx, [ebx + 0x11]
lea eax, [ecx - 0x16]
cmp edx, eax
jle 0x412b46
mov eax, dword [0x54a458]
cmp eax, dword [ebp - 8]
jle 0x412b46
cmp edx, ecx
jge 0x412b46
mov edx, dword [ebp - 8]
add edx, 0xc
cmp eax, edx
jge 0x412b46
mov edx, dword [ebp - 0xc]
dec ecx
add eax, 0xfffffff4
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
add dword [ebp - 8], 0xe
cmp dword [ebp - 8], 0x15e
jl 0x412b62
add ebx, 0xe
cmp ebx, 0x2c
mov dword [ebp - 8], 0x28
jg 0x412b76
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 4
cmp dword [ebp - 0xc], 0xc8
jl 0x412a98
mov ecx, dword [esi + 0x1988c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 8], 0x28
mov dword [ebp - 0x18], eax
je 0x412bf2
mov ebx, 0x262
mov eax, dword [eax + 0xc]
mov eax, dword [eax*4 + 0x4930a4]
cmp eax, edi
je 0x412bb1
mov ecx, dword [0x54c740]
push eax
push dword [ebp - 8]
push ebx
call fcn.004543f3
jmp 0x412bdb
mov al, byte [0x54c734]
mov ecx, dword [0x54c740]
neg al
sbb eax, eax
and eax, 0x8000
add eax, 0x7fff
movzx eax, ax
push eax
push 0xc
push 0x10
push dword [ebp - 8]
push ebx
call fcn.004541a8
add dword [ebp - 8], 0x14
lea ecx, [ebp - 0x18]
call fcn.0040c00b
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x1988c]
jne 0x412b91
call fcn.004412ea
test al, al
jne 0x412c08
call fcn.004412dd
test al, al
je 0x412d66
mov esi, dword [ebp + 8]
push edi
push edi
push 0x16
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.0041e25a
push edi
push edi
push 0x10
mov ecx, esi
call fcn.0041e25a
push edi
push edi
push 0x13
mov ecx, esi
call fcn.0041e25a
mov ecx, esi
call fcn.0041e6ed
cmp eax, 0x10
jl 0x412c94
cmp eax, 0x12
jle 0x412c6a
cmp eax, 0x15
jg 0x412c94
cmp byte [0x54a450], 1
mov dword [ebp - 0x14], 2
jne 0x412c64
cmp byte [0x54a452], 0
jne 0x412c64
push edi
push edi
push 0x14
jmp 0x412c8d
push edi
push edi
push 0x15
jmp 0x412c8d
cmp byte [0x54a450], 1
mov dword [ebp - 0x14], 1
jne 0x412c89
cmp byte [0x54a452], 0
jne 0x412c89
push edi
push edi
push 0x11
jmp 0x412c8d
push edi
push edi
push 0x12
mov ecx, esi
call fcn.0041e25a
push dword [0x4905e8]
push dword [0x54c740]
call fcn.0044eec1
cmp dword [ebp - 0x10], edi
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov ebx, 0xa14
mov esi, 0xc1e7f2
je 0x412d04
cmp dword [ebp - 0x10], 0x64
jge 0x412cc7
push edi
push 0xc8c8c8
jmp 0x412cd7
je 0x412cd5
push 0x140a0a
push 0xe6b4b4
jmp 0x412cd7
push ebx
push esi
call fcn.0044ef02
pop ecx
pop ecx
push dword [ebp - 0x10]
call fcn.00424863
pop ecx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.0044effb
push edi
push 0xc8c8c8
call fcn.0044ef02
add esp, 0x18
mov eax, dword [ebp - 0x14]
dec eax
je 0x412d14
dec eax
jne 0x412d56
push 0x465218
jmp 0x412d19
push 0x465210
call fcn.00401ab9
push ebx
push esi
mov edi, eax
call fcn.0044ef02
mov eax, dword [0x54a458]
add esp, 0xc
push edi
add eax, 0xfffffff1
push eax
push edi
call fcn.00441f60
lea eax, [eax + eax*2]
pop ecx
mov ecx, dword [0x54a454]
shl eax, 1
shr eax, 1
sub ecx, eax
push ecx
push dword [ebp + 8]
call fcn.0044effb
add esp, 0x10
push dword [ebp + 8]
push dword [0x54c740]
call fcn.0044eef0
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4