Function at 0x45fb40
Capabilities:
Check http status code

Disassembly:
sub esp, 0x52c
mov eax, dword [0x4c0980]
push ebx
xor ebx, ebx
push ebp
mov edx, ecx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x48], edx
je 0x4603a1
mov ax, word [esp + 0x558]
mov cl, byte [edx + 0x524f]
mov word [esp + 0xcd], ax
mov ax, word [esp + 0x54e]
mov byte [esp + 0xcf], ah
mov byte [esp + 0xd0], al
mov eax, dword [esp + 0x54c]
mov byte [esp + 0xd7], cl
mov byte [esp + 0xd1], ah
mov byte [esp + 0xd2], al
mov ax, word [esp + 0x556]
mov cl, byte [edx + 0x524d]
mov byte [esp + 0xd3], ah
mov byte [esp + 0xd4], al
mov eax, dword [esp + 0x554]
mov esi, dword [esp + 0x540]
mov byte [esp + 0xd6], al
mov al, byte [edx + 0x524e]
mov byte [esp + 0xd8], al
mov al, byte [edx + 0x524c]
mov byte [esp + 0xd9], cl
mov cl, byte [edx + 0x5253]
mov byte [esp + 0xda], al
mov al, byte [edx + 0x5252]
mov byte [esp + 0xdb], cl
mov cl, byte [edx + 0x5251]
mov byte [esp + 0xdc], al
mov al, byte [edx + 0x5250]
mov byte [esp + 0xd5], ah
mov byte [esp + 0xdd], cl
mov byte [esp + 0xde], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xdf]
mov ebp, ecx
mov eax, ecx
shr ecx, 2
mov byte [esp + 0xcc], 6
mov dword [esp + 0x3c], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add ebp, 0x13
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov byte [esp + ebp + 0xcb], 0x3a
mov edi, dword [esp + 0x548]
mov byte [esp + ebp + 0xcc], 3
mov esi, dword [esp + 0x544]
inc ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + ebp + 0xcc], 5
inc ebp
and edi, 0xffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], edi
jle 0x45fd43
mov al, byte [esi]
mov dword [esp + 0x34], 0
cmp al, 0x5b
jne 0x45fd2d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x544]
cmp ecx, edi
mov dword [esp + 0x2c], 0
lea ebx, [ecx + eax]
mov dword [esp + 0x40], ebx
jge 0x45fd2d
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov al, byte [ebx]
cmp al, 0x5d
jne 0x45fd0d
cmp dword [esp + 0x2c], 0x1d
je 0x45fd21
cmp al, 0x2c
jne 0x45fd15
inc dword [esp + 0x2c]
inc ebx
inc ecx
cmp ecx, edi
jl 0x45fcf7
mov dword [esp + 0x40], ebx
jmp 0x45fd2d
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x38]
inc esi
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x45fd7b
inc eax
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x45fcc7
mov esi, dword [esp + 0x544]
mov ecx, edi
lea eax, [esp + ebp + 0xcc]
mov ebx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54c]
push ecx
mov ecx, dword [esp + 0x54c]
push ecx
push eax
mov ecx, edx
jmp 0x4602e3
cmp eax, 0xc8
ja 0x4603a1
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x44]
mov al, byte [esi]
cmp al, 0x2c
je 0x45fdaf
cmp ecx, 5
jge 0x45fdab
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fd9c
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea edx, [esp + 0x10]
push edx
call edi
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x14], eax
add esp, 4
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x18], eax
inc esi
mov dword [esp + 0x1c], eax
mov al, byte [esi]
cmp al, 0x2c
je 0x45fdeb
cmp ecx, 5
jge 0x45fde7
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fdd8
lea ecx, [esp + 0x10]
push ecx
call edi
xor edx, edx
add esp, 4
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], edx
inc esi
mov dword [esp + 0x1c], edx
mov al, byte [esi]
cmp al, 0x2c
je 0x45fe21
cmp ecx, 5
jge 0x45fe1d
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fe0e
lea eax, [esp + 0x10]
push eax
call edi
xor ecx, ecx
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ecx
inc esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov al, byte [esi]
cmp al, 0x2c
je 0x45fe55
cmp ecx, 5
jge 0x45fe51
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fe42
lea edx, [esp + 0x10]
push edx
call edi
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x14], eax
add esp, 4
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x18], eax
inc esi
mov dword [esp + 0x1c], eax
mov al, byte [esi]
cmp al, 0x2c
je 0x45fe8b
cmp ecx, 5
jge 0x45fe87
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fe78
lea ecx, [esp + 0x10]
push ecx
call edi
xor edx, edx
add esp, 4
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], edx
inc esi
mov dword [esp + 0x1c], edx
mov al, byte [esi]
cmp al, 0x2c
je 0x45fec1
cmp ecx, 5
jge 0x45febd
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45feae
lea eax, [esp + 0x10]
push eax
call edi
xor ecx, ecx
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], ecx
inc esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov al, byte [esi]
cmp al, 0x2c
je 0x45fef5
cmp ecx, 5
jge 0x45fef1
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fee2
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x68], eax
lea edi, [esp + 0x74]
mov ebx, 5
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x10], eax
inc esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov al, byte [esi]
cmp al, 0x2c
je 0x45ff38
cmp ecx, 5
jge 0x45ff34
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45ff25
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [edi], eax
add esp, 4
add edi, 4
dec ebx
jne 0x45ff10
lea edi, [esp + 0x88]
mov ebx, 0xc
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x10], edx
inc esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov al, byte [esi]
cmp al, 0x2c
je 0x45ff82
cmp ecx, 0xa
jge 0x45ff7e
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45ff6f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [edi], eax
add esp, 4
add edi, 4
dec ebx
jne 0x45ff5a
lea edi, [esp + 0xb8]
mov ebx, 2
xor ecx, ecx
inc esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov al, byte [esi]
cmp al, 0x2c
je 0x45ffca
cmp ecx, 0xa
jge 0x45ffc6
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45ffb7
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [edi], eax
add esp, 4
add edi, 4
dec ebx
jne 0x45ffa4
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x10], eax
inc esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov al, byte [esi]
cmp al, 0x2c
je 0x460008
cmp ecx, 0xa
jge 0x460004
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x45fff5
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x10]
push ecx
call edi
xor edx, edx
add esp, 4
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x18], edx
inc esi
mov dword [esp + 0x1c], edx
mov al, byte [esi]
cmp al, 0x2c
je 0x460044
cmp ecx, 5
jge 0x460040
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x460031
lea eax, [esp + 0x10]
push eax
call edi
xor ecx, ecx
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0x14], ecx
inc esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov al, byte [esi]
cmp al, 0x2c
je 0x46007f
cmp al, 0x5d
je 0x46007f
cmp ecx, 5
jge 0x46007b
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x460068
lea edx, [esp + 0x10]
push edx
call edi
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0x14], eax
add esp, 4
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x18], eax
inc esi
mov dword [esp + 0x1c], eax
mov al, byte [esi]
cmp al, 0x2c
je 0x4600bc
cmp al, 0x5d
je 0x4600bc
cmp ecx, 5
jge 0x4600b8
mov byte [esp + ecx + 0x10], al
inc esi
inc ecx
jmp 0x4600a5
lea ecx, [esp + 0x10]
push ecx
call edi
mov ecx, dword [0x4c0980]
add esp, 4
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x54]
mov edx, dword [ecx]
push eax
push 1
push 0x36
call dword [edx + 0x70]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x4603a1
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x38], 1
mov ebx, dword [edx + 0x16f4]
cmp eax, esi
mov dword [esp + 0x44], esi
je 0x4601f0
mov ecx, ebp
lea esi, [esp + 0xcc]
mov eax, ecx
lea edi, [esp + 0x33c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x548]
mov ecx, eax
mov edx, ecx
lea edi, [esp + ebp + 0x340]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x40]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + eax + 0x340]
mov byte [ecx + ebp], 0
xor ecx, ecx
push ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], ecx
push ecx
push edx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x5c]
push 0xc
push ecx
lea edx, [eax + ebp + 1]
push ebx
lea eax, [esp + 0x360]
push edx
push eax
call sub.Engine.dll_TGetItemChatLineCount
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
add esp, 0x2c
lea edx, [ecx + eax*2]
add eax, edx
mov dword [esp + 0x28], eax
jne 0x4601c8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
cdq
idiv ecx
add ecx, 0xfffffffb
cmp edx, ecx
jg 0x4601c4
cmp edx, 5
jge 0x4601c8
inc dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x544]
mov ecx, eax
lea edi, [esp + ebp + 0xcc]
mov edx, ecx
add ebp, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
jmp 0x4601fb
mov eax, dword [esp + 0x3c]
add eax, 5
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x4c0980]
push eax
lea eax, [esp + 0x300]
mov edx, dword [ecx]
push eax
push 0x37
call dword [edx + 0x70]
lea edi, [esp + 0x2fc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
inc ecx
add ebx, 0xfffffffd
lea eax, [ecx + edx]
cmp eax, ebx
jg 0x46025b
lea edx, [ecx + 1]
cmp edx, esi
jle 0x46029a
mov ecx, edx
lea edi, [esp + ebp + 0xcc]
mov esi, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
add ebp, edx
rep stosb byte es:[edi], al
jmp 0x46029a
mov byte [esp + ebp + 0xcc], 0xa
lea edx, [ecx + 1]
inc ebp
cmp edx, esi
jle 0x460289
mov ecx, edx
lea edi, [esp + ebp + 0xcc]
mov ebx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
add ebp, edx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], esi
inc eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
sub ecx, edi
lea eax, [esp + ebp + 0xcc]
sub ecx, edx
inc esi
mov ebx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54c]
push ecx
mov ecx, dword [esp + 0x54c]
sub ecx, ebx
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x50]
push eax
call fcn.00464c20
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x550]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
add ebp, eax
mov eax, dword [esp + 0x24]
test ecx, ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
push eax
setne bl
push ecx
lea edx, [esp + 0x64]
push ebx
push edx
lea eax, [esp + 0xe4]
push ebp
push eax
lea ecx, [esi + 0x1698]
mov byte [esp + ebp + 0xec], 0
call fcn.004099b0
mov ecx, dword [esi + 0x183c]
push ecx
lea ecx, [esi + 0x173c]
call fcn.0040f710
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push edi
push edx
push eax
push ecx
lea edx, [esp + 0x64]
push ebx
push edx
lea eax, [esp + 0xe4]
push ebp
push eax
lea ecx, [esi + 0x1a44]
call fcn.004099b0
mov ecx, dword [esi + 0x1be8]
push ecx
lea ecx, [esi + 0x1ae8]
call fcn.0040f710
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x460396
mov ecx, dword [0x4c0980]
push eax
push 0
push 0x36
mov edx, dword [ecx]
call dword [edx + 0x70]
call fcn.004045e0
mov dword [esi + 0x1654], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x52c
ret 0x1c